Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.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.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001334, allocations: 111.3 kB / 18.46 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.001126/0.001126, allocations: 187.1 kB / 19.39 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.468/1.468, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2176/0.2176, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3209, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02146/0.3424, allocations: 20.25 MB / 0.5394 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00686/0.3493, allocations: 4.288 MB / 0.5435 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008779/0.3502, allocations: 19.31 kB / 0.5436 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.3513, allocations: 317.6 kB / 0.5439 GB, free: 460 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.3537, allocations: 0.8614 MB / 0.5447 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.3563, allocations: 0.9016 MB / 0.5456 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002578/0.3589, allocations: 1.797 MB / 0.5473 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009384/0.3598, allocations: 468.5 kB / 0.5478 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.362, allocations: 0.9353 MB / 0.5487 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.3632, allocations: 0.6337 MB / 0.5493 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.3634, allocations: 59.84 kB / 0.5494 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009671/0.3644, allocations: 304.3 kB / 0.5497 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.3648, allocations: 263.4 kB / 0.5499 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005122/0.3653, allocations: 392.4 kB / 0.5503 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.3668, allocations: 1.078 MB / 0.5513 GB, free: 11.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3668, allocations: 0 / 0.5513 GB, free: 11.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3668, allocations: 3.938 kB / 0.5514 GB, free: 11.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.3669, allocations: 4 kB / 0.5514 GB, free: 11.45 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002293/0.3692, allocations: 1.052 MB / 0.5524 GB, free: 10.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3692, allocations: 8.031 kB / 0.5524 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003747/0.3696, allocations: 88.08 kB / 0.5525 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009502/0.3706, allocations: 0.5365 MB / 0.553 GB, free: 9.672 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.3707, allocations: 101 kB / 0.5531 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/0.3708, allocations: 52.36 kB / 0.5531 GB, free: 9.512 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.3721, allocations: 0.8174 MB / 0.5539 GB, free: 8.621 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.3721, allocations: 4 kB / 0.5539 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.21e-05/0.3722, allocations: 20 kB / 0.554 GB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.802e-05/0.3723, allocations: 44.98 kB / 0.554 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.3733, allocations: 0.6438 MB / 0.5546 GB, free: 7.906 MB / 414.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.004941/0.3783, allocations: 4.217 MB / 0.5588 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008513/0.3792, allocations: 412 kB / 0.5591 GB, free: 2.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.3795, allocations: 209.4 kB / 0.5593 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004915/0.38, allocations: 0.5028 MB / 0.5598 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.38, allocations: 42.89 kB / 0.5599 GB, free: 2.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.705e-06/0.3801, allocations: 0 / 0.5599 GB, free: 2.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003241/0.3833, allocations: 1.532 MB / 0.5614 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.617e-05/0.3834, allocations: 140.5 kB / 0.5615 GB, free: 368 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006819/0.3841, allocations: 0.5654 MB / 0.5621 GB, free: 15.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.3841, allocations: 33.7 kB / 0.5621 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.3844, allocations: 354.9 kB / 0.5624 GB, free: 15.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.3846, allocations: 165.7 kB / 0.5626 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.3848, allocations: 138.5 kB / 0.5627 GB, free: 15.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3849, allocations: 382.7 kB / 0.5631 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.3853, allocations: 217.9 kB / 0.5633 GB, free: 14.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006631/0.386, allocations: 0.5318 MB / 0.5638 GB, free: 13.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.387, allocations: 0.7679 MB / 0.5646 GB, free: 12.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3871, allocations: 4 kB / 0.5646 GB, free: 12.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001843/0.3889, allocations: 0.9415 MB / 0.5655 GB, free: 11.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3889, allocations: 12.06 kB / 0.5655 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.389, allocations: 12 kB / 0.5655 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.39, allocations: 260.6 kB / 0.5658 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.3905, allocations: 123.8 kB / 0.5659 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009575/0.3914, allocations: 0.8645 MB / 0.5667 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.3919, allocations: 24 kB / 0.5667 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.514e-05/0.392, allocations: 43.98 kB / 0.5668 GB, free: 10.61 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003975/0.3924, allocations: 239.6 kB / 0.567 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.3926, allocations: 67.16 kB / 0.5671 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.3939, allocations: 0.7222 MB / 0.5678 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/0.3939, allocations: 7.922 kB / 0.5678 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3939, allocations: 0 / 0.5678 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.3942, allocations: 184.3 kB / 0.568 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.901e-05/0.3943, allocations: 15.98 kB / 0.568 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.3946, allocations: 12 kB / 0.568 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.3947, allocations: 36.39 kB / 0.568 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001724/0.3964, allocations: 0.7198 MB / 0.5687 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001316/0.3978, allocations: 0.9662 MB / 0.5697 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003696/0.3982, allocations: 239.4 kB / 0.5699 GB, free: 7.359 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004771/0.3986, allocations: 398.8 kB / 0.5703 GB, free: 6.973 MB / 430.1 MB Notification: Performance of Backend: time 4.51e-07/0.3987, allocations: 0 / 0.5703 GB, free: 6.973 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.4005, allocations: 0.6467 MB / 0.5709 GB, free: 6.328 MB / 430.1 MB Notification: Performance of SimCode: time 0.002776/0.4032, allocations: 1.882 MB / 0.5728 GB, free: 4.402 MB / 430.1 MB Notification: Performance of Templates: time 0.02353/0.4268, allocations: 14.24 MB / 0.5867 GB, free: 6.344 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches