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.0014/0.0014, allocations: 185.6 kB / 17.06 MB, free: 5.07 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.351/1.351, allocations: 223.2 MB / 241 MB, free: 10.13 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.0009036/0.0009037, allocations: 90.08 kB / 292.2 MB, free: 10.69 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.3534/0.3534, allocations: 44.21 MB / 387.5 MB, free: 38.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 11.98 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4042, allocations: 61.9 MB / 0.5096 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.042/7.446, allocations: 3.083 GB / 3.593 GB, free: 98.65 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/7.446, allocations: 80.58 kB / 3.593 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8347/8.281, allocations: 213.2 MB / 3.801 GB, free: 87.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.595e-06/8.281, allocations: 0 / 3.801 GB, free: 87.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.732e-05/8.281, allocations: 3.969 kB / 3.801 GB, free: 87.27 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.005744/8.287, allocations: 1.16 MB / 3.802 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/8.287, allocations: 9.188 kB / 3.802 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/8.287, allocations: 21.34 kB / 3.802 GB, free: 86.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/8.287, allocations: 234.9 kB / 3.802 GB, free: 86.24 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/8.288, allocations: 118 kB / 3.803 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/8.288, allocations: 22.72 kB / 3.803 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/8.288, allocations: 326.8 kB / 3.803 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/8.288, allocations: 3.969 kB / 3.803 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/8.288, allocations: 11.97 kB / 3.803 GB, free: 85.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/8.288, allocations: 7.547 kB / 3.803 GB, free: 85.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/8.289, allocations: 0.7289 MB / 3.804 GB, free: 85.79 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/8.29, allocations: 1.237 MB / 3.805 GB, free: 84.78 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/8.29, allocations: 154.6 kB / 3.805 GB, free: 84.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002085/8.293, allocations: 2.779 MB / 3.808 GB, free: 81.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/8.293, allocations: 42.16 kB / 3.808 GB, free: 81.76 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/8.293, allocations: 3.938 kB / 3.808 GB, free: 81.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0003011/8.293, allocations: 130.9 kB / 3.808 GB, free: 81.69 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/8.293, allocations: 51.41 kB / 3.808 GB, free: 81.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/8.293, allocations: 196.1 kB / 3.808 GB, free: 81.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/8.293, allocations: 29.7 kB / 3.808 GB, free: 81.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/8.293, allocations: 211.5 kB / 3.808 GB, free: 81.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/8.293, allocations: 54.17 kB / 3.808 GB, free: 81.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/8.293, allocations: 12 kB / 3.808 GB, free: 81.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/8.293, allocations: 330.6 kB / 3.809 GB, free: 80.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.99e-05/8.294, allocations: 43.91 kB / 3.809 GB, free: 80.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/8.294, allocations: 336.3 kB / 3.809 GB, free: 80.49 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/8.294, allocations: 101.1 kB / 3.809 GB, free: 80.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/8.294, allocations: 0 / 3.809 GB, free: 80.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004578/8.294, allocations: 377 kB / 3.81 GB, free: 80.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/8.294, allocations: 9.938 kB / 3.81 GB, free: 80.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/8.294, allocations: 9.969 kB / 3.81 GB, free: 80.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/8.294, allocations: 15.84 kB / 3.81 GB, free: 80.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/8.295, allocations: 101.8 kB / 3.81 GB, free: 80.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.067e-05/8.295, allocations: 23.28 kB / 3.81 GB, free: 80.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/8.295, allocations: 51.38 kB / 3.81 GB, free: 80.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/8.295, allocations: 27.72 kB / 3.81 GB, free: 80.23 MB / 0.5261 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.000112/8.295, allocations: 145 kB / 3.81 GB, free: 80.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/8.295, allocations: 25.27 kB / 3.81 GB, free: 80.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/8.295, allocations: 163.8 kB / 3.81 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/8.295, allocations: 7 kB / 3.81 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/8.295, allocations: 0 / 3.81 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/8.295, allocations: 3.953 kB / 3.81 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/8.296, allocations: 430.5 kB / 3.811 GB, free: 79.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/8.296, allocations: 3.875 kB / 3.811 GB, free: 79.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.116e-05/8.296, allocations: 22.59 kB / 3.811 GB, free: 79.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/8.296, allocations: 3.953 kB / 3.811 GB, free: 79.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/8.296, allocations: 3.969 kB / 3.811 GB, free: 79.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/8.296, allocations: 3.938 kB / 3.811 GB, free: 79.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/8.296, allocations: 7.562 kB / 3.811 GB, free: 79.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/8.296, allocations: 263.4 kB / 3.811 GB, free: 79.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.974e-05/8.296, allocations: 110.9 kB / 3.811 GB, free: 79.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/8.296, allocations: 0 / 3.811 GB, free: 79.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/8.296, allocations: 7.531 kB / 3.811 GB, free: 79.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/8.297, allocations: 15.41 kB / 3.811 GB, free: 79.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/8.297, allocations: 3.969 kB / 3.811 GB, free: 79.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001039/8.297, allocations: 152.9 kB / 3.811 GB, free: 79.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/8.297, allocations: 0 / 3.811 GB, free: 79.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007136/8.297, allocations: 115.8 kB / 3.811 GB, free: 79.05 MB / 0.5261 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.0004182/8.298, allocations: 277.9 kB / 3.811 GB, free: 78.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000274/8.298, allocations: 173.4 kB / 3.812 GB, free: 78.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/8.298, allocations: 0 / 3.812 GB, free: 78.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.923e-05/8.298, allocations: 30.19 kB / 3.812 GB, free: 78.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/8.298, allocations: 38.52 kB / 3.812 GB, free: 78.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5586/8.857, allocations: 99.22 MB / 3.909 GB, free: 69.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/8.857, allocations: 0.7299 MB / 3.909 GB, free: 68.31 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002999/8.858, allocations: 55.61 kB / 3.909 GB, free: 68.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/8.858, allocations: 26.17 kB / 3.909 GB, free: 68.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/8.858, allocations: 0 / 3.909 GB, free: 68.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.00963/8.867, allocations: 4.813 MB / 3.914 GB, free: 68.25 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/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