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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009276/0.0009277, allocations: 91.8 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001099, allocations: 171.2 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2358/0.2358, allocations: 44.25 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 8.531 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1444, allocations: 61.92 MB / 472.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03312/0.1775, allocations: 27.79 MB / 0.4883 GB, free: 1.445 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003914/0.1815, allocations: 2.968 MB / 0.4912 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.1817, allocations: 0 / 0.4912 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.182, allocations: 55.7 kB / 0.4913 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.184, allocations: 0.6414 MB / 0.4919 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.1843, allocations: 142.9 kB / 0.492 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005908/0.1849, allocations: 438.1 kB / 0.4925 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.766e-05/0.185, allocations: 21.64 kB / 0.4925 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3616/0.5466, allocations: 14.43 MB / 0.5066 GB, free: 22.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004556/0.5471, allocations: 151.4 kB / 0.5067 GB, free: 22.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.5472, allocations: 6.094 kB / 0.5067 GB, free: 22.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007854/0.555, allocations: 3.426 MB / 0.5101 GB, free: 21.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.5552, allocations: 48.03 kB / 0.5101 GB, free: 21.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.5554, allocations: 135.5 kB / 0.5102 GB, free: 21.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.5564, allocations: 468.7 kB / 0.5107 GB, free: 21.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5564, allocations: 0 / 0.5107 GB, free: 21.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5564, allocations: 0 / 0.5107 GB, free: 21.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.5564, allocations: 0 / 0.5107 GB, free: 21.63 MB / 382.1 MB 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.001051/0.5575, allocations: 0.5539 MB / 0.5112 GB, free: 21.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5575, allocations: 8.844 kB / 0.5112 GB, free: 21.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.5577, allocations: 25.44 kB / 0.5113 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.5579, allocations: 226.5 kB / 0.5115 GB, free: 21.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.558, allocations: 123 kB / 0.5116 GB, free: 20.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.5581, allocations: 20.81 kB / 0.5116 GB, free: 20.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.5586, allocations: 331.5 kB / 0.5119 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5586, allocations: 4.875 kB / 0.5119 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.5587, allocations: 11.7 kB / 0.5119 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.5587, allocations: 6.156 kB / 0.5119 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000942/0.5596, allocations: 0.7353 MB / 0.5127 GB, free: 20.79 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.5608, allocations: 1.304 MB / 0.5139 GB, free: 19.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.5612, allocations: 160.1 kB / 0.5141 GB, free: 19.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.5613, allocations: 84.64 kB / 0.5142 GB, free: 19.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001928/0.5633, allocations: 2.815 MB / 0.5169 GB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.5633, allocations: 32.19 kB / 0.5169 GB, free: 16.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.575e-06/0.5633, allocations: 0 / 0.5169 GB, free: 16.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002652/0.5636, allocations: 118.4 kB / 0.5171 GB, free: 16.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.5636, allocations: 53.09 kB / 0.5171 GB, free: 16.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.5638, allocations: 233.5 kB / 0.5173 GB, free: 16.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.5638, allocations: 27.48 kB / 0.5174 GB, free: 16.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.899e-05/0.5639, allocations: 218.3 kB / 0.5176 GB, free: 16.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.564, allocations: 44.97 kB / 0.5176 GB, free: 16.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.564, allocations: 39.52 kB / 0.5176 GB, free: 16.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.967e-05/0.5641, allocations: 328.6 kB / 0.518 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.235e-05/0.5642, allocations: 49.5 kB / 0.518 GB, free: 16.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.5644, allocations: 341.8 kB / 0.5183 GB, free: 15.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.5647, allocations: 448.4 kB / 0.5188 GB, free: 15.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.5647, allocations: 4 kB / 0.5188 GB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005268/0.5653, allocations: 381.1 kB / 0.5191 GB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.5653, allocations: 9.688 kB / 0.5191 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.5653, allocations: 15.72 kB / 0.5192 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.5653, allocations: 17.09 kB / 0.5192 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.5656, allocations: 100.7 kB / 0.5193 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.5656, allocations: 18.86 kB / 0.5193 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.5659, allocations: 59.22 kB / 0.5193 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.5659, allocations: 32.64 kB / 0.5194 GB, free: 15.16 MB / 382.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.689e-05/0.566, allocations: 146.2 kB / 0.5195 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.5661, allocations: 20.36 kB / 0.5195 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.5663, allocations: 146.8 kB / 0.5197 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.5664, allocations: 6.969 kB / 0.5197 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5664, allocations: 4 kB / 0.5197 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5664, allocations: 0.6094 kB / 0.5197 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.5667, allocations: 409.9 kB / 0.5201 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.5668, allocations: 0.6094 kB / 0.5201 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.433e-05/0.5668, allocations: 16.44 kB / 0.5201 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.5668, allocations: 6.938 kB / 0.5201 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.5668, allocations: 4.031 kB / 0.5201 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.5668, allocations: 6.594 kB / 0.5201 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5669, allocations: 0 / 0.5201 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.567, allocations: 205.1 kB / 0.5203 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/0.5671, allocations: 111.2 kB / 0.5204 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.5671, allocations: 2.156 kB / 0.5204 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.5673, allocations: 12.61 kB / 0.5204 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.5673, allocations: 9.281 kB / 0.5204 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.5673, allocations: 4.828 kB / 0.5204 GB, free: 14.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.5675, allocations: 155.6 kB / 0.5206 GB, free: 14.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5675, allocations: 1.562 kB / 0.5206 GB, free: 14.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000506/0.568, allocations: 89.2 kB / 0.5207 GB, free: 14.28 MB / 382.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003182/0.5683, allocations: 154.7 kB / 0.5208 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003207/0.5686, allocations: 173 kB / 0.521 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5686, allocations: 0.875 kB / 0.521 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.5687, allocations: 24.67 kB / 0.521 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.5692, allocations: 56.12 kB / 0.5211 GB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.5704, allocations: 0.6429 MB / 0.5217 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.5706, allocations: 0.7282 MB / 0.5224 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002327/0.5708, allocations: 55.28 kB / 0.5225 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.5709, allocations: 24.09 kB / 0.5225 GB, free: 13.14 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5709, allocations: 1.281 kB / 0.5225 GB, free: 13.14 MB / 382.1 MB Notification: Performance of Templates: time 0.006764/0.5776, allocations: 3.024 MB / 0.5254 GB, free: 12.84 MB / 382.1 MB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches