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.001311/0.001311, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009712/0.0009712, allocations: 91.03 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 45.14 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.891e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.244/7.348, allocations: 3.084 GB / 3.588 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/7.349, allocations: 74.41 kB / 3.588 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7618/8.11, allocations: 210.1 MB / 3.793 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.162e-06/8.111, allocations: 3.969 kB / 3.793 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.293e-05/8.111, allocations: 0 / 3.793 GB, free: 113.2 MB / 0.5261 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.004975/8.116, allocations: 1.157 MB / 3.794 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/8.116, allocations: 11.69 kB / 3.794 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/8.116, allocations: 33.78 kB / 3.794 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/8.116, allocations: 218.5 kB / 3.795 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-05/8.116, allocations: 119.1 kB / 3.795 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/8.116, allocations: 11.81 kB / 3.795 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006465/8.117, allocations: 0.7137 MB / 3.795 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/8.117, allocations: 285.9 kB / 3.796 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/8.117, allocations: 11.44 kB / 3.796 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/8.117, allocations: 0 / 3.796 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/8.117, allocations: 10.12 kB / 3.796 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/8.12, allocations: 3.502 MB / 3.799 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.207e-05/8.12, allocations: 45.58 kB / 3.799 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/8.12, allocations: 16.73 kB / 3.799 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000448/8.12, allocations: 452.8 kB / 3.8 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/8.12, allocations: 30.56 kB / 3.8 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.773e-06/8.12, allocations: 0 / 3.8 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001845/8.121, allocations: 52.25 kB / 3.8 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/8.121, allocations: 51.41 kB / 3.8 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/8.121, allocations: 221.9 kB / 3.8 GB, free: 108 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/8.121, allocations: 29.67 kB / 3.8 GB, free: 108 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.329e-05/8.121, allocations: 245.4 kB / 3.8 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/8.121, allocations: 10.06 kB / 3.8 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/8.121, allocations: 0 / 3.8 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/8.121, allocations: 337.8 kB / 3.801 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-05/8.121, allocations: 27.75 kB / 3.801 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/8.121, allocations: 346.8 kB / 3.801 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/8.122, allocations: 111 kB / 3.801 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/8.122, allocations: 3.75 kB / 3.801 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006125/8.122, allocations: 336.8 kB / 3.801 GB, free: 107 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/8.122, allocations: 12.66 kB / 3.801 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/8.122, allocations: 13.83 kB / 3.801 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/8.122, allocations: 20.39 kB / 3.801 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/8.123, allocations: 100.5 kB / 3.801 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/8.123, allocations: 19.53 kB / 3.801 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/8.123, allocations: 48.83 kB / 3.802 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/8.123, allocations: 28.44 kB / 3.802 GB, free: 106.9 MB / 0.5261 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 7.619e-05/8.123, allocations: 133 kB / 3.802 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001118/8.123, allocations: 58.31 kB / 3.802 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/8.123, allocations: 21.47 kB / 3.802 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/8.123, allocations: 18.53 kB / 3.802 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/8.123, allocations: 0 / 3.802 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/8.123, allocations: 0 / 3.802 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/8.123, allocations: 7.547 kB / 3.802 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/8.123, allocations: 184.3 kB / 3.802 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/8.123, allocations: 0 / 3.802 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/8.123, allocations: 0 / 3.802 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/8.123, allocations: 3.938 kB / 3.802 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/8.123, allocations: 0 / 3.802 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/8.123, allocations: 0 / 3.802 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/8.123, allocations: 0 / 3.802 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/8.123, allocations: 153.3 kB / 3.802 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/8.124, allocations: 102.5 kB / 3.802 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/8.124, allocations: 3.844 kB / 3.802 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/8.124, allocations: 0 / 3.802 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/8.124, allocations: 3.938 kB / 3.802 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/8.124, allocations: 11.39 kB / 3.802 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001001/8.124, allocations: 145.9 kB / 3.802 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/8.124, allocations: 0 / 3.802 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007164/8.125, allocations: 104.9 kB / 3.802 GB, free: 106.2 MB / 0.5261 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.0006448/8.125, allocations: 0.8847 MB / 3.803 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002098/8.125, allocations: 130.1 kB / 3.803 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/8.125, allocations: 3.828 kB / 3.803 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.842e-06/8.125, allocations: 7.547 kB / 3.803 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/8.126, allocations: 14.34 kB / 3.803 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2024/8.328, allocations: 96.64 MB / 3.898 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/8.328, allocations: 0.7287 MB / 3.899 GB, free: 53.83 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002717/8.329, allocations: 49.86 kB / 3.899 GB, free: 53.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/8.329, allocations: 55.41 kB / 3.899 GB, free: 53.73 MB / 0.5261 GB Notification: Performance of SimCode: time 1.613e-06/8.329, allocations: 0 / 3.899 GB, free: 53.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/8.355, allocations: 4.917 MB / 3.903 GB, free: 48.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/8.356, allocations: 163.8 kB / 3.904 GB, free: 48.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/10.27, allocations: 3.938 kB / 3.904 GB, free: 48.62 MB / 0.5261 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