Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009222/0.0009223, allocations: 175.7 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008745/0.0008749, allocations: 100.4 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2/0.2, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.726e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1373, allocations: 61.91 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.272/8.41, allocations: 3.083 GB / 3.577 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/8.41, allocations: 71.78 kB / 3.577 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8276/9.238, allocations: 209.8 MB / 3.782 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.673e-06/9.238, allocations: 0 / 3.782 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.346e-05/9.238, allocations: 0 / 3.782 GB, free: 9.312 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.006796/9.245, allocations: 1.149 MB / 3.783 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/9.245, allocations: 15.92 kB / 3.783 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/9.245, allocations: 27.72 kB / 3.783 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/9.245, allocations: 230.7 kB / 3.783 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/9.245, allocations: 115.4 kB / 3.784 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/9.245, allocations: 12 kB / 3.784 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008166/9.246, allocations: 0.7151 MB / 3.784 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/9.247, allocations: 290.6 kB / 3.785 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/9.247, allocations: 0 / 3.785 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/9.247, allocations: 0 / 3.785 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/9.247, allocations: 8 kB / 3.785 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/9.25, allocations: 3.5 MB / 3.788 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.497e-05/9.25, allocations: 50.56 kB / 3.788 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/9.25, allocations: 20.89 kB / 3.788 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004952/9.25, allocations: 446 kB / 3.789 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/9.25, allocations: 30.59 kB / 3.789 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 2.014e-06/9.25, allocations: 0 / 3.789 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0002179/9.251, allocations: 53.73 kB / 3.789 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/9.251, allocations: 59.44 kB / 3.789 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/9.251, allocations: 217.8 kB / 3.789 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/9.251, allocations: 29.7 kB / 3.789 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/9.251, allocations: 246.1 kB / 3.789 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.094e-05/9.251, allocations: 11.91 kB / 3.789 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/9.251, allocations: 0 / 3.789 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.296e-05/9.251, allocations: 330.8 kB / 3.789 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.637e-05/9.251, allocations: 32.88 kB / 3.789 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/9.251, allocations: 336.1 kB / 3.79 GB, free: 484 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/9.252, allocations: 115.7 kB / 3.79 GB, free: 368 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/9.252, allocations: 8 kB / 3.79 GB, free: 360 kB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006967/9.252, allocations: 341.9 kB / 3.79 GB, free: 12 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/9.252, allocations: 9.25 kB / 3.79 GB, free: 4 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3941/9.647, allocations: 10.7 kB / 3.79 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.268e-05/9.647, allocations: 15.38 kB / 3.79 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/9.647, allocations: 96.86 kB / 3.79 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.282e-05/9.647, allocations: 20.62 kB / 3.79 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/9.648, allocations: 50.41 kB / 3.79 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/9.648, allocations: 31.52 kB / 3.79 GB, free: 106.9 MB / 0.5105 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 0.0001452/9.648, allocations: 127.2 kB / 3.791 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/9.648, allocations: 20.48 kB / 3.791 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.286e-05/9.648, allocations: 17.23 kB / 3.791 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/9.648, allocations: 1.172 kB / 3.791 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/9.648, allocations: 4.688 kB / 3.791 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/9.648, allocations: 6.781 kB / 3.791 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/9.649, allocations: 172 kB / 3.791 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/9.649, allocations: 0 / 3.791 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-06/9.649, allocations: 0.7188 kB / 3.791 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/9.649, allocations: 0.7031 kB / 3.791 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/9.649, allocations: 0.6562 kB / 3.791 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/9.649, allocations: 1.375 kB / 3.791 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/9.649, allocations: 4.406 kB / 3.791 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/9.649, allocations: 154.9 kB / 3.791 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/9.649, allocations: 114.2 kB / 3.791 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/9.649, allocations: 2.109 kB / 3.791 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/9.649, allocations: 1.844 kB / 3.791 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/9.649, allocations: 5.031 kB / 3.791 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/9.649, allocations: 8.469 kB / 3.791 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002112/9.65, allocations: 147.2 kB / 3.791 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/9.65, allocations: 0 / 3.791 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001249/9.651, allocations: 97.77 kB / 3.791 GB, free: 106.3 MB / 0.5105 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.0006982/9.652, allocations: 300.4 kB / 3.792 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003474/9.652, allocations: 129.7 kB / 3.792 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/9.652, allocations: 1.219 kB / 3.792 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.776e-06/9.652, allocations: 5.094 kB / 3.792 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/9.652, allocations: 20.81 kB / 3.792 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.219/9.871, allocations: 96.38 MB / 3.886 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/9.872, allocations: 0.7266 MB / 3.887 GB, free: 91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002972/9.872, allocations: 47.94 kB / 3.887 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/9.872, allocations: 23 kB / 3.887 GB, free: 90.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.964e-06/9.872, allocations: 0 / 3.887 GB, free: 90.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.00721/9.879, allocations: 3.052 MB / 3.89 GB, free: 89.14 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches