Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008633/0.0008633, allocations: 94.2 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1733/0.1733, allocations: 45.16 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.369e-05, allocations: 3.984 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0873/0.08733, allocations: 63.25 MB / 0.5115 GB, free: 6.715 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.033/6.12, allocations: 3.084 GB / 3.596 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/6.121, allocations: 70.25 kB / 3.596 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6606/6.781, allocations: 213.2 MB / 3.804 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.953e-06/6.781, allocations: 0 / 3.804 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.219e-05/6.781, allocations: 3.531 kB / 3.804 GB, free: 113.2 MB / 0.5417 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.00386/6.785, allocations: 1.152 MB / 3.805 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/6.785, allocations: 13.78 kB / 3.805 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/6.785, allocations: 59.78 kB / 3.805 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/6.785, allocations: 32.56 kB / 3.805 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/6.786, allocations: 221.1 kB / 3.805 GB, free: 112.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.833e-05/6.786, allocations: 125.1 kB / 3.806 GB, free: 112 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/6.786, allocations: 24.03 kB / 3.806 GB, free: 112 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/6.786, allocations: 322.5 kB / 3.806 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/6.786, allocations: 3.938 kB / 3.806 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/6.786, allocations: 11.22 kB / 3.806 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/6.786, allocations: 10.59 kB / 3.806 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00055/6.787, allocations: 0.7237 MB / 3.807 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009427/6.788, allocations: 1.229 MB / 3.808 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/6.788, allocations: 161.7 kB / 3.808 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.67e-05/6.788, allocations: 79.58 kB / 3.808 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/6.79, allocations: 3.032 MB / 3.811 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/6.79, allocations: 38.56 kB / 3.811 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/6.79, allocations: 0 / 3.811 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0002107/6.79, allocations: 103.6 kB / 3.811 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/6.79, allocations: 51.41 kB / 3.811 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/6.79, allocations: 199.6 kB / 3.811 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/6.79, allocations: 29.61 kB / 3.811 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.781e-05/6.79, allocations: 208.9 kB / 3.812 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/6.79, allocations: 50.75 kB / 3.812 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/6.79, allocations: 11.81 kB / 3.812 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.955e-05/6.791, allocations: 329.8 kB / 3.812 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/6.791, allocations: 39.44 kB / 3.812 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/6.791, allocations: 329.7 kB / 3.812 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/6.791, allocations: 97.67 kB / 3.812 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/6.791, allocations: 3.969 kB / 3.812 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004267/6.791, allocations: 376.5 kB / 3.813 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/6.791, allocations: 11.44 kB / 3.813 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/6.791, allocations: 15.36 kB / 3.813 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/6.791, allocations: 11.72 kB / 3.813 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/6.792, allocations: 97.14 kB / 3.813 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/6.792, allocations: 23.44 kB / 3.813 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/6.792, allocations: 54.33 kB / 3.813 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/6.792, allocations: 28.25 kB / 3.813 GB, free: 106.1 MB / 0.5417 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 () * 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 6.121e-05/6.792, allocations: 136.2 kB / 3.813 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/6.792, allocations: 19.52 kB / 3.813 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/6.792, allocations: 173 kB / 3.813 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/6.792, allocations: 0 / 3.813 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/6.792, allocations: 0 / 3.813 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/6.792, allocations: 7.328 kB / 3.813 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/6.793, allocations: 426.7 kB / 3.814 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/6.793, allocations: 0 / 3.814 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/6.793, allocations: 21.88 kB / 3.814 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/6.793, allocations: 10.73 kB / 3.814 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/6.793, allocations: 4.062 kB / 3.814 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/6.793, allocations: 7.656 kB / 3.814 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/6.793, allocations: 0 / 3.814 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/6.793, allocations: 263.6 kB / 3.814 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/6.793, allocations: 117.4 kB / 3.814 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/6.793, allocations: 11.23 kB / 3.814 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/6.793, allocations: 0 / 3.814 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/6.793, allocations: 11.75 kB / 3.814 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/6.793, allocations: 3.906 kB / 3.814 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.832e-05/6.793, allocations: 154.4 kB / 3.814 GB, free: 105 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/6.793, allocations: 3.938 kB / 3.814 GB, free: 105 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004975/6.794, allocations: 111.5 kB / 3.814 GB, free: 105 MB / 0.5417 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 () * 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.0005475/6.794, allocations: 1.237 MB / 3.816 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002171/6.795, allocations: 170.8 kB / 3.816 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/6.795, allocations: 3.938 kB / 3.816 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.454e-05/6.795, allocations: 25.78 kB / 3.816 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/6.795, allocations: 40.5 kB / 3.816 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1743/6.969, allocations: 99.03 MB / 3.913 GB, free: 30.87 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/6.969, allocations: 0.7287 MB / 3.913 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002429/6.97, allocations: 53.91 kB / 3.913 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/6.97, allocations: 63.41 kB / 3.913 GB, free: 30 MB / 0.5417 GB Notification: Performance of SimCode: time 1.432e-06/6.97, allocations: 0 / 3.913 GB, free: 30 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/6.988, allocations: 7.807 MB / 3.921 GB, free: 22.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/6.988, allocations: 164.3 kB / 3.921 GB, free: 22.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/8.738, allocations: 0 / 3.921 GB, free: 22.12 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat