Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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: 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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 183.7 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.865/1.865, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009117/0.0009117, allocations: 90.86 kB / 270.2 MB, free: 13.37 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.2494/0.2494, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1435, allocations: 58.85 MB / 490.2 MB, free: 8.695 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.607/7.75, allocations: 3.076 GB / 3.555 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/7.751, allocations: 73.69 kB / 3.555 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8558/8.607, allocations: 211.7 MB / 3.762 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.915e-06/8.607, allocations: 0 / 3.762 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.906e-05/8.607, allocations: 3.125 kB / 3.762 GB, free: 112.7 MB / 0.5105 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.006358/8.613, allocations: 1.163 MB / 3.763 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/8.613, allocations: 11.25 kB / 3.763 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/8.613, allocations: 25.88 kB / 3.763 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/8.614, allocations: 220.6 kB / 3.763 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/8.614, allocations: 131.8 kB / 3.763 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/8.614, allocations: 20.38 kB / 3.763 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006965/8.615, allocations: 326.6 kB / 3.764 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/8.615, allocations: 0 / 3.764 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/8.615, allocations: 12.22 kB / 3.764 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/8.615, allocations: 6.719 kB / 3.764 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/8.616, allocations: 0.7375 MB / 3.764 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/8.618, allocations: 1.232 MB / 3.766 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/8.618, allocations: 158.1 kB / 3.766 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003135/8.622, allocations: 2.78 MB / 3.768 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/8.622, allocations: 33.88 kB / 3.769 GB, free: 108 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 2.385e-06/8.622, allocations: 0 / 3.769 GB, free: 108 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0005089/8.622, allocations: 119.7 kB / 3.769 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/8.622, allocations: 55.16 kB / 3.769 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/8.622, allocations: 201.4 kB / 3.769 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/8.622, allocations: 29.09 kB / 3.769 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/8.623, allocations: 213.9 kB / 3.769 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/8.623, allocations: 55.11 kB / 3.769 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/8.623, allocations: 9.812 kB / 3.769 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000106/8.623, allocations: 328.5 kB / 3.769 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/8.623, allocations: 49.09 kB / 3.77 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/8.623, allocations: 332.4 kB / 3.77 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/8.624, allocations: 99.97 kB / 3.77 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/8.624, allocations: 3.812 kB / 3.77 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008354/8.624, allocations: 377.9 kB / 3.77 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/8.624, allocations: 14.09 kB / 3.77 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/8.624, allocations: 11.31 kB / 3.77 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.307e-05/8.625, allocations: 13.84 kB / 3.77 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/8.625, allocations: 98.03 kB / 3.77 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.699e-05/8.625, allocations: 17.84 kB / 3.77 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/8.625, allocations: 56.38 kB / 3.771 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/8.626, allocations: 25.78 kB / 3.771 GB, free: 106.7 MB / 0.5105 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.0001956/8.626, allocations: 159.9 kB / 3.771 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/8.626, allocations: 19.39 kB / 3.771 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004872/8.626, allocations: 167.3 kB / 3.771 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/8.626, allocations: 0 / 3.771 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/8.626, allocations: 3.906 kB / 3.771 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.319e-06/8.626, allocations: 3.938 kB / 3.771 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006705/8.627, allocations: 433.8 kB / 3.771 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/8.627, allocations: 3.125 kB / 3.771 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/8.627, allocations: 21.22 kB / 3.771 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/8.627, allocations: 3.594 kB / 3.771 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/8.627, allocations: 0 / 3.771 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/8.627, allocations: 3.25 kB / 3.771 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/8.627, allocations: 0 / 3.771 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/8.628, allocations: 263.6 kB / 3.772 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/8.628, allocations: 118.9 kB / 3.772 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/8.628, allocations: 3.953 kB / 3.772 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/8.628, allocations: 6.938 kB / 3.772 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/8.628, allocations: 7.406 kB / 3.772 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/8.628, allocations: 7.281 kB / 3.772 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001575/8.628, allocations: 150.4 kB / 3.772 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.31e-07/8.628, allocations: 3.938 kB / 3.772 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001069/8.629, allocations: 119.6 kB / 3.772 GB, free: 105.6 MB / 0.5105 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.0006429/8.63, allocations: 276.2 kB / 3.772 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004184/8.63, allocations: 164.2 kB / 3.772 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/8.63, allocations: 3.719 kB / 3.772 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.96e-05/8.63, allocations: 30.97 kB / 3.772 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/8.631, allocations: 41.72 kB / 3.772 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2541/8.885, allocations: 98.51 MB / 3.869 GB, free: 67.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/8.886, allocations: 0.7301 MB / 3.869 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000408/8.886, allocations: 53.23 kB / 3.869 GB, free: 66.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/8.886, allocations: 34.38 kB / 3.869 GB, free: 66.69 MB / 0.5105 GB Notification: Performance of SimCode: time 1.843e-06/8.886, allocations: 0 / 3.869 GB, free: 66.69 MB / 0.5105 GB Notification: Performance of Templates: time 0.01088/8.897, allocations: 4.799 MB / 3.874 GB, free: 62.46 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches