Failed
tests / 05 testsuite-clang 2/3 / openmodelica_cppruntime_fmu_modelExchange_2.0.testModelDescription.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ testModelDescription ... equation mismatch [time: 0] ==== Log /tmp/omc-rtest-omtmpuser/openmodelica/cppruntime/fmu/modelExchange/2.0/testModelDescription.mos_temp3867/log-testModelDescription.mos true "" true "" true "" "" "[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value. Error: No system for the symbolic initialization was generated " unzip: cannot find or open SIDTest.fmu, SIDTest.fmu.zip or SIDTest.fmu.ZIP. 1 "" Equation mismatch: diff says: --- /tmp/omc-rtest-omtmpuser/openmodelica/cppruntime/fmu/modelExchange/2.0/testModelDescription.mos_temp3867/equations-expected2024-04-20 01:44:30.324561732 +0000 +++ /tmp/omc-rtest-omtmpuser/openmodelica/cppruntime/fmu/modelExchange/2.0/testModelDescription.mos_temp3867/equations-got2024-04-20 01:44:30.628560556 +0000 @@ -2,120 +2,12 @@ "" true "" true "" -"SIDTest.fmu" "" -0 -"<?xml version=\"1.0\" encoding=\"UTF-8\"?> -<fmiModelDescription -fmiVersion=\"2.0\" -modelName=\"SIDTest\" -description=\"\" -variableNamingConvention=\"structured\" -numberOfEventIndicators=\"0\"> -<ModelExchange -modelIdentifier=\"SIDTest\"> -</ModelExchange> -<TypeDefinitions> -<Clocks> -<Clock><Inferred -interval=\"0.2\" -shiftCounter=\"3\" -/></Clock> -</Clocks> -</TypeDefinitions> -<LogCategories> -<Category name=\"logEvents\" /> -<Category name=\"logSingularLinearSystems\" /> -<Category name=\"logNonlinearSystems\" /> -<Category name=\"logDynamicStateSelection\" /> -<Category name=\"logStatusWarning\" /> -<Category name=\"logStatusDiscard\" /> -<Category name=\"logStatusError\" /> -<Category name=\"logStatusFatal\" /> -<Category name=\"logStatusPending\" /> -<Category name=\"logAll\" /> -<Category name=\"logFmi2Call\" /> -</LogCategories> -<DefaultExperiment startTime=\"0.0\" stopTime=\"1.0\" tolerance=\"1e-06\" stepSize=\"0.002\"/> -<ModelVariables> -<!-- Index of variable = \"1\" --> -<ScalarVariable -name=\"previous(xd)\" -valueReference=\"0\" -variability=\"discrete\" -clockIndex=\"1\" -> -<Real/> -</ScalarVariable> -<!-- Index of variable = \"2\" --> -<ScalarVariable -name=\"u\" -valueReference=\"2\" -causality=\"input\" -> -<Real start=\"-2.0\"/> -</ScalarVariable> -<!-- Index of variable = \"3\" --> -<ScalarVariable -name=\"xd\" -valueReference=\"3\" -variability=\"discrete\" -clockIndex=\"1\" -previous=\"1\" -> -<Real/> -</ScalarVariable> -<!-- Index of variable = \"4\" --> -<ScalarVariable -name=\"y\" -valueReference=\"4\" -variability=\"discrete\" -causality=\"output\" -clockIndex=\"1\" -> -<Real/> -</ScalarVariable> -<!-- Index of variable = \"5\" --> -<ScalarVariable -name=\"dt\" -valueReference=\"5\" -variability=\"fixed\" -causality=\"calculatedParameter\" -> -<Real/> -</ScalarVariable> -<!-- Index of variable = \"6\" --> -<ScalarVariable -name=\"p\" -valueReference=\"6\" -variability=\"fixed\" -causality=\"parameter\" -> -<Real start=\"1.0\"/> -</ScalarVariable> -<!-- Index of variable = \"7\" --> -<ScalarVariable -name=\"y_start\" -valueReference=\"7\" -variability=\"fixed\" -causality=\"parameter\" -> -<Real start=\"0.0\"/> -</ScalarVariable> -</ModelVariables> -<ModelStructure> -<Outputs> -<Unknown index=\"4\" dependencies=\"1\" dependenciesKind=\"dependent\" /> -</Outputs> -<DiscreteStates> -<Unknown index=\"3\" dependencies=\"1 2\" dependenciesKind=\"dependent dependent\" /> -</DiscreteStates> -<InitialUnknowns> -<Unknown index=\"4\" dependencies=\"\" dependenciesKind=\"\" /> -<Unknown index=\"5\" dependencies=\"\" dependenciesKind=\"\" /> -</InitialUnknowns> -</ModelStructure> -</fmiModelDescription> +"[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value. +Error: No system for the symbolic initialization was generated " +unzip: cannot find or open SIDTest.fmu, SIDTest.fmu.zip or SIDTest.fmu.ZIP. +1 +"" Equation mismatch: omc-diff says: Failed 'S' '"' Line 7: Text differs: expected: "SIDTest.fmu" got: "" == 1 out of 1 tests failed [openmodelica/cppruntime/fmu/modelExchange/2.0/testModelDescription.mos_temp3867, time: 0]