Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.001383/0.001383, allocations: 183.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009562/0.0009563, allocations: 90.86 kB / 270.2 MB, free: 13.37 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.2687/0.2687, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1654, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9834/1.149, allocations: 299.8 MB / 0.7717 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/1.149, allocations: 74.91 kB / 0.7717 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04248/1.192, allocations: 20.22 MB / 0.7915 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.984e-06/1.192, allocations: 0 / 0.7915 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.684e-05/1.192, allocations: 4 kB / 0.7915 GB, free: 102.6 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.0009768/1.193, allocations: 0.5719 MB / 0.792 GB, free: 102 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.193, allocations: 8.031 kB / 0.792 GB, free: 102 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.013e-05/1.193, allocations: 60.42 kB / 0.7921 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/1.193, allocations: 31.7 kB / 0.7921 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/1.193, allocations: 233.2 kB / 0.7924 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/1.194, allocations: 118.7 kB / 0.7925 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/1.194, allocations: 23.55 kB / 0.7925 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/1.194, allocations: 323.1 kB / 0.7928 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.194, allocations: 0 / 0.7928 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/1.194, allocations: 13.5 kB / 0.7928 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/1.194, allocations: 8 kB / 0.7928 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006707/1.195, allocations: 0.7349 MB / 0.7935 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/1.196, allocations: 1.172 MB / 0.7947 GB, free: 99.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/1.196, allocations: 144.4 kB / 0.7948 GB, free: 99.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001773/1.198, allocations: 2.609 MB / 0.7974 GB, free: 96.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/1.198, allocations: 37.69 kB / 0.7974 GB, free: 96.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/1.198, allocations: 0 / 0.7974 GB, free: 96.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0006942/1.199, allocations: 242.3 kB / 0.7976 GB, free: 96.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/1.199, allocations: 59.36 kB / 0.7977 GB, free: 96.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/1.199, allocations: 183.8 kB / 0.7979 GB, free: 95.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.199, allocations: 25.7 kB / 0.7979 GB, free: 95.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/1.199, allocations: 203.6 kB / 0.7981 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/1.199, allocations: 61.27 kB / 0.7981 GB, free: 95.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/1.199, allocations: 5.5 kB / 0.7982 GB, free: 95.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.728e-05/1.199, allocations: 331.8 kB / 0.7985 GB, free: 95.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/1.199, allocations: 50.03 kB / 0.7985 GB, free: 95.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/1.2, allocations: 314.1 kB / 0.7988 GB, free: 94.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/1.2, allocations: 99.03 kB / 0.7989 GB, free: 94.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.2, allocations: 4 kB / 0.7989 GB, free: 94.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004763/1.2, allocations: 369.6 kB / 0.7993 GB, free: 94.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.2, allocations: 8.188 kB / 0.7993 GB, free: 94.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.2, allocations: 15.94 kB / 0.7993 GB, free: 94.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/1.2, allocations: 16 kB / 0.7993 GB, free: 94.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/1.201, allocations: 111.4 kB / 0.7994 GB, free: 94.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/1.201, allocations: 15.94 kB / 0.7994 GB, free: 94.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/1.201, allocations: 27.53 kB / 0.7995 GB, free: 94.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/1.201, allocations: 23.81 kB / 0.7995 GB, free: 94.21 MB / 0.4948 GB 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.0001158/1.201, allocations: 155.3 kB / 0.7996 GB, free: 94.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/1.201, allocations: 19.81 kB / 0.7996 GB, free: 94.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/1.202, allocations: 197.8 kB / 0.7998 GB, free: 93.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/1.202, allocations: 0 / 0.7998 GB, free: 93.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.202, allocations: 0 / 0.7998 GB, free: 93.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.202, allocations: 0 / 0.7998 GB, free: 93.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/1.202, allocations: 461.8 kB / 0.8003 GB, free: 93.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.202, allocations: 4.062 kB / 0.8003 GB, free: 93.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/1.202, allocations: 35.92 kB / 0.8003 GB, free: 93.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/1.202, allocations: 4 kB / 0.8003 GB, free: 93.37 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/1.202, allocations: 0 / 0.8003 GB, free: 93.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/1.202, allocations: 11.94 kB / 0.8003 GB, free: 93.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.202, allocations: 0 / 0.8003 GB, free: 93.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/1.203, allocations: 245.3 kB / 0.8006 GB, free: 93.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.704e-05/1.203, allocations: 127.3 kB / 0.8007 GB, free: 92.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/1.203, allocations: 0 / 0.8007 GB, free: 92.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/1.203, allocations: 11.5 kB / 0.8007 GB, free: 92.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/1.203, allocations: 11.98 kB / 0.8007 GB, free: 92.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/1.203, allocations: 15.91 kB / 0.8007 GB, free: 92.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.102e-05/1.203, allocations: 146.4 kB / 0.8009 GB, free: 92.81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-07/1.203, allocations: 0 / 0.8009 GB, free: 92.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005315/1.204, allocations: 98.55 kB / 0.8009 GB, free: 92.73 MB / 0.4948 GB 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.0007004/1.204, allocations: 1.003 MB / 0.8019 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003018/1.205, allocations: 170.3 kB / 0.8021 GB, free: 91.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.205, allocations: 0 / 0.8021 GB, free: 91.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.704e-05/1.205, allocations: 52.66 kB / 0.8021 GB, free: 91.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/1.205, allocations: 51.5 kB / 0.8022 GB, free: 91.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/1.22, allocations: 12.78 MB / 0.8147 GB, free: 79.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/1.22, allocations: 0.7337 MB / 0.8154 GB, free: 79.06 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003338/1.22, allocations: 62.77 kB / 0.8154 GB, free: 79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.767e-05/1.22, allocations: 61.84 kB / 0.8155 GB, free: 78.97 MB / 0.4948 GB Notification: Performance of SimCode: time 1.653e-06/1.22, allocations: 0 / 0.8155 GB, free: 78.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/1.239, allocations: 5.516 MB / 0.8209 GB, free: 73.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/1.239, allocations: 196.5 kB / 0.8211 GB, free: 73.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/3.061, allocations: 0 / 0.8211 GB, free: 73.27 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat