Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearWater_pT,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.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,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.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 112.9 kB / 18.46 MB, free: 4.598 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.001327/0.001328, allocations: 183 kB / 19.38 MB, free: 3.68 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.427/1.427, 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.2066/0.2066, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4165, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05584/0.4724, allocations: 43.93 MB / 0.5625 GB, free: 28 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006811/0.4792, allocations: 4.381 MB / 0.5668 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006648/0.4799, allocations: 19.88 kB / 0.5668 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009625/0.4809, allocations: 318 kB / 0.5671 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.4832, allocations: 0.8628 MB / 0.5679 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.4857, allocations: 0.8994 MB / 0.5688 GB, free: 9.539 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001759/0.4874, allocations: 1.794 MB / 0.5706 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005254/0.488, allocations: 469.3 kB / 0.571 GB, free: 7.273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1147/0.6027, allocations: 44.54 MB / 0.6145 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01974/0.6225, allocations: 7.947 MB / 0.6223 GB, free: 2.199 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004016/0.6229, allocations: 60 kB / 0.6223 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02726/0.6502, allocations: 10.68 MB / 0.6327 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006236/0.6509, allocations: 255.3 kB / 0.633 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.6519, allocations: 390.2 kB / 0.6334 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002435/0.6544, allocations: 1.087 MB / 0.6344 GB, free: 5.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6544, allocations: 0 / 0.6344 GB, free: 5.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6544, allocations: 4 kB / 0.6344 GB, free: 5.602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.885e-05/0.6544, allocations: 0 / 0.6344 GB, free: 5.602 MB / 494.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.003193/0.6576, allocations: 1.052 MB / 0.6355 GB, free: 4.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.6577, allocations: 12.03 kB / 0.6355 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004885/0.6582, allocations: 91.98 kB / 0.6356 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.6595, allocations: 0.5289 MB / 0.6361 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.6596, allocations: 101 kB / 0.6362 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.6597, allocations: 60.02 kB / 0.6362 GB, free: 3.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.6612, allocations: 0.8136 MB / 0.637 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.6613, allocations: 7.938 kB / 0.637 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.152e-05/0.6614, allocations: 24 kB / 0.637 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/0.6614, allocations: 36.98 kB / 0.6371 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.6627, allocations: 0.6477 MB / 0.6377 GB, free: 2.051 MB / 494.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.005602/0.6683, allocations: 4.209 MB / 0.6418 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009245/0.6692, allocations: 423.5 kB / 0.6422 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.6696, allocations: 209.4 kB / 0.6424 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004953/0.6701, allocations: 0.499 MB / 0.6429 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.6701, allocations: 42.83 kB / 0.643 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.414e-06/0.6702, allocations: 0 / 0.643 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003452/0.6736, allocations: 1.543 MB / 0.6445 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.6737, allocations: 136.5 kB / 0.6446 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007493/0.6745, allocations: 0.5655 MB / 0.6451 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.6745, allocations: 29.7 kB / 0.6452 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.6748, allocations: 359 kB / 0.6455 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.675, allocations: 165.7 kB / 0.6457 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.6752, allocations: 138.5 kB / 0.6458 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000214/0.6755, allocations: 378.7 kB / 0.6462 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.6759, allocations: 221.9 kB / 0.6464 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006487/0.6765, allocations: 0.5204 MB / 0.6469 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.6777, allocations: 0.7755 MB / 0.6476 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.6777, allocations: 4 kB / 0.6476 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002002/0.6797, allocations: 0.945 MB / 0.6486 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.6798, allocations: 8 kB / 0.6486 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.6798, allocations: 15.94 kB / 0.6486 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.6809, allocations: 264.1 kB / 0.6488 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.6814, allocations: 119.8 kB / 0.649 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.6825, allocations: 0.8683 MB / 0.6498 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/0.6831, allocations: 28 kB / 0.6498 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.764e-05/0.6832, allocations: 39.98 kB / 0.6499 GB, free: 4.758 MB / 0.4981 GB 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.0004385/0.6837, allocations: 245.5 kB / 0.6501 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.6839, allocations: 63.25 kB / 0.6502 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.6854, allocations: 0.7143 MB / 0.6509 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.6855, allocations: 3.984 kB / 0.6509 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6855, allocations: 0 / 0.6509 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/0.6859, allocations: 196.1 kB / 0.6511 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.6861, allocations: 16 kB / 0.6511 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.6865, allocations: 12 kB / 0.6511 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/0.6866, allocations: 32.39 kB / 0.6511 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00187/0.6884, allocations: 0.7236 MB / 0.6518 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001403/0.6899, allocations: 0.9662 MB / 0.6528 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003577/0.6902, allocations: 239.4 kB / 0.653 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006643/0.6909, allocations: 398.8 kB / 0.6534 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of Backend: time 3.51e-07/0.6909, allocations: 7.938 kB / 0.6534 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002141/0.6931, allocations: 0.6269 MB / 0.654 GB, free: 492 kB / 0.4981 GB Notification: Performance of SimCode: time 0.003885/0.697, allocations: 1.89 MB / 0.6558 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.02844/0.7254, allocations: 14.23 MB / 0.6697 GB, free: 484 kB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches