Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.00164/0.00164, allocations: 181.1 kB / 15.76 MB, free: 6.367 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.781/1.781, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001366/0.001366, allocations: 94.84 kB / 270.2 MB, free: 13.36 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.2291/0.2291, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004565, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1585, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.114/1.273, allocations: 375.2 MB / 0.8453 GB, free: 45.06 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/1.273, allocations: 75.88 kB / 0.8454 GB, free: 45.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04149/1.315, allocations: 18.88 MB / 0.8638 GB, free: 29.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.585e-06/1.315, allocations: 0 / 0.8638 GB, free: 29.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.875e-05/1.315, allocations: 4 kB / 0.8638 GB, free: 29.32 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.001076/1.316, allocations: 0.568 MB / 0.8644 GB, free: 28.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/1.316, allocations: 12.03 kB / 0.8644 GB, free: 28.71 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.672e-05/1.316, allocations: 64.34 kB / 0.8644 GB, free: 28.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/1.316, allocations: 27.72 kB / 0.8645 GB, free: 28.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/1.316, allocations: 229.3 kB / 0.8647 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/1.317, allocations: 122.2 kB / 0.8648 GB, free: 28.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/1.317, allocations: 23.25 kB / 0.8648 GB, free: 28.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006189/1.317, allocations: 322.9 kB / 0.8651 GB, free: 27.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/1.317, allocations: 7.984 kB / 0.8651 GB, free: 27.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/1.317, allocations: 7.375 kB / 0.8651 GB, free: 27.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/1.317, allocations: 8 kB / 0.8652 GB, free: 27.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007569/1.318, allocations: 0.7437 MB / 0.8659 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/1.319, allocations: 1.229 MB / 0.8671 GB, free: 26.15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/1.32, allocations: 150.1 kB / 0.8672 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00258/1.322, allocations: 2.786 MB / 0.8699 GB, free: 22.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/1.322, allocations: 30.56 kB / 0.87 GB, free: 22.81 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/1.322, allocations: 4 kB / 0.87 GB, free: 22.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0003154/1.323, allocations: 127.1 kB / 0.8701 GB, free: 22.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/1.323, allocations: 55.41 kB / 0.8702 GB, free: 22.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/1.323, allocations: 190 kB / 0.8703 GB, free: 22.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/1.323, allocations: 28.95 kB / 0.8704 GB, free: 22.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/1.323, allocations: 216.7 kB / 0.8706 GB, free: 22.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/1.323, allocations: 46.38 kB / 0.8706 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/1.323, allocations: 11.12 kB / 0.8706 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/1.323, allocations: 329.9 kB / 0.8709 GB, free: 21.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.177e-05/1.323, allocations: 51.89 kB / 0.871 GB, free: 21.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/1.323, allocations: 326 kB / 0.8713 GB, free: 21.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/1.324, allocations: 97.48 kB / 0.8714 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.324, allocations: 4 kB / 0.8714 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004378/1.324, allocations: 382.6 kB / 0.8718 GB, free: 20.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/1.324, allocations: 10.66 kB / 0.8718 GB, free: 20.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/1.324, allocations: 12 kB / 0.8718 GB, free: 20.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/1.324, allocations: 12 kB / 0.8718 GB, free: 20.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/1.324, allocations: 108 kB / 0.8719 GB, free: 20.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/1.324, allocations: 27.88 kB / 0.8719 GB, free: 20.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/1.325, allocations: 47.03 kB / 0.872 GB, free: 20.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/1.325, allocations: 27.62 kB / 0.872 GB, free: 20.75 MB / 0.4948 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.0001298/1.325, allocations: 155.4 kB / 0.8721 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/1.325, allocations: 19.81 kB / 0.8722 GB, free: 20.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/1.325, allocations: 166.4 kB / 0.8723 GB, free: 20.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.325, allocations: 4 kB / 0.8723 GB, free: 20.42 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.325, allocations: 4 kB / 0.8723 GB, free: 20.42 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.325, allocations: 7.938 kB / 0.8723 GB, free: 20.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/1.326, allocations: 428.5 kB / 0.8727 GB, free: 19.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/1.326, allocations: 0 / 0.8727 GB, free: 19.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/1.326, allocations: 15.94 kB / 0.8728 GB, free: 19.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.326, allocations: 4.125 kB / 0.8728 GB, free: 19.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/1.326, allocations: 7.953 kB / 0.8728 GB, free: 19.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/1.326, allocations: 8.047 kB / 0.8728 GB, free: 19.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.326, allocations: 4 kB / 0.8728 GB, free: 19.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/1.326, allocations: 255.4 kB / 0.873 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-05/1.326, allocations: 120.1 kB / 0.8731 GB, free: 19.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/1.326, allocations: 4 kB / 0.8731 GB, free: 19.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/1.326, allocations: 7.375 kB / 0.8732 GB, free: 19.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/1.326, allocations: 11.94 kB / 0.8732 GB, free: 19.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/1.326, allocations: 8 kB / 0.8732 GB, free: 19.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001062/1.327, allocations: 150.2 kB / 0.8733 GB, free: 19.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/1.327, allocations: 0 / 0.8733 GB, free: 19.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005035/1.327, allocations: 98.62 kB / 0.8734 GB, free: 19.27 MB / 0.4948 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.0006156/1.328, allocations: 1.127 MB / 0.8745 GB, free: 18.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002503/1.328, allocations: 166.3 kB / 0.8747 GB, free: 17.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.328, allocations: 4 kB / 0.8747 GB, free: 17.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.63e-05/1.328, allocations: 27.92 kB / 0.8747 GB, free: 17.94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/1.328, allocations: 43.03 kB / 0.8747 GB, free: 17.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/1.341, allocations: 12.71 MB / 0.8872 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/1.341, allocations: 0.7287 MB / 0.8879 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002788/1.341, allocations: 54.14 kB / 0.8879 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.193e-05/1.342, allocations: 63.41 kB / 0.888 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/1.342, allocations: 0 / 0.888 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/1.359, allocations: 4.677 MB / 0.8925 GB, free: 76 kB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3458/1.704, allocations: 186.8 kB / 0.8927 GB, free: 175.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/3.579, allocations: 0 / 0.8927 GB, free: 175.4 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat