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.001019/0.001019, allocations: 93.8 kB / 17.35 MB, free: 6.371 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.001132/0.001132, allocations: 176.9 kB / 18.25 MB, free: 5.523 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.415/1.415, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2379/0.2379, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002805, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1196, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03161/0.1513, allocations: 27.79 MB / 0.4883 GB, free: 1.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003407/0.1547, allocations: 2.968 MB / 0.4912 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1549, allocations: 3.938 kB / 0.4912 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.1552, allocations: 47.78 kB / 0.4913 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.1573, allocations: 0.6529 MB / 0.4919 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.1577, allocations: 129.7 kB / 0.492 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006324/0.1583, allocations: 446 kB / 0.4925 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.685e-05/0.1584, allocations: 17.67 kB / 0.4925 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2935/0.4519, allocations: 14.43 MB / 0.5066 GB, free: 22.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.4523, allocations: 152.9 kB / 0.5067 GB, free: 22.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/0.4524, allocations: 5.812 kB / 0.5067 GB, free: 22.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007813/0.4602, allocations: 3.43 MB / 0.5101 GB, free: 21.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.4603, allocations: 46.45 kB / 0.5101 GB, free: 21.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.4605, allocations: 130.3 kB / 0.5102 GB, free: 21.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009115/0.4615, allocations: 471.1 kB / 0.5107 GB, free: 21.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4615, allocations: 0 / 0.5107 GB, free: 21.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4615, allocations: 0 / 0.5107 GB, free: 21.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4615, allocations: 1.25 kB / 0.5107 GB, free: 21.68 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.000974/0.4625, allocations: 0.5499 MB / 0.5112 GB, free: 21.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4625, allocations: 9.547 kB / 0.5112 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.4627, allocations: 28.47 kB / 0.5113 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.4629, allocations: 224.7 kB / 0.5115 GB, free: 21.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.463, allocations: 123.3 kB / 0.5116 GB, free: 20.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.463, allocations: 25.03 kB / 0.5116 GB, free: 20.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.4635, allocations: 329.2 kB / 0.5119 GB, free: 20.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4635, allocations: 3.656 kB / 0.5119 GB, free: 20.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.4636, allocations: 7.844 kB / 0.5119 GB, free: 20.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.4636, allocations: 14.03 kB / 0.5119 GB, free: 20.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000848/0.4644, allocations: 0.7321 MB / 0.5127 GB, free: 20.84 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.001102/0.4656, allocations: 1.307 MB / 0.5139 GB, free: 19.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.4659, allocations: 158.9 kB / 0.5141 GB, free: 19.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.466, allocations: 96.94 kB / 0.5142 GB, free: 19.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001764/0.4678, allocations: 2.809 MB / 0.5169 GB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.4678, allocations: 34.41 kB / 0.517 GB, free: 16.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.4678, allocations: 1.031 kB / 0.517 GB, free: 16.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002528/0.4681, allocations: 117.8 kB / 0.5171 GB, free: 16.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.4681, allocations: 56.41 kB / 0.5171 GB, free: 16.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.4683, allocations: 232.9 kB / 0.5173 GB, free: 16.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.4683, allocations: 27.53 kB / 0.5174 GB, free: 16.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.531e-05/0.4684, allocations: 214.6 kB / 0.5176 GB, free: 16.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.4684, allocations: 45.94 kB / 0.5176 GB, free: 16.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.4685, allocations: 38.73 kB / 0.5177 GB, free: 16.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.4685, allocations: 328.2 kB / 0.518 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.843e-05/0.4686, allocations: 51.97 kB / 0.518 GB, free: 16.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.4688, allocations: 345 kB / 0.5183 GB, free: 15.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.4691, allocations: 449.4 kB / 0.5188 GB, free: 15.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.4691, allocations: 3.188 kB / 0.5188 GB, free: 15.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004983/0.4696, allocations: 379.1 kB / 0.5191 GB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.4696, allocations: 12.28 kB / 0.5192 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.4697, allocations: 11.28 kB / 0.5192 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.4697, allocations: 17.72 kB / 0.5192 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.4699, allocations: 97.41 kB / 0.5193 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.47, allocations: 21.77 kB / 0.5193 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.4702, allocations: 56.16 kB / 0.5193 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.4702, allocations: 33.11 kB / 0.5194 GB, free: 15.21 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.926e-05/0.4704, allocations: 147.3 kB / 0.5195 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.4704, allocations: 17.81 kB / 0.5195 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.4707, allocations: 150.8 kB / 0.5197 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.4707, allocations: 9.312 kB / 0.5197 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4707, allocations: 0 / 0.5197 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4707, allocations: 0.9844 kB / 0.5197 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.4711, allocations: 403.2 kB / 0.5201 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4711, allocations: 3.688 kB / 0.5201 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.956e-05/0.4712, allocations: 15.97 kB / 0.5201 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.4712, allocations: 2.375 kB / 0.5201 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4712, allocations: 1.531 kB / 0.5201 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.4712, allocations: 2.406 kB / 0.5201 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4712, allocations: 5.531 kB / 0.5201 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.4714, allocations: 210.2 kB / 0.5203 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.4715, allocations: 110.8 kB / 0.5204 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.4715, allocations: 3.609 kB / 0.5204 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.4716, allocations: 3.859 kB / 0.5204 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.4717, allocations: 11.36 kB / 0.5204 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.4717, allocations: 7.312 kB / 0.5204 GB, free: 14.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.4718, allocations: 155.2 kB / 0.5206 GB, free: 14.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4718, allocations: 0 / 0.5206 GB, free: 14.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005083/0.4723, allocations: 91.5 kB / 0.5207 GB, free: 14.33 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.0002815/0.4726, allocations: 171.2 kB / 0.5208 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.4729, allocations: 168.5 kB / 0.521 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4729, allocations: 0.5 kB / 0.521 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.473, allocations: 23.95 kB / 0.521 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.4734, allocations: 46.81 kB / 0.5211 GB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.4744, allocations: 0.6416 MB / 0.5217 GB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.4745, allocations: 0.7279 MB / 0.5224 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002292/0.4748, allocations: 54.08 kB / 0.5225 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.4748, allocations: 28.2 kB / 0.5225 GB, free: 13.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4748, allocations: 0 / 0.5225 GB, free: 13.19 MB / 382.1 MB Notification: Performance of Templates: time 0.006009/0.4809, allocations: 3.02 MB / 0.5254 GB, free: 12.89 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches