Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.001549, allocations: 178.8 kB / 8.363 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 88.02 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3484/0.3484, allocations: 43.49 MB / 353.6 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.083e-05, allocations: 4.219 kB / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4104, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.232/1.642, allocations: 376.7 MB / 0.8339 GB, free: 145.6 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/1.643, allocations: 76.81 kB / 0.834 GB, free: 145.6 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.0783/1.721, allocations: 21.08 MB / 0.8546 GB, free: 143.9 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.693e-06/1.721, allocations: 0 / 0.8546 GB, free: 143.9 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.527e-05/1.721, allocations: 3.938 kB / 0.8546 GB, free: 143.9 MB / 0.4952 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001314/1.722, allocations: 0.5626 MB / 0.8551 GB, free: 143.4 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.723, allocations: 7.719 kB / 0.8551 GB, free: 143.4 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/1.723, allocations: 27.42 kB / 0.8552 GB, free: 143.4 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/1.723, allocations: 237.6 kB / 0.8554 GB, free: 143.2 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/1.723, allocations: 118.1 kB / 0.8555 GB, free: 143.1 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/1.723, allocations: 11.72 kB / 0.8555 GB, free: 143.1 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001021/1.724, allocations: 0.715 MB / 0.8562 GB, free: 143.1 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/1.725, allocations: 280.8 kB / 0.8565 GB, free: 143 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/1.725, allocations: 0 / 0.8565 GB, free: 143 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/1.725, allocations: 0 / 0.8565 GB, free: 143 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/1.725, allocations: 7.812 kB / 0.8565 GB, free: 143 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/1.728, allocations: 3.2 MB / 0.8596 GB, free: 139.9 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/1.728, allocations: 56.41 kB / 0.8597 GB, free: 139.8 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.155e-05/1.728, allocations: 20.36 kB / 0.8597 GB, free: 139.8 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007714/1.729, allocations: 0.5306 MB / 0.8602 GB, free: 139.3 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/1.729, allocations: 42.2 kB / 0.8602 GB, free: 139.3 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=8): time 3.106e-06/1.729, allocations: 0 / 0.8602 GB, free: 139.3 MB / 0.4952 GB Notification: Performance of matching and sorting (n=9): time 0.0006661/1.73, allocations: 149.5 kB / 0.8604 GB, free: 139.2 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/1.73, allocations: 51.41 kB / 0.8604 GB, free: 139.2 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/1.73, allocations: 198.6 kB / 0.8606 GB, free: 139 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/1.73, allocations: 29.61 kB / 0.8607 GB, free: 139 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/1.73, allocations: 293.5 kB / 0.8609 GB, free: 138.8 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/1.73, allocations: 42.39 kB / 0.861 GB, free: 138.7 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/1.73, allocations: 4.094 kB / 0.861 GB, free: 138.7 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.243e-05/1.731, allocations: 330 kB / 0.8613 GB, free: 138.4 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/1.731, allocations: 39.59 kB / 0.8613 GB, free: 138.4 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/1.731, allocations: 314.1 kB / 0.8616 GB, free: 138.1 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/1.731, allocations: 106.9 kB / 0.8617 GB, free: 138 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.731, allocations: 0 / 0.8617 GB, free: 138 MB / 0.4952 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008104/1.732, allocations: 327.8 kB / 0.862 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.732, allocations: 7.719 kB / 0.8621 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.732, allocations: 15.7 kB / 0.8621 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.59e-05/1.732, allocations: 19.53 kB / 0.8621 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/1.733, allocations: 107.7 kB / 0.8622 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/1.733, allocations: 19.45 kB / 0.8622 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/1.733, allocations: 11.72 kB / 0.8622 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/1.733, allocations: 27.06 kB / 0.8622 GB, free: 137.9 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/1.733, allocations: 124.1 kB / 0.8624 GB, free: 137.8 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000237/1.734, allocations: 82.88 kB / 0.8624 GB, free: 137.8 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/1.734, allocations: 23.45 kB / 0.8625 GB, free: 137.7 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/1.734, allocations: 93.48 kB / 0.8626 GB, free: 137.7 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/1.734, allocations: 0 / 0.8626 GB, free: 137.7 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.734, allocations: 3.938 kB / 0.8626 GB, free: 137.7 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.734, allocations: 0 / 0.8626 GB, free: 137.7 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006291/1.735, allocations: 387.6 kB / 0.8629 GB, free: 137.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.735, allocations: 4 kB / 0.8629 GB, free: 137.4 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/1.735, allocations: 19.42 kB / 0.8629 GB, free: 137.4 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/1.735, allocations: 7.938 kB / 0.863 GB, free: 137.4 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/1.735, allocations: 0 / 0.863 GB, free: 137.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.735, allocations: 4.125 kB / 0.863 GB, free: 137.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.735, allocations: 0 / 0.863 GB, free: 137.4 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/1.735, allocations: 210 kB / 0.8632 GB, free: 137.2 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/1.735, allocations: 108.1 kB / 0.8633 GB, free: 137.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/1.735, allocations: 4 kB / 0.8633 GB, free: 137.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/1.736, allocations: 3.906 kB / 0.8633 GB, free: 137.1 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/1.736, allocations: 11.17 kB / 0.8633 GB, free: 137.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/1.736, allocations: 11.36 kB / 0.8633 GB, free: 137.1 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0001123/1.736, allocations: 132.5 kB / 0.8634 GB, free: 137 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.81e-07/1.736, allocations: 0 / 0.8634 GB, free: 137 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0007236/1.737, allocations: 86.06 kB / 0.8635 GB, free: 137 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006882/1.737, allocations: 0.8927 MB / 0.8644 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0003458/1.738, allocations: 140 kB / 0.8645 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.738, allocations: 4.906 kB / 0.8645 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 4.935e-05/1.738, allocations: 19.41 kB / 0.8645 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/1.738, allocations: 35.05 kB / 0.8646 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000853/1.739, allocations: 262.8 kB / 0.8648 GB, free: 136 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/1.739, allocations: 0.7269 MB / 0.8655 GB, free: 135.3 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/1.739, allocations: 66.11 kB / 0.8656 GB, free: 135.3 MB / 0.4952 GB Notification: Performance of SimCode: time 7.72e-07/1.739, allocations: 0 / 0.8656 GB, free: 135.3 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.681/4.421, allocations: 4.043 MB / 0.8695 GB, free: 134.3 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat