Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.001603/0.001603, allocations: 181.5 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 78.67 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2893/0.2893, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.315e-05, allocations: 0 / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 58.87 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.546/9.667, allocations: 3.076 GB / 3.549 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/9.667, allocations: 71.89 kB / 3.549 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.104/10.77, allocations: 211.4 MB / 3.756 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.833e-06/10.77, allocations: 0 / 3.756 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.638e-05/10.77, allocations: 3.906 kB / 3.756 GB, free: 115.8 MB / 0.5105 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.005899/10.78, allocations: 1.148 MB / 3.757 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/10.78, allocations: 11.5 kB / 3.757 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/10.78, allocations: 59.05 kB / 3.757 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/10.78, allocations: 27.12 kB / 3.757 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/10.78, allocations: 226.7 kB / 3.757 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/10.78, allocations: 128.4 kB / 3.757 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/10.78, allocations: 25.97 kB / 3.757 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006023/10.78, allocations: 312.3 kB / 3.757 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/10.78, allocations: 0 / 3.757 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/10.78, allocations: 11.19 kB / 3.757 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/10.78, allocations: 7.844 kB / 3.758 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/10.78, allocations: 0.7307 MB / 3.758 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/10.78, allocations: 1.229 MB / 3.759 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/10.78, allocations: 150 kB / 3.76 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/10.78, allocations: 91.39 kB / 3.76 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003297/10.79, allocations: 3.037 MB / 3.763 GB, free: 111 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/10.79, allocations: 38.16 kB / 3.763 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 2.405e-06/10.79, allocations: 3.094 kB / 3.763 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0003723/10.79, allocations: 101.7 kB / 3.763 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/10.79, allocations: 51.41 kB / 3.763 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/10.79, allocations: 191.7 kB / 3.763 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/10.79, allocations: 29.45 kB / 3.763 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/10.79, allocations: 285.1 kB / 3.763 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/10.79, allocations: 48.84 kB / 3.763 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/10.79, allocations: 11 kB / 3.763 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.337e-05/10.79, allocations: 324.4 kB / 3.764 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/10.79, allocations: 51.36 kB / 3.764 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/10.79, allocations: 327.7 kB / 3.764 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/10.79, allocations: 99.77 kB / 3.764 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/10.79, allocations: 7.891 kB / 3.764 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007335/10.79, allocations: 368.6 kB / 3.764 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/10.79, allocations: 7.688 kB / 3.764 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/10.79, allocations: 11.47 kB / 3.764 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.753e-05/10.79, allocations: 23.02 kB / 3.765 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/10.79, allocations: 95.78 kB / 3.765 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.446e-05/10.79, allocations: 19.45 kB / 3.765 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/10.79, allocations: 57.38 kB / 3.765 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/10.79, allocations: 27.09 kB / 3.765 GB, free: 109.6 MB / 0.5105 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 (51): * Single equations (assignments): 50 * 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 9.911e-05/10.79, allocations: 138.6 kB / 3.765 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/10.79, allocations: 27.12 kB / 3.765 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/10.79, allocations: 164 kB / 3.765 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/10.79, allocations: 7.438 kB / 3.765 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/10.79, allocations: 0 / 3.765 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/10.79, allocations: 7.203 kB / 3.765 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/10.79, allocations: 430.8 kB / 3.765 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/10.79, allocations: 0 / 3.765 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/10.79, allocations: 11.81 kB / 3.765 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/10.79, allocations: 3.875 kB / 3.765 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/10.79, allocations: 7.25 kB / 3.765 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/10.79, allocations: 7.781 kB / 3.765 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/10.79, allocations: 0 / 3.765 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/10.79, allocations: 263.2 kB / 3.766 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.98e-05/10.79, allocations: 114.2 kB / 3.766 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/10.79, allocations: 11.47 kB / 3.766 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/10.79, allocations: 3.969 kB / 3.766 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/10.79, allocations: 18.72 kB / 3.766 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/10.79, allocations: 3.938 kB / 3.766 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000144/10.79, allocations: 143.9 kB / 3.766 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/10.79, allocations: 0 / 3.766 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008734/10.79, allocations: 121.2 kB / 3.766 GB, free: 108.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0008741/10.79, allocations: 1.237 MB / 3.767 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003962/10.79, allocations: 164 kB / 3.767 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/10.79, allocations: 3.844 kB / 3.767 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.168e-05/10.79, allocations: 26.92 kB / 3.768 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/10.79, allocations: 49.52 kB / 3.768 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3347/11.13, allocations: 98.14 MB / 3.863 GB, free: 61.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/11.13, allocations: 0.7326 MB / 3.864 GB, free: 60.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/11.13, allocations: 67.34 kB / 3.864 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/11.13, allocations: 0 / 3.864 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.572/13.7, allocations: 4.924 MB / 3.869 GB, free: 55.34 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat