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.0009265/0.0009266, allocations: 187 kB / 18.09 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 223.3 MB / 242.1 MB, free: 9.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007412/0.0007412, allocations: 90.92 kB / 293.3 MB, free: 10.56 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.3249/0.3249, allocations: 44.15 MB / 388.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 11.98 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3934, allocations: 61.88 MB / 0.5107 GB, free: 38.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.171/6.564, allocations: 3.084 GB / 3.594 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/6.564, allocations: 76.92 kB / 3.594 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.405/6.969, allocations: 189.2 MB / 3.779 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.483e-06/6.969, allocations: 0 / 3.779 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.886e-05/6.97, allocations: 7.938 kB / 3.779 GB, free: 7.973 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.005987/6.976, allocations: 1.162 MB / 3.78 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/6.976, allocations: 8.031 kB / 3.78 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/6.976, allocations: 32.67 kB / 3.78 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/6.976, allocations: 228 kB / 3.78 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/6.976, allocations: 123.9 kB / 3.781 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/6.976, allocations: 24.38 kB / 3.781 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005522/6.977, allocations: 320.2 kB / 3.781 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/6.977, allocations: 3.938 kB / 3.781 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/6.977, allocations: 12 kB / 3.781 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/6.977, allocations: 8 kB / 3.781 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006962/6.978, allocations: 0.7468 MB / 3.782 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/6.979, allocations: 1.171 MB / 3.783 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/6.979, allocations: 159.8 kB / 3.783 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/6.979, allocations: 81.48 kB / 3.783 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002126/6.982, allocations: 2.817 MB / 3.786 GB, free: 332 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/6.982, allocations: 38.56 kB / 3.786 GB, free: 284 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/6.982, allocations: 0 / 3.786 GB, free: 284 kB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0002887/6.982, allocations: 117.3 kB / 3.786 GB, free: 160 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/6.982, allocations: 51.41 kB / 3.786 GB, free: 96 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3525/7.334, allocations: 217 kB / 3.786 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/7.335, allocations: 28.23 kB / 3.786 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/7.335, allocations: 220.3 kB / 3.786 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/7.335, allocations: 46.16 kB / 3.786 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/7.335, allocations: 7.781 kB / 3.786 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/7.335, allocations: 330.8 kB / 3.787 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.105e-05/7.335, allocations: 42.98 kB / 3.787 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/7.335, allocations: 341.8 kB / 3.787 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/7.336, allocations: 448.9 kB / 3.788 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/7.336, allocations: 3.938 kB / 3.788 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006362/7.336, allocations: 377.8 kB / 3.788 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/7.336, allocations: 9.5 kB / 3.788 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/7.336, allocations: 10.59 kB / 3.788 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.638e-05/7.336, allocations: 14.06 kB / 3.788 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/7.337, allocations: 99.19 kB / 3.788 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-05/7.337, allocations: 25.22 kB / 3.788 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/7.337, allocations: 54.02 kB / 3.788 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/7.337, allocations: 32.66 kB / 3.788 GB, free: 104.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001465/7.337, allocations: 150.8 kB / 3.788 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/7.337, allocations: 18.03 kB / 3.788 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/7.338, allocations: 150.6 kB / 3.788 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/7.338, allocations: 7.625 kB / 3.789 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/7.338, allocations: 0 / 3.789 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/7.338, allocations: 0.8906 kB / 3.789 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/7.338, allocations: 407.9 kB / 3.789 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/7.338, allocations: 4.875 kB / 3.789 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/7.338, allocations: 11.27 kB / 3.789 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/7.338, allocations: 3.344 kB / 3.789 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/7.338, allocations: 3.875 kB / 3.789 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/7.338, allocations: 5.859 kB / 3.789 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/7.338, allocations: 0 / 3.789 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/7.338, allocations: 214.3 kB / 3.789 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/7.339, allocations: 111.8 kB / 3.789 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/7.339, allocations: 5.156 kB / 3.789 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/7.339, allocations: 3.406 kB / 3.789 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/7.339, allocations: 6.422 kB / 3.789 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/7.339, allocations: 7.469 kB / 3.789 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001016/7.339, allocations: 156.9 kB / 3.789 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/7.339, allocations: 3.938 kB / 3.789 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006459/7.34, allocations: 107.8 kB / 3.79 GB, free: 103.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0004127/7.34, allocations: 275.5 kB / 3.79 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002861/7.34, allocations: 166.7 kB / 3.79 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/7.34, allocations: 0 / 3.79 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-05/7.34, allocations: 25.61 kB / 3.79 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/7.341, allocations: 44.2 kB / 3.79 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07442/7.415, allocations: 42.31 MB / 3.831 GB, free: 99.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/7.415, allocations: 0.7303 MB / 3.832 GB, free: 99 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003137/7.416, allocations: 52.92 kB / 3.832 GB, free: 98.99 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/7.416, allocations: 26.34 kB / 3.832 GB, free: 98.98 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/7.416, allocations: 3.5 kB / 3.832 GB, free: 98.98 MB / 0.5261 GB Notification: Performance of Templates: time 0.009819/7.426, allocations: 4.825 MB / 3.837 GB, free: 98.88 MB / 0.5261 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/jenkins1/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