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.001181/0.001186, allocations: 107.7 kB / 18.46 MB, free: 4.594 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.001174/0.001174, allocations: 190 kB / 19.39 MB, free: 3.668 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.351/1.351, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.21/0.21, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4061, 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.05692/0.463, allocations: 43.92 MB / 0.5625 GB, free: 28 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007095/0.4702, allocations: 4.385 MB / 0.5668 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009425/0.4711, allocations: 19.88 kB / 0.5668 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.4724, allocations: 314 kB / 0.5671 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.4754, allocations: 0.8667 MB / 0.5679 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003226/0.4787, allocations: 0.8918 MB / 0.5688 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002851/0.4815, allocations: 1.801 MB / 0.5706 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.4826, allocations: 465.3 kB / 0.571 GB, free: 7.273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1101/0.5926, allocations: 44.55 MB / 0.6145 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01888/0.6116, allocations: 7.951 MB / 0.6223 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003068/0.6119, allocations: 64 kB / 0.6223 GB, free: 2.133 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02843/0.6404, allocations: 10.68 MB / 0.6328 GB, free: 7.324 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005305/0.6409, allocations: 259.2 kB / 0.633 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006732/0.6416, allocations: 394.2 kB / 0.6334 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.6435, allocations: 1.082 MB / 0.6344 GB, free: 5.598 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6436, allocations: 4 kB / 0.6344 GB, free: 5.594 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.6436, allocations: 0 / 0.6344 GB, free: 5.594 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.878e-05/0.6436, allocations: 0 / 0.6344 GB, free: 5.594 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.00256/0.6462, allocations: 1.07 MB / 0.6355 GB, free: 4.473 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.6462, allocations: 8.031 kB / 0.6355 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003645/0.6466, allocations: 92.45 kB / 0.6356 GB, free: 4.375 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009198/0.6475, allocations: 0.5293 MB / 0.6361 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.6477, allocations: 104.9 kB / 0.6362 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.735e-05/0.6478, allocations: 56.08 kB / 0.6363 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.649, allocations: 0.8252 MB / 0.6371 GB, free: 2.734 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.6491, allocations: 0 / 0.6371 GB, free: 2.734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/0.6491, allocations: 20 kB / 0.6371 GB, free: 2.715 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/0.6492, allocations: 36.98 kB / 0.6371 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.6503, allocations: 0.6555 MB / 0.6378 GB, free: 2.02 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.004853/0.6552, allocations: 4.222 MB / 0.6419 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008868/0.6561, allocations: 419.5 kB / 0.6423 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.6564, allocations: 205.4 kB / 0.6425 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005097/0.6569, allocations: 0.4989 MB / 0.643 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.657, allocations: 46.77 kB / 0.643 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.063e-06/0.657, allocations: 0 / 0.643 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003521/0.6605, allocations: 1.537 MB / 0.6445 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.877e-05/0.6606, allocations: 132.5 kB / 0.6446 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008082/0.6614, allocations: 0.5809 MB / 0.6452 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.6615, allocations: 37.7 kB / 0.6452 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.6618, allocations: 363.9 kB / 0.6456 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.662, allocations: 162.6 kB / 0.6457 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.6622, allocations: 138.6 kB / 0.6459 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.6624, allocations: 378.7 kB / 0.6462 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.6627, allocations: 225.9 kB / 0.6464 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/0.6634, allocations: 0.5162 MB / 0.647 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.6645, allocations: 0.7835 MB / 0.6477 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/0.6646, allocations: 4 kB / 0.6477 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001849/0.6664, allocations: 0.9415 MB / 0.6486 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.6665, allocations: 12 kB / 0.6486 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.6665, allocations: 8 kB / 0.6487 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.6676, allocations: 269 kB / 0.6489 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.668, allocations: 131.7 kB / 0.649 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009576/0.669, allocations: 0.8606 MB / 0.6499 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004933/0.6695, allocations: 31.98 kB / 0.6499 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-05/0.6696, allocations: 32 kB / 0.6499 GB, free: 4.691 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.0003464/0.6699, allocations: 237.5 kB / 0.6502 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.6701, allocations: 75.62 kB / 0.6502 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.6714, allocations: 0.7107 MB / 0.6509 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.6714, allocations: 3.984 kB / 0.6509 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.6715, allocations: 0 / 0.6509 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.6717, allocations: 200.5 kB / 0.6511 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.6719, allocations: 16 kB / 0.6511 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.6722, allocations: 12 kB / 0.6512 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/0.6723, allocations: 28.39 kB / 0.6512 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001719/0.674, allocations: 0.7276 MB / 0.6519 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001306/0.6753, allocations: 0.9782 MB / 0.6528 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003593/0.6757, allocations: 235.4 kB / 0.6531 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005035/0.6762, allocations: 394.8 kB / 0.6534 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of Backend: time 7.41e-07/0.6762, allocations: 7.938 kB / 0.6535 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.6779, allocations: 0.6324 MB / 0.6541 GB, free: 412 kB / 0.4981 GB Notification: Performance of SimCode: time 0.002789/0.6807, allocations: 1.906 MB / 0.6559 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of Templates: time 0.02557/0.7063, allocations: 14.24 MB / 0.6698 GB, free: 388 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