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.002336/0.002335, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.228/2.228, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001214/0.001213, allocations: 95.17 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6591/0.6591, allocations: 43.56 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004822, allocations: 16 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.134, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.839/9.973, allocations: 3.076 GB / 3.555 GB, free: 110 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/9.973, allocations: 82.45 kB / 3.555 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.119/11.09, allocations: 211.7 MB / 3.762 GB, free: 72.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.204e-06/11.09, allocations: 0 / 3.762 GB, free: 72.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.589e-05/11.09, allocations: 0 / 3.762 GB, free: 72.54 MB / 0.4948 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.006017/11.1, allocations: 1.176 MB / 3.763 GB, free: 71.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/11.1, allocations: 9.375 kB / 3.763 GB, free: 71.77 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/11.1, allocations: 57.03 kB / 3.763 GB, free: 71.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/11.1, allocations: 25.44 kB / 3.763 GB, free: 71.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/11.1, allocations: 224.1 kB / 3.763 GB, free: 71.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/11.1, allocations: 130.2 kB / 3.763 GB, free: 71.35 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/11.1, allocations: 25.66 kB / 3.764 GB, free: 71.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/11.1, allocations: 318.7 kB / 3.764 GB, free: 71.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/11.1, allocations: 7.469 kB / 3.764 GB, free: 71.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/11.1, allocations: 11.66 kB / 3.764 GB, free: 71.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/11.1, allocations: 10.97 kB / 3.764 GB, free: 71.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/11.1, allocations: 0.7321 MB / 3.765 GB, free: 71.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/11.1, allocations: 1.224 MB / 3.766 GB, free: 70.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/11.1, allocations: 159 kB / 3.766 GB, free: 69.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003009/11.11, allocations: 2.781 MB / 3.769 GB, free: 67.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/11.11, allocations: 33.81 kB / 3.769 GB, free: 67.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 3.075e-06/11.11, allocations: 3.984 kB / 3.769 GB, free: 67.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0004296/11.11, allocations: 128.6 kB / 3.769 GB, free: 66.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/11.11, allocations: 55.28 kB / 3.769 GB, free: 66.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/11.11, allocations: 195.2 kB / 3.769 GB, free: 66.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/11.11, allocations: 29.7 kB / 3.769 GB, free: 66.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/11.11, allocations: 282.1 kB / 3.769 GB, free: 66.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/11.11, allocations: 54.97 kB / 3.769 GB, free: 66.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/11.11, allocations: 15.12 kB / 3.769 GB, free: 66.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.655e-05/11.11, allocations: 322.4 kB / 3.77 GB, free: 66.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/11.11, allocations: 48.56 kB / 3.77 GB, free: 66.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/11.11, allocations: 328.5 kB / 3.77 GB, free: 65.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/11.11, allocations: 98.02 kB / 3.77 GB, free: 65.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/11.11, allocations: 11.59 kB / 3.77 GB, free: 65.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000734/11.11, allocations: 373.6 kB / 3.771 GB, free: 65.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/11.11, allocations: 6.938 kB / 3.771 GB, free: 65.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/11.11, allocations: 15.28 kB / 3.771 GB, free: 65.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.243e-05/11.11, allocations: 18.09 kB / 3.771 GB, free: 65.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/11.11, allocations: 100.1 kB / 3.771 GB, free: 65.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/11.11, allocations: 15.5 kB / 3.771 GB, free: 65.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/11.11, allocations: 58.88 kB / 3.771 GB, free: 65.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/11.11, allocations: 27.62 kB / 3.771 GB, free: 65.42 MB / 0.4948 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 () * Number of clocked 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 0.0001376/11.11, allocations: 152.5 kB / 3.771 GB, free: 65.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/11.11, allocations: 29.17 kB / 3.771 GB, free: 65.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004556/11.11, allocations: 165.9 kB / 3.771 GB, free: 65.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/11.11, allocations: 0 / 3.771 GB, free: 65.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/11.11, allocations: 0 / 3.771 GB, free: 65.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/11.11, allocations: 0 / 3.771 GB, free: 65.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/11.11, allocations: 432.7 kB / 3.771 GB, free: 64.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/11.11, allocations: 0 / 3.771 GB, free: 64.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/11.11, allocations: 21.41 kB / 3.772 GB, free: 64.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/11.11, allocations: 0 / 3.772 GB, free: 64.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/11.11, allocations: 3.062 kB / 3.772 GB, free: 64.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/11.11, allocations: 3.219 kB / 3.772 GB, free: 64.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/11.11, allocations: 0 / 3.772 GB, free: 64.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/11.11, allocations: 267.4 kB / 3.772 GB, free: 64.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.861e-05/11.11, allocations: 122.5 kB / 3.772 GB, free: 64.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/11.11, allocations: 3.562 kB / 3.772 GB, free: 64.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/11.11, allocations: 7.312 kB / 3.772 GB, free: 64.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/11.11, allocations: 11.56 kB / 3.772 GB, free: 64.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/11.11, allocations: 3.656 kB / 3.772 GB, free: 64.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001431/11.11, allocations: 147.7 kB / 3.772 GB, free: 64.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/11.11, allocations: 0 / 3.772 GB, free: 64.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000842/11.11, allocations: 115.6 kB / 3.772 GB, free: 64.25 MB / 0.4948 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 () * Number of clocked 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.0008634/11.11, allocations: 1.251 MB / 3.773 GB, free: 63.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003851/11.11, allocations: 168.8 kB / 3.774 GB, free: 63.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/11.11, allocations: 0 / 3.774 GB, free: 63.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.205e-05/11.11, allocations: 23.44 kB / 3.774 GB, free: 63.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/11.11, allocations: 47.88 kB / 3.774 GB, free: 63.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7091/11.82, allocations: 106.1 MB / 3.877 GB, free: 48.83 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/11.82, allocations: 0.7297 MB / 3.878 GB, free: 48.13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/11.82, allocations: 63.17 kB / 3.878 GB, free: 48.12 MB / 0.4948 GB Notification: Performance of SimCode: time 1.272e-06/11.82, allocations: 0 / 3.878 GB, free: 48.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.501/14.32, allocations: 4.905 MB / 3.883 GB, free: 48.06 MB / 0.4948 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