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: translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 196.6 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.227/1.227, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008534/0.0008534, allocations: 89.58 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.1678/0.1678, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.517e-05, allocations: 4 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09605, allocations: 63.25 MB / 0.5114 GB, free: 6.785 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.854/5.95, allocations: 3.084 GB / 3.596 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/5.95, allocations: 70.28 kB / 3.596 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.658/6.608, allocations: 213.2 MB / 3.804 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.023e-06/6.608, allocations: 3.969 kB / 3.804 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.227e-05/6.608, allocations: 0 / 3.804 GB, free: 112.8 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.00485/6.613, allocations: 1.163 MB / 3.805 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/6.613, allocations: 13.5 kB / 3.805 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/6.613, allocations: 27.81 kB / 3.805 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/6.614, allocations: 221.8 kB / 3.805 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/6.614, allocations: 120.2 kB / 3.805 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/6.614, allocations: 20.81 kB / 3.805 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/6.614, allocations: 317.5 kB / 3.806 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/6.614, allocations: 7.656 kB / 3.806 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/6.614, allocations: 15.44 kB / 3.806 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/6.614, allocations: 3.969 kB / 3.806 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000617/6.615, allocations: 0.7328 MB / 3.806 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/6.616, allocations: 1.222 MB / 3.808 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/6.616, allocations: 160.6 kB / 3.808 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/6.617, allocations: 81.08 kB / 3.808 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002008/6.619, allocations: 3.042 MB / 3.811 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/6.619, allocations: 34.56 kB / 3.811 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/6.619, allocations: 0 / 3.811 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0002414/6.619, allocations: 98.48 kB / 3.811 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/6.619, allocations: 51.41 kB / 3.811 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/6.619, allocations: 205.1 kB / 3.811 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/6.619, allocations: 25.7 kB / 3.811 GB, free: 107 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/6.619, allocations: 215.1 kB / 3.811 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/6.619, allocations: 53.98 kB / 3.811 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/6.619, allocations: 8 kB / 3.811 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.499e-05/6.619, allocations: 326.2 kB / 3.812 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/6.619, allocations: 46.83 kB / 3.812 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/6.619, allocations: 324.5 kB / 3.812 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/6.62, allocations: 103.9 kB / 3.812 GB, free: 106 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/6.62, allocations: 3.844 kB / 3.812 GB, free: 106 MB / 0.5417 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004485/6.62, allocations: 373.2 kB / 3.813 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/6.62, allocations: 9.156 kB / 3.813 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/6.62, allocations: 15.94 kB / 3.813 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/6.62, allocations: 15.16 kB / 3.813 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/6.62, allocations: 101.3 kB / 3.813 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/6.62, allocations: 19.36 kB / 3.813 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/6.621, allocations: 46.81 kB / 3.813 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/6.621, allocations: 37.42 kB / 3.813 GB, free: 105.8 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 7.388e-05/6.621, allocations: 132 kB / 3.813 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/6.621, allocations: 23.45 kB / 3.813 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/6.621, allocations: 171.8 kB / 3.813 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/6.621, allocations: 0 / 3.813 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/6.621, allocations: 0 / 3.813 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/6.621, allocations: 3.812 kB / 3.813 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/6.622, allocations: 427.2 kB / 3.814 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/6.622, allocations: 4.125 kB / 3.814 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/6.622, allocations: 15.41 kB / 3.814 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/6.622, allocations: 3.875 kB / 3.814 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/6.622, allocations: 5.453 kB / 3.814 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/6.622, allocations: 7.906 kB / 3.814 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/6.622, allocations: 3.609 kB / 3.814 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/6.622, allocations: 264.2 kB / 3.814 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/6.622, allocations: 107.3 kB / 3.814 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/6.622, allocations: 11.7 kB / 3.814 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/6.622, allocations: 11.56 kB / 3.814 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/6.622, allocations: 9.781 kB / 3.814 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/6.622, allocations: 7.406 kB / 3.814 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.79e-05/6.622, allocations: 151.3 kB / 3.814 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/6.622, allocations: 0 / 3.814 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005528/6.623, allocations: 117 kB / 3.814 GB, free: 104.7 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.0003629/6.623, allocations: 270.4 kB / 3.814 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002236/6.623, allocations: 163.3 kB / 3.815 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/6.623, allocations: 5.5 kB / 3.815 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.252e-05/6.623, allocations: 26.45 kB / 3.815 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/6.624, allocations: 44.25 kB / 3.815 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1797/6.803, allocations: 98.96 MB / 3.911 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/6.804, allocations: 0.7365 MB / 3.912 GB, free: 30.97 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002624/6.804, allocations: 53.84 kB / 3.912 GB, free: 30.92 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/6.804, allocations: 31.42 kB / 3.912 GB, free: 30.89 MB / 0.5417 GB Notification: Performance of SimCode: time 5.82e-07/6.804, allocations: 0 / 3.912 GB, free: 30.89 MB / 0.5417 GB Notification: Performance of Templates: time 0.007304/6.811, allocations: 5.32 MB / 3.917 GB, free: 25.59 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches