Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Essotherm650,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.Essotherm650") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,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.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 113.9 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.001169/0.00117, allocations: 186.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.446/1.446, 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.2344/0.2344, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.84 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4793, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03322/0.5126, allocations: 24.98 MB / 0.544 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00765/0.5203, allocations: 4.367 MB / 0.5482 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.5213, allocations: 20.09 kB / 0.5483 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.5224, allocations: 304.2 kB / 0.5486 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004805/0.5272, allocations: 1.651 MB / 0.5502 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003923/0.5312, allocations: 1.38 MB / 0.5515 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003279/0.5345, allocations: 1.847 MB / 0.5533 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.5356, allocations: 481.3 kB / 0.5538 GB, free: 8.977 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00683/0.5424, allocations: 3.372 MB / 0.5571 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002653/0.5451, allocations: 1.383 MB / 0.5584 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003266/0.5454, allocations: 60 kB / 0.5585 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003416/0.5489, allocations: 1.345 MB / 0.5598 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005249/0.5494, allocations: 267.2 kB / 0.56 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.5505, allocations: 406.1 kB / 0.5604 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003212/0.5537, allocations: 1.371 MB / 0.5618 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5537, allocations: 0 / 0.5618 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5537, allocations: 0 / 0.5618 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.149e-05/0.5538, allocations: 0 / 0.5618 GB, free: 0.7734 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.00311/0.5569, allocations: 1.122 MB / 0.5629 GB, free: 15.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.557, allocations: 8.031 kB / 0.5629 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.5582, allocations: 143.9 kB / 0.563 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.5593, allocations: 0.5405 MB / 0.5635 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.5595, allocations: 112.6 kB / 0.5637 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.5596, allocations: 44 kB / 0.5637 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.5613, allocations: 0.8278 MB / 0.5645 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.5613, allocations: 7.938 kB / 0.5645 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.489e-05/0.5614, allocations: 24 kB / 0.5645 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-05/0.5615, allocations: 40.97 kB / 0.5646 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.5629, allocations: 0.6009 MB / 0.5652 GB, free: 13.13 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.005735/0.5686, allocations: 4.678 MB / 0.5697 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.5693, allocations: 338.5 kB / 0.5701 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.5696, allocations: 145.3 kB / 0.5702 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003107/0.5699, allocations: 425.5 kB / 0.5706 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.5699, allocations: 34.56 kB / 0.5706 GB, free: 7.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.565e-06/0.57, allocations: 0 / 0.5706 GB, free: 7.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.004305/0.5743, allocations: 1.527 MB / 0.5721 GB, free: 5.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.5744, allocations: 132.5 kB / 0.5722 GB, free: 5.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009279/0.5753, allocations: 0.6486 MB / 0.5729 GB, free: 4.613 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.5754, allocations: 33.7 kB / 0.5729 GB, free: 4.574 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.5757, allocations: 394.5 kB / 0.5733 GB, free: 4.184 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.5758, allocations: 134.2 kB / 0.5734 GB, free: 4.051 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.5761, allocations: 146.4 kB / 0.5736 GB, free: 3.902 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.5762, allocations: 378.8 kB / 0.5739 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.5766, allocations: 209.9 kB / 0.5741 GB, free: 3.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.5772, allocations: 0.4978 MB / 0.5746 GB, free: 2.684 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009812/0.5782, allocations: 0.7131 MB / 0.5753 GB, free: 1.844 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.5782, allocations: 4 kB / 0.5753 GB, free: 1.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001807/0.58, allocations: 0.8946 MB / 0.5762 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.5801, allocations: 8 kB / 0.5762 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.5801, allocations: 8.875 kB / 0.5762 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.5815, allocations: 288.5 kB / 0.5765 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.582, allocations: 131.8 kB / 0.5766 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.5836, allocations: 1.382 MB / 0.5779 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006091/0.5842, allocations: 31.98 kB / 0.578 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.752e-05/0.5843, allocations: 40 kB / 0.578 GB, free: 15 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.0004283/0.5847, allocations: 255.8 kB / 0.5783 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.5849, allocations: 71.16 kB / 0.5783 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/0.5866, allocations: 0.7209 MB / 0.579 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.5867, allocations: 0 / 0.579 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.5867, allocations: 3.984 kB / 0.579 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/0.5871, allocations: 180.3 kB / 0.5792 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.5873, allocations: 8 kB / 0.5792 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.5878, allocations: 19.98 kB / 0.5792 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.695e-05/0.5879, allocations: 15.97 kB / 0.5792 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001446/0.5893, allocations: 0.6107 MB / 0.5798 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001264/0.5906, allocations: 0.765 MB / 0.5806 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003465/0.591, allocations: 167.6 kB / 0.5807 GB, free: 12.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009685/0.592, allocations: 451 kB / 0.5812 GB, free: 11.68 MB / 446.1 MB Notification: Performance of Backend: time 4.51e-07/0.592, allocations: 0 / 0.5812 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003301/0.5953, allocations: 0.7653 MB / 0.5819 GB, free: 10.92 MB / 446.1 MB Notification: Performance of SimCode: time 0.004722/0.6, allocations: 1.946 MB / 0.5838 GB, free: 8.926 MB / 446.1 MB Notification: Performance of Templates: time 0.03293/0.633, allocations: 16.54 MB / 0.6 GB, free: 8.59 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches