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.001155/0.001155, allocations: 110.6 kB / 18.45 MB, free: 4.617 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.001241/0.001241, allocations: 187.1 kB / 19.38 MB, free: 3.695 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.389/1.389, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2078/0.2078, allocations: 44.19 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 471.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3245, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00548/0.33, allocations: 4.538 MB / 0.524 GB, free: 340 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004796/0.3348, allocations: 4.011 MB / 0.5279 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.335, allocations: 1.375 kB / 0.528 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.3353, allocations: 54.53 kB / 0.528 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.3374, allocations: 0.7229 MB / 0.5287 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.3378, allocations: 140.7 kB / 0.5288 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000548/0.3383, allocations: 373.8 kB / 0.5292 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.3384, allocations: 10.41 kB / 0.5292 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.3386, allocations: 141.8 kB / 0.5293 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.3389, allocations: 150.7 kB / 0.5295 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.3389, allocations: 11.62 kB / 0.5295 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.3399, allocations: 425.2 kB / 0.5299 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.906e-05/0.34, allocations: 46.75 kB / 0.5299 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.3402, allocations: 106.4 kB / 0.5301 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000899/0.3411, allocations: 473.3 kB / 0.5305 GB, free: 11.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3411, allocations: 0 / 0.5305 GB, free: 11.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3411, allocations: 1.156 kB / 0.5305 GB, free: 11.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.3411, allocations: 0 / 0.5305 GB, free: 11.98 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.001225/0.3424, allocations: 0.5984 MB / 0.5311 GB, free: 11.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3424, allocations: 8.469 kB / 0.5311 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.3426, allocations: 23.84 kB / 0.5311 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.3429, allocations: 228.8 kB / 0.5313 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.3431, allocations: 131.8 kB / 0.5315 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.3431, allocations: 18.41 kB / 0.5315 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.3437, allocations: 327 kB / 0.5318 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3437, allocations: 0.5625 kB / 0.5318 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.3437, allocations: 15.28 kB / 0.5318 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.3438, allocations: 10.44 kB / 0.5318 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008277/0.3446, allocations: 0.7353 MB / 0.5325 GB, free: 10.47 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.001404/0.346, allocations: 1.297 MB / 0.5338 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.3464, allocations: 165.5 kB / 0.534 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.3465, allocations: 90.56 kB / 0.534 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002461/0.349, allocations: 2.802 MB / 0.5368 GB, free: 5.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.349, allocations: 40.06 kB / 0.5368 GB, free: 5.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.349, allocations: 0 / 0.5368 GB, free: 5.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002793/0.3493, allocations: 118.8 kB / 0.5369 GB, free: 5.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.3494, allocations: 52.78 kB / 0.537 GB, free: 5.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.3496, allocations: 227.5 kB / 0.5372 GB, free: 5.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.3496, allocations: 25.7 kB / 0.5372 GB, free: 5.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.3498, allocations: 221.1 kB / 0.5374 GB, free: 5.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.3498, allocations: 39.05 kB / 0.5375 GB, free: 5.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-05/0.3499, allocations: 90.61 kB / 0.5376 GB, free: 5.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.35, allocations: 330.7 kB / 0.5379 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.3501, allocations: 48.44 kB / 0.5379 GB, free: 4.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.3504, allocations: 356.8 kB / 0.5383 GB, free: 4.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.3508, allocations: 434.9 kB / 0.5387 GB, free: 3.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.3509, allocations: 3.562 kB / 0.5387 GB, free: 3.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005947/0.3515, allocations: 379.2 kB / 0.539 GB, free: 3.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3515, allocations: 14.11 kB / 0.5391 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.3515, allocations: 10.31 kB / 0.5391 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.3515, allocations: 14.25 kB / 0.5391 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.3518, allocations: 102.6 kB / 0.5392 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-05/0.3518, allocations: 25.02 kB / 0.5392 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.3521, allocations: 56.81 kB / 0.5393 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.3521, allocations: 25.56 kB / 0.5393 GB, free: 3.688 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.0001224/0.3522, allocations: 156.3 kB / 0.5394 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.3523, allocations: 16.97 kB / 0.5394 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.3526, allocations: 148.9 kB / 0.5396 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3526, allocations: 3.938 kB / 0.5396 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3526, allocations: 1.062 kB / 0.5396 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.3527, allocations: 99.38 kB / 0.5397 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.3527, allocations: 1.062 kB / 0.5397 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.3529, allocations: 7.234 kB / 0.5397 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.3529, allocations: 7.156 kB / 0.5397 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001584/0.3531, allocations: 149.7 kB / 0.5398 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002077/0.3533, allocations: 278 kB / 0.5401 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.927e-05/0.3534, allocations: 18.48 kB / 0.5401 GB, free: 2.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.3535, allocations: 156.3 kB / 0.5403 GB, free: 2.781 MB / 398.1 MB Notification: Performance of Backend: time 4.71e-07/0.3535, allocations: 0 / 0.5403 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.3546, allocations: 437.9 kB / 0.5407 GB, free: 2.555 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009269/0.3556, allocations: 0.8559 MB / 0.5415 GB, free: 1.816 MB / 398.1 MB Notification: Performance of Templates: time 0.01097/0.3665, allocations: 5.204 MB / 0.5466 GB, free: 15.07 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