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.001144/0.001143, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008173/0.0008174, allocations: 100.1 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1805/0.1805, allocations: 45.15 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.496e-05/1.498e-05, allocations: 0 / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.277/7.393, allocations: 3.084 GB / 3.588 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/7.394, allocations: 72.41 kB / 3.588 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7725/8.166, allocations: 210.1 MB / 3.793 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.794e-06/8.166, allocations: 0 / 3.793 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.51e-05/8.166, allocations: 3.906 kB / 3.793 GB, free: 114.1 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.005934/8.172, allocations: 1.164 MB / 3.794 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/8.172, allocations: 10.81 kB / 3.794 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/8.172, allocations: 25.64 kB / 3.794 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/8.173, allocations: 222.2 kB / 3.794 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/8.173, allocations: 114.4 kB / 3.795 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/8.173, allocations: 10.38 kB / 3.795 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006658/8.173, allocations: 0.7191 MB / 3.795 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/8.174, allocations: 286.9 kB / 3.796 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/8.174, allocations: 0 / 3.796 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/8.174, allocations: 0 / 3.796 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/8.174, allocations: 7.906 kB / 3.796 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002722/8.177, allocations: 3.501 MB / 3.799 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.391e-05/8.177, allocations: 48.73 kB / 3.799 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/8.177, allocations: 16.36 kB / 3.799 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004678/8.177, allocations: 450 kB / 3.8 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/8.177, allocations: 34.38 kB / 3.8 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 3.347e-06/8.177, allocations: 3.438 kB / 3.8 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0002087/8.178, allocations: 56.67 kB / 3.8 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/8.178, allocations: 55.16 kB / 3.8 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/8.178, allocations: 213.8 kB / 3.8 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/8.178, allocations: 25.7 kB / 3.8 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/8.178, allocations: 252.1 kB / 3.8 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/8.178, allocations: 9.109 kB / 3.8 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/8.178, allocations: 3.969 kB / 3.8 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001016/8.178, allocations: 332.9 kB / 3.8 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-05/8.178, allocations: 33.62 kB / 3.8 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/8.178, allocations: 337.2 kB / 3.801 GB, free: 108 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/8.179, allocations: 113.7 kB / 3.801 GB, free: 108 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/8.179, allocations: 3.844 kB / 3.801 GB, free: 108 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005992/8.179, allocations: 336.8 kB / 3.801 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/8.179, allocations: 15.02 kB / 3.801 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/8.179, allocations: 13.39 kB / 3.801 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/8.179, allocations: 19.22 kB / 3.801 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/8.18, allocations: 94.58 kB / 3.801 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/8.18, allocations: 23.66 kB / 3.801 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/8.18, allocations: 53.42 kB / 3.801 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/8.18, allocations: 26.91 kB / 3.801 GB, free: 107.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 8.4e-05/8.18, allocations: 131.6 kB / 3.802 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/8.18, allocations: 15.47 kB / 3.802 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/8.18, allocations: 22.17 kB / 3.802 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/8.18, allocations: 0 / 3.802 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/8.18, allocations: 0 / 3.802 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/8.18, allocations: 3.781 kB / 3.802 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/8.18, allocations: 176.4 kB / 3.802 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/8.18, allocations: 0 / 3.802 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-07/8.18, allocations: 3.969 kB / 3.802 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/8.18, allocations: 0 / 3.802 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/8.18, allocations: 0 / 3.802 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/8.18, allocations: 2.078 kB / 3.802 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/8.18, allocations: 0 / 3.802 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/8.18, allocations: 161.5 kB / 3.802 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/8.181, allocations: 114.7 kB / 3.802 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/8.181, allocations: 0 / 3.802 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/8.181, allocations: 3.906 kB / 3.802 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/8.181, allocations: 0 / 3.802 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/8.181, allocations: 3.75 kB / 3.802 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.296e-05/8.181, allocations: 147.7 kB / 3.802 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/8.181, allocations: 0 / 3.802 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006164/8.181, allocations: 99.14 kB / 3.802 GB, free: 107.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.0004479/8.182, allocations: 298.9 kB / 3.803 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002119/8.182, allocations: 130.5 kB / 3.803 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/8.182, allocations: 0 / 3.803 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.842e-06/8.182, allocations: 7.844 kB / 3.803 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/8.182, allocations: 21.16 kB / 3.803 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1927/8.375, allocations: 96.59 MB / 3.897 GB, free: 58.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/8.375, allocations: 0.7209 MB / 3.898 GB, free: 57.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002814/8.376, allocations: 53.84 kB / 3.898 GB, free: 57.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/8.376, allocations: 27.42 kB / 3.898 GB, free: 57.76 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/8.376, allocations: 0 / 3.898 GB, free: 57.76 MB / 0.5261 GB Notification: Performance of Templates: time 0.005978/8.382, allocations: 3.045 MB / 3.901 GB, free: 54.74 MB / 0.5261 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