Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 106.8 kB / 18.45 MB, free: 4.621 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.001765/0.001765, allocations: 187.1 kB / 19.38 MB, free: 3.699 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.466/1.466, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.223/0.223, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.4765, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03386/0.5104, allocations: 25.01 MB / 0.544 GB, free: 500 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009036/0.5195, allocations: 4.37 MB / 0.5483 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.5209, allocations: 19.5 kB / 0.5483 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.5224, allocations: 297.4 kB / 0.5486 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005736/0.5281, allocations: 1.598 MB / 0.5501 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004239/0.5324, allocations: 1.34 MB / 0.5515 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003499/0.5359, allocations: 1.847 MB / 0.5533 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.537, allocations: 485.3 kB / 0.5537 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006282/0.5433, allocations: 3.041 MB / 0.5567 GB, free: 6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/0.5458, allocations: 1.266 MB / 0.5579 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000369/0.5462, allocations: 60 kB / 0.558 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/0.5498, allocations: 1.248 MB / 0.5592 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005548/0.5504, allocations: 263.2 kB / 0.5594 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.5516, allocations: 402.1 kB / 0.5598 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003439/0.555, allocations: 1.371 MB / 0.5612 GB, free: 1.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.555, allocations: 4 kB / 0.5612 GB, free: 1.395 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5551, allocations: 0 / 0.5612 GB, free: 1.395 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.721e-05/0.5551, allocations: 0 / 0.5612 GB, free: 1.395 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.003214/0.5583, allocations: 1.122 MB / 0.5623 GB, free: 228 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.5584, allocations: 8.031 kB / 0.5623 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.5595, allocations: 151.9 kB / 0.5624 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.5607, allocations: 0.5326 MB / 0.5629 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.5608, allocations: 108.7 kB / 0.563 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.5609, allocations: 48 kB / 0.5631 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.5625, allocations: 0.8356 MB / 0.5639 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.5625, allocations: 7.875 kB / 0.5639 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.998e-05/0.5626, allocations: 24 kB / 0.5639 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.042e-05/0.5627, allocations: 40.98 kB / 0.564 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.564, allocations: 0.6048 MB / 0.5646 GB, free: 13.74 MB / 430.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.005448/0.5694, allocations: 4.682 MB / 0.5691 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000762/0.5702, allocations: 334.6 kB / 0.5695 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.5705, allocations: 141.3 kB / 0.5696 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003395/0.5708, allocations: 417.5 kB / 0.57 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.5709, allocations: 38.56 kB / 0.57 GB, free: 7.652 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.444e-06/0.5709, allocations: 0 / 0.57 GB, free: 7.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.004935/0.5758, allocations: 1.527 MB / 0.5715 GB, free: 6.047 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.828e-05/0.5759, allocations: 132.5 kB / 0.5716 GB, free: 5.887 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009771/0.5769, allocations: 0.6525 MB / 0.5723 GB, free: 5.227 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.577, allocations: 29.7 kB / 0.5723 GB, free: 5.191 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.5773, allocations: 398.5 kB / 0.5727 GB, free: 4.797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.5774, allocations: 138.1 kB / 0.5728 GB, free: 4.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.5777, allocations: 150.5 kB / 0.573 GB, free: 4.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.5778, allocations: 374.8 kB / 0.5733 GB, free: 4.133 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.5782, allocations: 209.8 kB / 0.5735 GB, free: 3.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00067/0.5789, allocations: 0.4978 MB / 0.574 GB, free: 3.293 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009542/0.5799, allocations: 0.7131 MB / 0.5747 GB, free: 2.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.5799, allocations: 8 kB / 0.5747 GB, free: 2.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001785/0.5817, allocations: 0.8838 MB / 0.5756 GB, free: 1.551 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.5817, allocations: 12 kB / 0.5756 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.5817, allocations: 11.98 kB / 0.5756 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.5831, allocations: 296.9 kB / 0.5759 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.5836, allocations: 115.8 kB / 0.576 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.5849, allocations: 1.394 MB / 0.5774 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.5855, allocations: 24 kB / 0.5774 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.476e-05/0.5855, allocations: 43.98 kB / 0.5774 GB, free: 15.61 MB / 446.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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003849/0.5859, allocations: 247.7 kB / 0.5777 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.5861, allocations: 71.16 kB / 0.5777 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.5879, allocations: 0.7285 MB / 0.5784 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.588, allocations: 4 kB / 0.5784 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.588, allocations: 0 / 0.5784 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/0.5884, allocations: 180.3 kB / 0.5786 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.5886, allocations: 4 kB / 0.5786 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.589, allocations: 15.98 kB / 0.5786 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.5891, allocations: 23.97 kB / 0.5787 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00144/0.5905, allocations: 0.6069 MB / 0.5792 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001113/0.5916, allocations: 0.7688 MB / 0.58 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002935/0.5919, allocations: 163.6 kB / 0.5802 GB, free: 12.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006949/0.5926, allocations: 459 kB / 0.5806 GB, free: 12.29 MB / 446.1 MB Notification: Performance of Backend: time 3.71e-07/0.5926, allocations: 0 / 0.5806 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002465/0.5951, allocations: 0.7699 MB / 0.5813 GB, free: 11.52 MB / 446.1 MB Notification: Performance of SimCode: time 0.003668/0.5988, allocations: 1.931 MB / 0.5832 GB, free: 9.543 MB / 446.1 MB Notification: Performance of Templates: time 0.03419/0.633, allocations: 16.54 MB / 0.5994 GB, free: 9.176 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches