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.001095/0.001095, allocations: 112.5 kB / 18.45 MB, free: 4.609 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.001207/0.001207, allocations: 189.2 kB / 19.38 MB, free: 3.684 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.283/1.283, allocations: 222.9 MB / 243.1 MB, free: 15.16 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.2294/0.2294, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.339, allocations: 60.82 MB / 0.5196 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005114/0.3442, allocations: 4.544 MB / 0.524 GB, free: 360 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004321/0.3485, allocations: 4.004 MB / 0.5279 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.3487, allocations: 5.125 kB / 0.5279 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.349, allocations: 50.38 kB / 0.528 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.3509, allocations: 0.7248 MB / 0.5287 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.3512, allocations: 133.2 kB / 0.5288 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005366/0.3518, allocations: 374.5 kB / 0.5292 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.3518, allocations: 9.938 kB / 0.5292 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.352, allocations: 148.3 kB / 0.5293 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.3523, allocations: 147 kB / 0.5295 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.3523, allocations: 8.25 kB / 0.5295 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009498/0.3533, allocations: 428.9 kB / 0.5299 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.3533, allocations: 43.8 kB / 0.5299 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.3535, allocations: 104.8 kB / 0.53 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007445/0.3542, allocations: 474.3 kB / 0.5305 GB, free: 12.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3542, allocations: 0 / 0.5305 GB, free: 12.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3542, allocations: 0 / 0.5305 GB, free: 12.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.3543, allocations: 0 / 0.5305 GB, free: 12.02 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.001158/0.3554, allocations: 0.6051 MB / 0.5311 GB, free: 11.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3555, allocations: 17.36 kB / 0.5311 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.3556, allocations: 24.06 kB / 0.5311 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.3559, allocations: 228.6 kB / 0.5313 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.3561, allocations: 120.1 kB / 0.5315 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.3561, allocations: 23.75 kB / 0.5315 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.3566, allocations: 330 kB / 0.5318 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3567, allocations: 0 / 0.5318 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.3567, allocations: 12.25 kB / 0.5318 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.3567, allocations: 5.562 kB / 0.5318 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008375/0.3576, allocations: 0.7353 MB / 0.5325 GB, free: 10.5 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.001296/0.3589, allocations: 1.305 MB / 0.5338 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.3592, allocations: 161.2 kB / 0.534 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.3594, allocations: 86.86 kB / 0.534 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002427/0.3618, allocations: 2.805 MB / 0.5368 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.3618, allocations: 44.48 kB / 0.5368 GB, free: 5.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.734e-06/0.3619, allocations: 4 kB / 0.5368 GB, free: 5.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000298/0.3622, allocations: 111.2 kB / 0.5369 GB, free: 5.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3622, allocations: 56.47 kB / 0.537 GB, free: 5.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.3624, allocations: 222.2 kB / 0.5372 GB, free: 5.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.3625, allocations: 27.17 kB / 0.5372 GB, free: 5.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.3626, allocations: 216.9 kB / 0.5374 GB, free: 5.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.3626, allocations: 46.97 kB / 0.5375 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.3628, allocations: 82.27 kB / 0.5375 GB, free: 5.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3629, allocations: 335.2 kB / 0.5379 GB, free: 4.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.13e-05/0.363, allocations: 45.72 kB / 0.5379 GB, free: 4.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.3633, allocations: 347.8 kB / 0.5382 GB, free: 4.496 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.3637, allocations: 443.5 kB / 0.5387 GB, free: 4 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.3637, allocations: 2.5 kB / 0.5387 GB, free: 4 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005364/0.3643, allocations: 383.5 kB / 0.539 GB, free: 3.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.3643, allocations: 9.5 kB / 0.539 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.3643, allocations: 10.88 kB / 0.5391 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.3643, allocations: 18.09 kB / 0.5391 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.3646, allocations: 102.1 kB / 0.5392 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/0.3646, allocations: 21.69 kB / 0.5392 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.3649, allocations: 57.72 kB / 0.5392 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.3649, allocations: 33.11 kB / 0.5393 GB, free: 3.711 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.0001266/0.3651, allocations: 146.7 kB / 0.5394 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.3651, allocations: 18.34 kB / 0.5394 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.3654, allocations: 148.2 kB / 0.5396 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.3654, allocations: 6.281 kB / 0.5396 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3654, allocations: 0 / 0.5396 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3654, allocations: 0 / 0.5396 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.3659, allocations: 416.4 kB / 0.54 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3659, allocations: 1.125 kB / 0.54 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.366, allocations: 14.48 kB / 0.54 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.366, allocations: 2.25 kB / 0.54 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.366, allocations: 1.156 kB / 0.54 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.366, allocations: 1.188 kB / 0.54 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.366, allocations: 6.281 kB / 0.54 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.3662, allocations: 210.3 kB / 0.5402 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.3663, allocations: 96.39 kB / 0.5403 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.3664, allocations: 17.92 kB / 0.5403 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.3665, allocations: 10.61 kB / 0.5403 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.3666, allocations: 8.469 kB / 0.5403 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3666, allocations: 3.438 kB / 0.5403 GB, free: 2.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.3667, allocations: 160.1 kB / 0.5405 GB, free: 2.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3667, allocations: 1.156 kB / 0.5405 GB, free: 2.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005254/0.3673, allocations: 93.89 kB / 0.5406 GB, free: 2.551 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.0003025/0.3676, allocations: 151.8 kB / 0.5407 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.3679, allocations: 176.3 kB / 0.5409 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.3679, allocations: 0 / 0.5409 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.605e-05/0.368, allocations: 27.67 kB / 0.5409 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.3684, allocations: 51.05 kB / 0.541 GB, free: 2.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.3695, allocations: 0.5642 MB / 0.5415 GB, free: 1.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.3698, allocations: 0.7225 MB / 0.5422 GB, free: 1.195 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.3698, allocations: 30.19 kB / 0.5423 GB, free: 1.184 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3698, allocations: 0 / 0.5423 GB, free: 1.184 MB / 398.1 MB Notification: Performance of Templates: time 0.007385/0.3772, allocations: 3.339 MB / 0.5455 GB, free: 15.45 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/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