Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002178/0.002178, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.2 MB / 245 MB, free: 7.633 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001026/0.001026, allocations: 102.2 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4195/0.4195, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003066, allocations: 4.219 kB / 468.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.485/0.4853, allocations: 63.24 MB / 0.5193 GB, free: 43.64 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6401/1.125, allocations: 302.2 MB / 0.8143 GB, free: 46.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/1.126, allocations: 79.05 kB / 0.8144 GB, free: 46.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0432/1.169, allocations: 20.89 MB / 0.8348 GB, free: 29.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.394e-06/1.169, allocations: 0 / 0.8348 GB, free: 29.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.414e-05/1.169, allocations: 4 kB / 0.8348 GB, free: 29.65 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.0008305/1.17, allocations: 0.5645 MB / 0.8354 GB, free: 29.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.17, allocations: 12.03 kB / 0.8354 GB, free: 29.05 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.659e-05/1.17, allocations: 56.86 kB / 0.8354 GB, free: 29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/1.17, allocations: 31.66 kB / 0.8355 GB, free: 28.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/1.17, allocations: 226 kB / 0.8357 GB, free: 28.72 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/1.17, allocations: 126.2 kB / 0.8358 GB, free: 28.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/1.17, allocations: 24.31 kB / 0.8358 GB, free: 28.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/1.171, allocations: 321.5 kB / 0.8361 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/1.171, allocations: 3.938 kB / 0.8361 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/1.171, allocations: 10.94 kB / 0.8362 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/1.171, allocations: 7.984 kB / 0.8362 GB, free: 28.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000606/1.172, allocations: 0.7287 MB / 0.8369 GB, free: 27.67 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009963/1.173, allocations: 1.181 MB / 0.838 GB, free: 26.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/1.173, allocations: 141.9 kB / 0.8382 GB, free: 26.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/1.175, allocations: 2.613 MB / 0.8407 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/1.175, allocations: 38.5 kB / 0.8407 GB, free: 23.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.654e-06/1.175, allocations: 0 / 0.8407 GB, free: 23.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005982/1.175, allocations: 239.2 kB / 0.841 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/1.175, allocations: 63.34 kB / 0.841 GB, free: 23.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/1.175, allocations: 187.6 kB / 0.8412 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/1.176, allocations: 29.39 kB / 0.8412 GB, free: 22.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/1.176, allocations: 201.9 kB / 0.8414 GB, free: 22.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/1.176, allocations: 58.14 kB / 0.8415 GB, free: 22.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/1.176, allocations: 7.562 kB / 0.8415 GB, free: 22.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.203e-05/1.176, allocations: 325.9 kB / 0.8418 GB, free: 22.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/1.176, allocations: 51.45 kB / 0.8419 GB, free: 22.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/1.176, allocations: 310.6 kB / 0.8422 GB, free: 21.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/1.176, allocations: 96.8 kB / 0.8422 GB, free: 21.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.176, allocations: 8 kB / 0.8423 GB, free: 21.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004264/1.177, allocations: 371.1 kB / 0.8426 GB, free: 21.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.177, allocations: 8 kB / 0.8426 GB, free: 21.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.177, allocations: 12.91 kB / 0.8426 GB, free: 21.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/1.177, allocations: 19.98 kB / 0.8426 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/1.177, allocations: 115.6 kB / 0.8428 GB, free: 21.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/1.177, allocations: 19.89 kB / 0.8428 GB, free: 21.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/1.177, allocations: 18.16 kB / 0.8428 GB, free: 21.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/1.177, allocations: 31.11 kB / 0.8428 GB, free: 21.3 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.000111/1.177, allocations: 152 kB / 0.843 GB, free: 21.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/1.177, allocations: 15.81 kB / 0.843 GB, free: 21.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/1.178, allocations: 182.6 kB / 0.8432 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/1.178, allocations: 3.938 kB / 0.8432 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.178, allocations: 0 / 0.8432 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/1.178, allocations: 7.938 kB / 0.8432 GB, free: 20.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/1.178, allocations: 457.6 kB / 0.8436 GB, free: 20.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.178, allocations: 0 / 0.8436 GB, free: 20.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/1.178, allocations: 47.66 kB / 0.8437 GB, free: 20.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.178, allocations: 4 kB / 0.8437 GB, free: 20.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/1.178, allocations: 0 / 0.8437 GB, free: 20.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.178, allocations: 3.953 kB / 0.8437 GB, free: 20.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.179, allocations: 4 kB / 0.8437 GB, free: 20.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/1.179, allocations: 246.4 kB / 0.8439 GB, free: 20.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/1.179, allocations: 129.8 kB / 0.844 GB, free: 20.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/1.179, allocations: 0 / 0.844 GB, free: 20.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/1.179, allocations: 7.438 kB / 0.844 GB, free: 20.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/1.179, allocations: 11.98 kB / 0.844 GB, free: 20.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/1.179, allocations: 7.984 kB / 0.844 GB, free: 20.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.767e-05/1.179, allocations: 146 kB / 0.8442 GB, free: 19.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.179, allocations: 4 kB / 0.8442 GB, free: 19.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005043/1.18, allocations: 109.2 kB / 0.8443 GB, free: 19.82 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.0006153/1.18, allocations: 0.9963 MB / 0.8453 GB, free: 18.81 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002643/1.181, allocations: 177.2 kB / 0.8454 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.181, allocations: 4 kB / 0.8454 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.046e-05/1.181, allocations: 39.17 kB / 0.8455 GB, free: 18.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/1.181, allocations: 57.31 kB / 0.8455 GB, free: 18.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/1.196, allocations: 13.04 MB / 0.8583 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/1.196, allocations: 0.7328 MB / 0.859 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003096/1.196, allocations: 62.77 kB / 0.859 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.177e-05/1.196, allocations: 66.91 kB / 0.8591 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of SimCode: time 1.102e-06/1.196, allocations: 0 / 0.8591 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/1.213, allocations: 5.565 MB / 0.8645 GB, free: 476 kB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/1.213, allocations: 201.8 kB / 0.8647 GB, free: 228 kB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/3.35, allocations: 0 / 0.8647 GB, free: 228 kB / 0.4948 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat