Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 175.8 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 241 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009084/0.0009083, allocations: 94.86 kB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3779/0.3779, allocations: 44.21 MB / 387.5 MB, free: 38.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 8 kB / 460 MB, free: 1.457 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4428, allocations: 61.91 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.706/8.149, allocations: 3.083 GB / 3.593 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/8.149, allocations: 77.09 kB / 3.593 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5132/8.663, allocations: 213.2 MB / 3.801 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.475e-06/8.663, allocations: 0 / 3.801 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.191e-05/8.663, allocations: 4 kB / 3.801 GB, free: 1.484 MB / 0.5261 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.006548/8.669, allocations: 1.162 MB / 3.802 GB, free: 280 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/8.669, allocations: 12.03 kB / 3.802 GB, free: 268 kB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/8.67, allocations: 62.53 kB / 3.802 GB, free: 196 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/8.67, allocations: 31.77 kB / 3.802 GB, free: 164 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.546/9.216, allocations: 220.3 kB / 3.803 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/9.216, allocations: 123 kB / 3.803 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/9.216, allocations: 21.06 kB / 3.803 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008674/9.217, allocations: 319.4 kB / 3.803 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/9.217, allocations: 1.969 kB / 3.803 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/9.217, allocations: 12.09 kB / 3.803 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/9.217, allocations: 9.797 kB / 3.803 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/9.219, allocations: 0.7365 MB / 3.804 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/9.221, allocations: 1.224 MB / 3.805 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/9.221, allocations: 163.2 kB / 3.805 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002951/9.224, allocations: 2.786 MB / 3.808 GB, free: 103 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/9.224, allocations: 34.5 kB / 3.808 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/9.224, allocations: 0 / 3.808 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0004374/9.225, allocations: 127.9 kB / 3.808 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/9.225, allocations: 53.56 kB / 3.808 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/9.225, allocations: 196.3 kB / 3.808 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/9.225, allocations: 25.7 kB / 3.808 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/9.225, allocations: 214.4 kB / 3.808 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/9.225, allocations: 52.11 kB / 3.809 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/9.225, allocations: 6.562 kB / 3.809 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001211/9.225, allocations: 337.1 kB / 3.809 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/9.225, allocations: 47.09 kB / 3.809 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/9.226, allocations: 327.1 kB / 3.809 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/9.226, allocations: 102.1 kB / 3.809 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/9.226, allocations: 4.344 kB / 3.809 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007284/9.227, allocations: 370.7 kB / 3.81 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/9.227, allocations: 10.92 kB / 3.81 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/9.227, allocations: 9.75 kB / 3.81 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.232e-05/9.227, allocations: 14.53 kB / 3.81 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/9.227, allocations: 102.6 kB / 3.81 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.081e-05/9.227, allocations: 22.06 kB / 3.81 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/9.228, allocations: 55.38 kB / 3.81 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/9.228, allocations: 27.47 kB / 3.81 GB, free: 101.8 MB / 0.5261 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.0001682/9.228, allocations: 158.7 kB / 3.81 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/9.228, allocations: 18.41 kB / 3.81 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/9.228, allocations: 166.2 kB / 3.81 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/9.228, allocations: 0 / 3.81 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/9.228, allocations: 0 / 3.81 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/9.228, allocations: 2.906 kB / 3.81 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/9.229, allocations: 435.5 kB / 3.811 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/9.229, allocations: 0 / 3.811 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.731e-05/9.229, allocations: 16.56 kB / 3.811 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/9.229, allocations: 3.25 kB / 3.811 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/9.229, allocations: 0.625 kB / 3.811 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/9.229, allocations: 6.219 kB / 3.811 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/9.229, allocations: 3.75 kB / 3.811 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/9.229, allocations: 270 kB / 3.811 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/9.23, allocations: 117.4 kB / 3.811 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/9.23, allocations: 0.9375 kB / 3.811 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/9.23, allocations: 9.312 kB / 3.811 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/9.23, allocations: 14.72 kB / 3.811 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/9.23, allocations: 2.688 kB / 3.811 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001582/9.23, allocations: 148.2 kB / 3.811 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/9.23, allocations: 0 / 3.811 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009932/9.231, allocations: 112.5 kB / 3.811 GB, free: 100.9 MB / 0.5261 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.0009149/9.232, allocations: 1.25 MB / 3.813 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003911/9.232, allocations: 167.6 kB / 3.813 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/9.232, allocations: 3.75 kB / 3.813 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.337e-05/9.232, allocations: 31.09 kB / 3.813 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/9.233, allocations: 36.2 kB / 3.813 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3352/9.568, allocations: 106.8 MB / 3.917 GB, free: 82.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/9.569, allocations: 0.7301 MB / 3.918 GB, free: 81.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005721/9.569, allocations: 59.98 kB / 3.918 GB, free: 81.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/9.57, allocations: 62.8 kB / 3.918 GB, free: 81.78 MB / 0.5261 GB Notification: Performance of SimCode: time 2.635e-06/9.57, allocations: 0 / 3.918 GB, free: 81.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/9.605, allocations: 7.267 MB / 3.925 GB, free: 77.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/9.606, allocations: 193 kB / 3.925 GB, free: 77.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/11.75, allocations: 3.938 kB / 3.925 GB, free: 77.43 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat