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.001056/0.001056, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001643/0.001643, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.365/1.365, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2077/0.2077, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 60.94 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1184, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03171/0.1502, allocations: 26.79 MB / 496 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.1539, allocations: 2.948 MB / 499 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.1542, allocations: 4 kB / 499 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.1546, allocations: 51.61 kB / 499 MB, free: 472 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002472/0.1571, allocations: 0.7267 MB / 499.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.1575, allocations: 130 kB / 499.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005708/0.1581, allocations: 374 kB / 0.4885 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.575e-05/0.1582, allocations: 17.66 kB / 0.4886 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2692/0.4274, allocations: 15.47 MB / 0.5037 GB, free: 23.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.4278, allocations: 138.3 kB / 0.5038 GB, free: 23.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.386e-05/0.4279, allocations: 9.094 kB / 0.5038 GB, free: 23.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008486/0.4363, allocations: 3.45 MB / 0.5072 GB, free: 22.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.4365, allocations: 40.52 kB / 0.5072 GB, free: 22.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.4366, allocations: 109.1 kB / 0.5073 GB, free: 22.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008996/0.4375, allocations: 470.4 kB / 0.5078 GB, free: 22.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4376, allocations: 0 / 0.5078 GB, free: 22.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4376, allocations: 1.969 kB / 0.5078 GB, free: 22.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.4376, allocations: 1.094 kB / 0.5078 GB, free: 22.69 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.001077/0.4387, allocations: 0.5983 MB / 0.5084 GB, free: 22.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.4387, allocations: 10.34 kB / 0.5084 GB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.4389, allocations: 24.06 kB / 0.5084 GB, free: 22.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.4391, allocations: 229.2 kB / 0.5086 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.211e-05/0.4392, allocations: 123.8 kB / 0.5087 GB, free: 21.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.4392, allocations: 21.91 kB / 0.5087 GB, free: 21.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.4397, allocations: 330.1 kB / 0.5091 GB, free: 21.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4397, allocations: 0.8438 kB / 0.5091 GB, free: 21.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.4397, allocations: 14.27 kB / 0.5091 GB, free: 21.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.4397, allocations: 9.703 kB / 0.5091 GB, free: 21.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007906/0.4405, allocations: 0.7364 MB / 0.5098 GB, free: 21.86 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.001122/0.4417, allocations: 1.3 MB / 0.5111 GB, free: 20.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.442, allocations: 166.1 kB / 0.5112 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.4421, allocations: 88.58 kB / 0.5113 GB, free: 20.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001656/0.4438, allocations: 2.809 MB / 0.5141 GB, free: 17.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.4438, allocations: 36.52 kB / 0.5141 GB, free: 17.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.4438, allocations: 1.125 kB / 0.5141 GB, free: 17.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002625/0.4441, allocations: 123.6 kB / 0.5142 GB, free: 17.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.4441, allocations: 56.09 kB / 0.5143 GB, free: 17.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.4443, allocations: 215.6 kB / 0.5145 GB, free: 17.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.4443, allocations: 26.86 kB / 0.5145 GB, free: 17.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.707e-05/0.4444, allocations: 221.2 kB / 0.5147 GB, free: 17.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.4445, allocations: 39.03 kB / 0.5147 GB, free: 17.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.433e-05/0.4446, allocations: 94.25 kB / 0.5148 GB, free: 17.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.223e-05/0.4446, allocations: 328.1 kB / 0.5151 GB, free: 17.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.4447, allocations: 44.78 kB / 0.5152 GB, free: 17.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.4449, allocations: 349.7 kB / 0.5155 GB, free: 16.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.4452, allocations: 446.6 kB / 0.5159 GB, free: 16.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.4452, allocations: 3.438 kB / 0.516 GB, free: 16.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004863/0.4457, allocations: 381.5 kB / 0.5163 GB, free: 16.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4457, allocations: 9.594 kB / 0.5163 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.4457, allocations: 11.5 kB / 0.5163 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.4457, allocations: 21.06 kB / 0.5164 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.446, allocations: 98.94 kB / 0.5165 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/0.446, allocations: 18.67 kB / 0.5165 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.4463, allocations: 54.09 kB / 0.5165 GB, free: 16.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.4463, allocations: 29.27 kB / 0.5165 GB, free: 16.24 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 8.509e-05/0.4464, allocations: 154.4 kB / 0.5167 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.4465, allocations: 19.91 kB / 0.5167 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.4467, allocations: 143.7 kB / 0.5169 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.4467, allocations: 9.359 kB / 0.5169 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4468, allocations: 0 / 0.5169 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4468, allocations: 0.7031 kB / 0.5169 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.4471, allocations: 417.4 kB / 0.5173 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.4471, allocations: 1.281 kB / 0.5173 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.4472, allocations: 11.81 kB / 0.5173 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4472, allocations: 1.906 kB / 0.5173 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.4472, allocations: 6.547 kB / 0.5173 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4472, allocations: 5.156 kB / 0.5173 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4472, allocations: 1.844 kB / 0.5173 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.4474, allocations: 203.2 kB / 0.5175 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.4474, allocations: 99.38 kB / 0.5176 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.4475, allocations: 6.781 kB / 0.5176 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.4476, allocations: 7.547 kB / 0.5176 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.4477, allocations: 10.38 kB / 0.5176 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.4477, allocations: 4.672 kB / 0.5176 GB, free: 15.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.4478, allocations: 160.7 kB / 0.5178 GB, free: 15.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4478, allocations: 0 / 0.5178 GB, free: 15.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004687/0.4483, allocations: 90.48 kB / 0.5178 GB, free: 15.36 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.0002278/0.4485, allocations: 171.4 kB / 0.518 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.4488, allocations: 170.2 kB / 0.5182 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4488, allocations: 1.375 kB / 0.5182 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/0.4488, allocations: 24.66 kB / 0.5182 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.4493, allocations: 47.58 kB / 0.5182 GB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000867/0.4502, allocations: 0.5247 MB / 0.5188 GB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.4504, allocations: 0.7261 MB / 0.5195 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002472/0.4506, allocations: 58.48 kB / 0.5195 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.4507, allocations: 28.17 kB / 0.5195 GB, free: 14.28 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4507, allocations: 4.5 kB / 0.5195 GB, free: 14.28 MB / 382.1 MB Notification: Performance of Templates: time 0.006547/0.4572, allocations: 3.115 MB / 0.5226 GB, free: 13.97 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