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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001651, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 102.2 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3476/0.3476, allocations: 44.13 MB / 386.1 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009719/0.0009719, allocations: 47.92 kB / 457.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3771, allocations: 60.8 MB / 0.5064 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01862/0.3958, allocations: 20.98 MB / 0.5269 GB, free: 23.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00641/0.4022, allocations: 4.453 MB / 0.5312 GB, free: 20.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008633/0.4031, allocations: 23.34 kB / 0.5313 GB, free: 20.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007376/0.4039, allocations: 272.6 kB / 0.5315 GB, free: 20.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.4057, allocations: 0.8013 MB / 0.5323 GB, free: 19.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.4078, allocations: 0.8084 MB / 0.5331 GB, free: 19.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002209/0.41, allocations: 2.667 MB / 0.5357 GB, free: 18.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.4105, allocations: 402.2 kB / 0.5361 GB, free: 18.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.4119, allocations: 0.8215 MB / 0.5369 GB, free: 17.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007707/0.4127, allocations: 0.6599 MB / 0.5375 GB, free: 17.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.973e-05/0.4128, allocations: 31.72 kB / 0.5376 GB, free: 17.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000778/0.4136, allocations: 272.5 kB / 0.5378 GB, free: 17.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.4138, allocations: 235.9 kB / 0.538 GB, free: 17.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.4141, allocations: 362.9 kB / 0.5384 GB, free: 17.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009795/0.4151, allocations: 1.051 MB / 0.5394 GB, free: 16.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4151, allocations: 3.938 kB / 0.5394 GB, free: 16.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4152, allocations: 0 / 0.5394 GB, free: 16.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4152, allocations: 0 / 0.5394 GB, free: 16.85 MB / 378.7 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.002008/0.4172, allocations: 1.056 MB / 0.5404 GB, free: 16.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4172, allocations: 13.19 kB / 0.5405 GB, free: 16.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003247/0.4176, allocations: 85.75 kB / 0.5405 GB, free: 16.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007496/0.4183, allocations: 0.5019 MB / 0.541 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.159e-05/0.4184, allocations: 104 kB / 0.5411 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.863e-05/0.4185, allocations: 49.92 kB / 0.5412 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.4196, allocations: 0.8282 MB / 0.542 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.4196, allocations: 7.922 kB / 0.542 GB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/0.4197, allocations: 22.31 kB / 0.542 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/0.4197, allocations: 36.92 kB / 0.542 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008831/0.4206, allocations: 0.6499 MB / 0.5427 GB, free: 14.92 MB / 378.7 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.003766/0.4244, allocations: 4.216 MB / 0.5468 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007656/0.4252, allocations: 410.4 kB / 0.5472 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.4255, allocations: 211.6 kB / 0.5474 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003574/0.4259, allocations: 0.4926 MB / 0.5479 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.4259, allocations: 41.83 kB / 0.5479 GB, free: 10.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 3.176e-06/0.4259, allocations: 2.969 kB / 0.5479 GB, free: 10.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.0029/0.4288, allocations: 1.528 MB / 0.5494 GB, free: 9.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.4289, allocations: 134 kB / 0.5495 GB, free: 9.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006678/0.4295, allocations: 0.5666 MB / 0.5501 GB, free: 9.402 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.4296, allocations: 36.45 kB / 0.5501 GB, free: 9.363 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.4298, allocations: 355.3 kB / 0.5505 GB, free: 9.078 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.4299, allocations: 158.9 kB / 0.5506 GB, free: 8.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.4301, allocations: 145 kB / 0.5508 GB, free: 8.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4303, allocations: 376.6 kB / 0.5511 GB, free: 8.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.4307, allocations: 225.9 kB / 0.5513 GB, free: 8.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000714/0.4314, allocations: 0.5263 MB / 0.5518 GB, free: 7.977 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.4325, allocations: 0.7776 MB / 0.5526 GB, free: 7.375 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.4325, allocations: 2.969 kB / 0.5526 GB, free: 7.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001746/0.4342, allocations: 0.9375 MB / 0.5535 GB, free: 6.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.4343, allocations: 9.625 kB / 0.5535 GB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.4343, allocations: 13.61 kB / 0.5535 GB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.4355, allocations: 273 kB / 0.5538 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.4359, allocations: 126.2 kB / 0.5539 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000863/0.4368, allocations: 0.8655 MB / 0.5548 GB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/0.4373, allocations: 42.44 kB / 0.5548 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/0.4374, allocations: 37.81 kB / 0.5548 GB, free: 6.215 MB / 378.7 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.0003318/0.4377, allocations: 244.7 kB / 0.5551 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.4379, allocations: 65.36 kB / 0.5551 GB, free: 6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.4392, allocations: 0.7154 MB / 0.5558 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.4392, allocations: 3.812 kB / 0.5558 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4393, allocations: 2.047 kB / 0.5558 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.4393, allocations: 2.578 kB / 0.5558 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.4414, allocations: 1.4 MB / 0.5572 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.4414, allocations: 5.312 kB / 0.5572 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009837/0.4424, allocations: 195.1 kB / 0.5574 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002659/0.4427, allocations: 57.89 kB / 0.5575 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.4427, allocations: 16.17 kB / 0.5575 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.4445, allocations: 2.783 MB / 0.5602 GB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4445, allocations: 6.5 kB / 0.5602 GB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009479/0.454, allocations: 5.809 MB / 0.5659 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.4543, allocations: 196.1 kB / 0.5661 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.642e-05/0.4544, allocations: 13.38 kB / 0.5661 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.4549, allocations: 26.31 kB / 0.5661 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.455, allocations: 44.89 kB / 0.5661 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/0.4551, allocations: 21.27 kB / 0.5662 GB, free: 13.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006305/0.4557, allocations: 422.9 kB / 0.5666 GB, free: 13.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4557, allocations: 1.062 kB / 0.5666 GB, free: 13.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001177/0.4569, allocations: 306 kB / 0.5669 GB, free: 13.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005223/0.4574, allocations: 235.2 kB / 0.5671 GB, free: 13.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.4588, allocations: 0.6013 MB / 0.5677 GB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4589, allocations: 3.938 kB / 0.5677 GB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.4601, allocations: 488.1 kB / 0.5681 GB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.4619, allocations: 353.7 kB / 0.5685 GB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.4653, allocations: 2.119 MB / 0.5705 GB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/0.466, allocations: 0.9467 MB / 0.5715 GB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001011/0.467, allocations: 209.3 kB / 0.5717 GB, free: 10.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.4672, allocations: 69.42 kB / 0.5717 GB, free: 10.79 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4672, allocations: 0 / 0.5717 GB, free: 10.79 MB / 394.7 MB Notification: Performance of Templates: time 0.02737/0.4946, allocations: 16.05 MB / 0.5874 GB, free: 11.56 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches