Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.001325/0.001325, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 221.5 MB / 230.7 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008474/0.0008471, allocations: 85.09 kB / 281.6 MB, free: 5.27 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.242/0.242, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.435e-05, allocations: 4.219 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1544, allocations: 61.91 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.24, allocations: 377.4 MB / 0.8633 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/1.24, allocations: 75.95 kB / 0.8634 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04492/1.285, allocations: 19.21 MB / 0.8821 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.033e-06/1.285, allocations: 0 / 0.8821 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.712e-05/1.285, allocations: 3.938 kB / 0.8822 GB, free: 9.23 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.001199/1.286, allocations: 0.565 MB / 0.8827 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.286, allocations: 11.98 kB / 0.8827 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/1.287, allocations: 27.81 kB / 0.8827 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/1.287, allocations: 222.7 kB / 0.883 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/1.287, allocations: 115.4 kB / 0.8831 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/1.287, allocations: 15.95 kB / 0.8831 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007979/1.288, allocations: 0.7151 MB / 0.8838 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/1.288, allocations: 282.6 kB / 0.884 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/1.288, allocations: 7.922 kB / 0.8841 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/1.288, allocations: 0 / 0.8841 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/1.288, allocations: 8 kB / 0.8841 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003199/1.292, allocations: 3.492 MB / 0.8875 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.516e-05/1.292, allocations: 50.67 kB / 0.8875 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/1.292, allocations: 16.86 kB / 0.8875 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004853/1.292, allocations: 446.1 kB / 0.888 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/1.292, allocations: 30.56 kB / 0.888 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/1.292, allocations: 0 / 0.888 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001892/1.292, allocations: 53.47 kB / 0.888 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/1.293, allocations: 51.41 kB / 0.8881 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/1.293, allocations: 225.8 kB / 0.8883 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/1.293, allocations: 25.7 kB / 0.8883 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/1.293, allocations: 246.1 kB / 0.8886 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/1.293, allocations: 15.92 kB / 0.8886 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-06/1.293, allocations: 3.938 kB / 0.8886 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.293, allocations: 330.8 kB / 0.8889 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/1.293, allocations: 28.88 kB / 0.8889 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/1.293, allocations: 344.2 kB / 0.8893 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/1.294, allocations: 111.8 kB / 0.8894 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.294, allocations: 0 / 0.8894 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006559/1.294, allocations: 337.8 kB / 0.8897 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/1.294, allocations: 20.23 kB / 0.8897 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.294, allocations: 8 kB / 0.8897 GB, free: 500 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/1.295, allocations: 16 kB / 0.8897 GB, free: 484 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/1.295, allocations: 103.8 kB / 0.8898 GB, free: 380 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.087e-05/1.295, allocations: 27.89 kB / 0.8899 GB, free: 352 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/1.295, allocations: 47.44 kB / 0.8899 GB, free: 304 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/1.295, allocations: 35.92 kB / 0.8899 GB, free: 268 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 0.0001003/1.295, allocations: 127 kB / 0.8901 GB, free: 136 kB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.53e-05/1.295, allocations: 57.45 kB / 0.8901 GB, free: 72 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/1.295, allocations: 23.8 kB / 0.8901 GB, free: 48 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/1.295, allocations: 17.14 kB / 0.8901 GB, free: 28 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.295, allocations: 0 / 0.8901 GB, free: 28 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.295, allocations: 0 / 0.8901 GB, free: 28 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.295, allocations: 11.97 kB / 0.8902 GB, free: 16 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3525/1.648, allocations: 165.3 kB / 0.8903 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/1.648, allocations: 0 / 0.8903 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-06/1.648, allocations: 1.375 kB / 0.8903 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/1.648, allocations: 0 / 0.8903 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/1.648, allocations: 1.031 kB / 0.8903 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/1.648, allocations: 0.9062 kB / 0.8903 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/1.648, allocations: 3.875 kB / 0.8903 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/1.648, allocations: 148.9 kB / 0.8905 GB, free: 180.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/1.648, allocations: 107.9 kB / 0.8906 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/1.649, allocations: 6.109 kB / 0.8906 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/1.649, allocations: 1.641 kB / 0.8906 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/1.649, allocations: 1.922 kB / 0.8906 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/1.649, allocations: 4.969 kB / 0.8906 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001898/1.649, allocations: 145.6 kB / 0.8907 GB, free: 180 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.573e-06/1.649, allocations: 3.062 kB / 0.8907 GB, free: 180 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007991/1.65, allocations: 87.16 kB / 0.8908 GB, free: 180 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0006044/1.65, allocations: 0.7351 MB / 0.8915 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003559/1.651, allocations: 131 kB / 0.8917 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.651, allocations: 0 / 0.8917 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/1.651, allocations: 7.266 kB / 0.8917 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/1.651, allocations: 19.41 kB / 0.8917 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/1.663, allocations: 4.26 MB / 0.8958 GB, free: 179.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/1.663, allocations: 0.7227 MB / 0.8965 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002577/1.663, allocations: 52.73 kB / 0.8966 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/1.663, allocations: 53.73 kB / 0.8966 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of SimCode: time 8.52e-07/1.663, allocations: 0 / 0.8966 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/1.688, allocations: 3.624 MB / 0.9002 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.688, allocations: 148.1 kB / 0.9003 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/3.477, allocations: 0 / 0.9003 GB, free: 178.1 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat