Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.001063/0.001063, allocations: 177 kB / 17.06 MB, free: 5.094 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.555/1.555, allocations: 223.2 MB / 241 MB, free: 11.9 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.0009464/0.0009464, allocations: 91.52 kB / 292.1 MB, free: 10.95 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.449/0.449, allocations: 44.22 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003687, allocations: 8 kB / 460 MB, free: 1.465 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4462, allocations: 61.9 MB / 0.5096 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6881/1.134, allocations: 301.1 MB / 0.8037 GB, free: 28.38 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.135, allocations: 80.36 kB / 0.8038 GB, free: 28.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04582/1.181, allocations: 20.72 MB / 0.824 GB, free: 11.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.356e-06/1.181, allocations: 0 / 0.824 GB, free: 11.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/1.181, allocations: 4 kB / 0.824 GB, free: 11.28 MB / 490.7 MB 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.001013/1.182, allocations: 0.5594 MB / 0.8245 GB, free: 10.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/1.182, allocations: 8.031 kB / 0.8245 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.949e-05/1.182, allocations: 64.84 kB / 0.8246 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/1.182, allocations: 27.7 kB / 0.8246 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/1.182, allocations: 217.7 kB / 0.8248 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/1.182, allocations: 130.4 kB / 0.825 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/1.182, allocations: 23.5 kB / 0.825 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/1.183, allocations: 318.7 kB / 0.8253 GB, free: 9.934 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/1.183, allocations: 7.984 kB / 0.8253 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/1.183, allocations: 7.25 kB / 0.8253 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/1.183, allocations: 8 kB / 0.8253 GB, free: 9.918 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006601/1.184, allocations: 0.7359 MB / 0.826 GB, free: 9.293 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/1.185, allocations: 1.17 MB / 0.8272 GB, free: 8.195 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/1.185, allocations: 154.6 kB / 0.8273 GB, free: 8.066 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001769/1.187, allocations: 2.606 MB / 0.8299 GB, free: 5.059 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/1.187, allocations: 38.06 kB / 0.8299 GB, free: 5.016 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/1.187, allocations: 3.938 kB / 0.8299 GB, free: 5.012 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006242/1.188, allocations: 244.6 kB / 0.8301 GB, free: 4.801 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/1.188, allocations: 55.39 kB / 0.8302 GB, free: 4.734 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/1.188, allocations: 179.7 kB / 0.8304 GB, free: 4.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/1.188, allocations: 31.02 kB / 0.8304 GB, free: 4.539 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/1.188, allocations: 205.2 kB / 0.8306 GB, free: 4.344 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/1.188, allocations: 61.94 kB / 0.8307 GB, free: 4.293 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/1.188, allocations: 5.5 kB / 0.8307 GB, free: 4.293 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.083e-05/1.188, allocations: 337.8 kB / 0.831 GB, free: 3.961 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/1.188, allocations: 47.41 kB / 0.831 GB, free: 3.926 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/1.188, allocations: 314.7 kB / 0.8313 GB, free: 3.516 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/1.189, allocations: 102.7 kB / 0.8314 GB, free: 3.441 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.189, allocations: 4 kB / 0.8314 GB, free: 3.438 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004767/1.189, allocations: 362.9 kB / 0.8318 GB, free: 3.133 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/1.189, allocations: 13.41 kB / 0.8318 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.189, allocations: 8 kB / 0.8318 GB, free: 3.113 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/1.189, allocations: 16.03 kB / 0.8318 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/1.189, allocations: 111.8 kB / 0.8319 GB, free: 2.992 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/1.19, allocations: 19.94 kB / 0.8319 GB, free: 2.973 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/1.19, allocations: 16.25 kB / 0.832 GB, free: 2.961 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/1.19, allocations: 31.48 kB / 0.832 GB, free: 2.934 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0001411/1.19, allocations: 148.9 kB / 0.8321 GB, free: 2.793 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/1.19, allocations: 23.72 kB / 0.8321 GB, free: 2.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/1.19, allocations: 181.2 kB / 0.8323 GB, free: 2.621 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/1.19, allocations: 7.984 kB / 0.8323 GB, free: 2.613 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.19, allocations: 0 / 0.8323 GB, free: 2.613 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.19, allocations: 3.984 kB / 0.8323 GB, free: 2.609 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/1.191, allocations: 456.5 kB / 0.8328 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.191, allocations: 0 / 0.8328 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/1.191, allocations: 40.03 kB / 0.8328 GB, free: 2.113 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.191, allocations: 0 / 0.8328 GB, free: 2.113 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/1.191, allocations: 7.75 kB / 0.8328 GB, free: 2.109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.191, allocations: 3.938 kB / 0.8328 GB, free: 2.105 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.191, allocations: 0 / 0.8328 GB, free: 2.105 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/1.191, allocations: 260.3 kB / 0.8331 GB, free: 1.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.559e-05/1.191, allocations: 112.1 kB / 0.8332 GB, free: 1.719 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/1.192, allocations: 7.938 kB / 0.8332 GB, free: 1.711 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/1.192, allocations: 6.812 kB / 0.8332 GB, free: 1.707 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/1.192, allocations: 11.94 kB / 0.8332 GB, free: 1.695 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/1.192, allocations: 12.48 kB / 0.8332 GB, free: 1.684 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.617e-05/1.192, allocations: 148.9 kB / 0.8333 GB, free: 1.555 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.192, allocations: 0 / 0.8333 GB, free: 1.555 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005093/1.192, allocations: 103.2 kB / 0.8334 GB, free: 1.465 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * 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.0006057/1.193, allocations: 1.004 MB / 0.8344 GB, free: 464 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002579/1.193, allocations: 176.7 kB / 0.8346 GB, free: 312 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.193, allocations: 3.938 kB / 0.8346 GB, free: 308 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/1.193, allocations: 35.73 kB / 0.8346 GB, free: 276 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/1.194, allocations: 54.06 kB / 0.8347 GB, free: 232 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/1.211, allocations: 12.92 MB / 0.8473 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/1.212, allocations: 0.7367 MB / 0.848 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003536/1.212, allocations: 58.83 kB / 0.8481 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/1.212, allocations: 63.47 kB / 0.8481 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of SimCode: time 1.193e-06/1.212, allocations: 0 / 0.8481 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/1.233, allocations: 5.516 MB / 0.8535 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/1.233, allocations: 210.7 kB / 0.8537 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/3.178, allocations: 0 / 0.8537 GB, free: 14.03 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat