Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007927/0.0007928, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 227.8 MB / 246.9 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2227/0.2227, allocations: 46.2 MB / 345.3 MB, free: 11.34 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003011, allocations: 8 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1293, allocations: 63.56 MB / 483.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03479/0.1641, allocations: 27.92 MB / 0.4991 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003768/0.1679, allocations: 2.975 MB / 0.502 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.1681, allocations: 0 / 0.502 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.1686, allocations: 43.73 kB / 0.502 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.1708, allocations: 0.6492 MB / 0.5027 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.1712, allocations: 140.8 kB / 0.5028 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007917/0.172, allocations: 446.1 kB / 0.5032 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.163e-05/0.1721, allocations: 13.69 kB / 0.5033 GB, free: 3.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2692/0.4412, allocations: 14.45 MB / 0.5174 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.4416, allocations: 148.5 kB / 0.5175 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.4417, allocations: 7.344 kB / 0.5175 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007807/0.4495, allocations: 3.431 MB / 0.5209 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.939e-05/0.4496, allocations: 48.94 kB / 0.5209 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.4498, allocations: 131.9 kB / 0.521 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009634/0.4508, allocations: 464.8 kB / 0.5215 GB, free: 9.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.4508, allocations: 1.156 kB / 0.5215 GB, free: 9.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4508, allocations: 0 / 0.5215 GB, free: 9.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.4508, allocations: 2.625 kB / 0.5215 GB, free: 9.914 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.000997/0.4518, allocations: 0.5513 MB / 0.522 GB, free: 9.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4519, allocations: 10.16 kB / 0.522 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.452, allocations: 25.08 kB / 0.522 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.4522, allocations: 225.6 kB / 0.5223 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.87e-05/0.4523, allocations: 124.6 kB / 0.5224 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.4524, allocations: 25.75 kB / 0.5224 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.4528, allocations: 329.6 kB / 0.5227 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4529, allocations: 4.875 kB / 0.5227 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.4529, allocations: 10.69 kB / 0.5227 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.4529, allocations: 10.45 kB / 0.5227 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008388/0.4538, allocations: 0.7392 MB / 0.5235 GB, free: 9.082 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.001095/0.4549, allocations: 1.295 MB / 0.5247 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.4552, allocations: 160.5 kB / 0.5249 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.4554, allocations: 95.38 kB / 0.525 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00177/0.4571, allocations: 2.809 MB / 0.5277 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.4572, allocations: 35.69 kB / 0.5278 GB, free: 5.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.4572, allocations: 0 / 0.5278 GB, free: 5.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002917/0.4575, allocations: 120.5 kB / 0.5279 GB, free: 5.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.4575, allocations: 53.53 kB / 0.5279 GB, free: 5.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.4577, allocations: 217.5 kB / 0.5281 GB, free: 4.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.4577, allocations: 34.27 kB / 0.5282 GB, free: 4.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.4578, allocations: 218.6 kB / 0.5284 GB, free: 4.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.4579, allocations: 44.83 kB / 0.5284 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.4579, allocations: 38 kB / 0.5284 GB, free: 4.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.995e-05/0.458, allocations: 328.6 kB / 0.5288 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.458, allocations: 49.25 kB / 0.5288 GB, free: 4.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.4583, allocations: 345.2 kB / 0.5291 GB, free: 3.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.4586, allocations: 444.2 kB / 0.5296 GB, free: 3.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.4586, allocations: 2.938 kB / 0.5296 GB, free: 3.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005105/0.4591, allocations: 380.6 kB / 0.5299 GB, free: 3.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.4591, allocations: 9.406 kB / 0.5299 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.4592, allocations: 10.69 kB / 0.5299 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.093e-05/0.4592, allocations: 20.62 kB / 0.53 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.4595, allocations: 96.83 kB / 0.5301 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.4595, allocations: 19.95 kB / 0.5301 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.4597, allocations: 55.59 kB / 0.5301 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.4598, allocations: 30.84 kB / 0.5302 GB, free: 3.473 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.451e-05/0.4599, allocations: 157.9 kB / 0.5303 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.4599, allocations: 18.09 kB / 0.5303 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.4602, allocations: 144.9 kB / 0.5305 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.4602, allocations: 10.34 kB / 0.5305 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4602, allocations: 3.656 kB / 0.5305 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4602, allocations: 0 / 0.5305 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.4606, allocations: 412.9 kB / 0.5309 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.4606, allocations: 5.094 kB / 0.5309 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-05/0.4607, allocations: 21.06 kB / 0.5309 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4607, allocations: 2.5 kB / 0.5309 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.4607, allocations: 1.031 kB / 0.5309 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4607, allocations: 1.25 kB / 0.5309 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4607, allocations: 2.219 kB / 0.5309 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.4609, allocations: 208.5 kB / 0.5311 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.4609, allocations: 105.4 kB / 0.5312 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.461, allocations: 6.75 kB / 0.5312 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.4611, allocations: 8.281 kB / 0.5312 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.851e-05/0.4612, allocations: 6.219 kB / 0.5312 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.4612, allocations: 3.688 kB / 0.5312 GB, free: 2.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.4613, allocations: 158 kB / 0.5314 GB, free: 2.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4613, allocations: 0 / 0.5314 GB, free: 2.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005027/0.4618, allocations: 87.5 kB / 0.5315 GB, free: 2.582 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.000282/0.4621, allocations: 163.9 kB / 0.5316 GB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.4624, allocations: 171.4 kB / 0.5318 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4624, allocations: 0 / 0.5318 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.52e-05/0.4624, allocations: 21.59 kB / 0.5318 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.4629, allocations: 51.11 kB / 0.5319 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008493/0.4638, allocations: 0.6483 MB / 0.5325 GB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.4639, allocations: 0.7261 MB / 0.5332 GB, free: 1.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002211/0.4641, allocations: 58.88 kB / 0.5332 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.4642, allocations: 25.22 kB / 0.5333 GB, free: 1.441 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4642, allocations: 0 / 0.5333 GB, free: 1.441 MB / 382.1 MB Notification: Performance of Templates: time 0.006633/0.4708, allocations: 3.025 MB / 0.5362 GB, free: 0.6992 MB / 382.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches