Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001228, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001262/0.001262, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.434/1.434, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.228/0.228, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4425, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005253/0.4478, allocations: 4.544 MB / 0.5234 GB, free: 340 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004579/0.4524, allocations: 4.012 MB / 0.5273 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.4526, allocations: 1.938 kB / 0.5273 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.4529, allocations: 53.25 kB / 0.5273 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.4552, allocations: 0.7226 MB / 0.528 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.4555, allocations: 136.6 kB / 0.5282 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000537/0.4561, allocations: 371.1 kB / 0.5285 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.4561, allocations: 17.92 kB / 0.5285 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.4563, allocations: 145.7 kB / 0.5287 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.4566, allocations: 146.4 kB / 0.5288 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.4566, allocations: 8.281 kB / 0.5288 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.4577, allocations: 424.4 kB / 0.5292 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.4578, allocations: 50.97 kB / 0.5293 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.458, allocations: 102.1 kB / 0.5294 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008832/0.4589, allocations: 478 kB / 0.5298 GB, free: 11.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4589, allocations: 0 / 0.5298 GB, free: 11.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4589, allocations: 0 / 0.5298 GB, free: 11.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.4589, allocations: 0 / 0.5298 GB, free: 11.97 MB / 398.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.00125/0.4602, allocations: 0.5943 MB / 0.5304 GB, free: 11.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.851e-05/0.4603, allocations: 10 kB / 0.5304 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.4605, allocations: 24.59 kB / 0.5305 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.4608, allocations: 228.7 kB / 0.5307 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.461, allocations: 123.2 kB / 0.5308 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.4611, allocations: 26.64 kB / 0.5308 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005599/0.4616, allocations: 334.6 kB / 0.5311 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4616, allocations: 0 / 0.5311 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.4617, allocations: 12.34 kB / 0.5311 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.4617, allocations: 6.594 kB / 0.5312 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000875/0.4626, allocations: 0.7309 MB / 0.5319 GB, free: 10.46 MB / 398.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.00139/0.464, allocations: 1.301 MB / 0.5331 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.4644, allocations: 164.9 kB / 0.5333 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.4645, allocations: 85.92 kB / 0.5334 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002457/0.467, allocations: 2.814 MB / 0.5361 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.467, allocations: 35.75 kB / 0.5362 GB, free: 5.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.467, allocations: 0 / 0.5362 GB, free: 5.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003001/0.4674, allocations: 119.6 kB / 0.5363 GB, free: 5.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.4674, allocations: 52.81 kB / 0.5363 GB, free: 5.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.4676, allocations: 222 kB / 0.5365 GB, free: 5.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.4676, allocations: 27.11 kB / 0.5366 GB, free: 5.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.4678, allocations: 225.7 kB / 0.5368 GB, free: 5.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.4678, allocations: 42.14 kB / 0.5368 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.079e-05/0.4679, allocations: 82.62 kB / 0.5369 GB, free: 5.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.468, allocations: 326.6 kB / 0.5372 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.4681, allocations: 53.83 kB / 0.5373 GB, free: 4.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.4684, allocations: 352.2 kB / 0.5376 GB, free: 4.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/0.4688, allocations: 436.3 kB / 0.538 GB, free: 3.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4688, allocations: 3.531 kB / 0.538 GB, free: 3.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005699/0.4694, allocations: 381.9 kB / 0.5384 GB, free: 3.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.4695, allocations: 14 kB / 0.5384 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.4695, allocations: 10.53 kB / 0.5384 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/0.4695, allocations: 21.98 kB / 0.5384 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.4698, allocations: 93.19 kB / 0.5385 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.788e-05/0.4698, allocations: 29.86 kB / 0.5385 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.4701, allocations: 50.72 kB / 0.5386 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.4701, allocations: 27.44 kB / 0.5386 GB, free: 3.68 MB / 398.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 0.0001419/0.4703, allocations: 156.4 kB / 0.5388 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.4703, allocations: 18.16 kB / 0.5388 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.4706, allocations: 144.1 kB / 0.5389 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.4707, allocations: 5.062 kB / 0.5389 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4707, allocations: 1.156 kB / 0.5389 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.4707, allocations: 4 kB / 0.5389 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.4712, allocations: 415.3 kB / 0.5393 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4712, allocations: 1.156 kB / 0.5393 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.4712, allocations: 11.5 kB / 0.5393 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4713, allocations: 1.094 kB / 0.5393 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4713, allocations: 2.25 kB / 0.5393 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.4713, allocations: 1.312 kB / 0.5393 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.4713, allocations: 5 kB / 0.5393 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.4715, allocations: 215.9 kB / 0.5395 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-05/0.4716, allocations: 95.72 kB / 0.5396 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.4716, allocations: 10.69 kB / 0.5397 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.4718, allocations: 2.438 kB / 0.5397 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.4718, allocations: 15.17 kB / 0.5397 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.4718, allocations: 8.562 kB / 0.5397 GB, free: 2.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.472, allocations: 160.8 kB / 0.5398 GB, free: 2.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.472, allocations: 0 / 0.5398 GB, free: 2.535 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005773/0.4726, allocations: 85.72 kB / 0.5399 GB, free: 2.523 MB / 398.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.000329/0.4729, allocations: 168.5 kB / 0.5401 GB, free: 2.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003576/0.4733, allocations: 167.1 kB / 0.5402 GB, free: 2.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4733, allocations: 5.469 kB / 0.5402 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.239e-05/0.4734, allocations: 26.53 kB / 0.5403 GB, free: 2.312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.4738, allocations: 43.72 kB / 0.5403 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.4749, allocations: 0.5365 MB / 0.5408 GB, free: 1.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.4752, allocations: 0.7266 MB / 0.5415 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.4754, allocations: 54.97 kB / 0.5416 GB, free: 1.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.4755, allocations: 23.28 kB / 0.5416 GB, free: 1.148 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4755, allocations: 0 / 0.5416 GB, free: 1.148 MB / 398.1 MB Notification: Performance of Templates: time 0.008099/0.4836, allocations: 3.139 MB / 0.5447 GB, free: 15.54 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches