Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,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.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,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.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 105.5 kB / 18.45 MB, free: 4.602 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.001567/0.001567, allocations: 184.3 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.394/1.394, 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.221/0.221, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4974, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.0203/0.5177, allocations: 16.42 MB / 0.5356 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008209/0.526, allocations: 5.449 MB / 0.541 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008106/0.5268, allocations: 19.12 kB / 0.541 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000982/0.5278, allocations: 326 kB / 0.5413 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.5298, allocations: 0.8377 MB / 0.5421 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.5328, allocations: 0.9945 MB / 0.5431 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002614/0.5355, allocations: 1.802 MB / 0.5448 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000884/0.5364, allocations: 459 kB / 0.5453 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.538, allocations: 0.7457 MB / 0.546 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009831/0.539, allocations: 0.6142 MB / 0.5466 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.5392, allocations: 63.53 kB / 0.5467 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009937/0.5402, allocations: 343.1 kB / 0.547 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.5405, allocations: 260.6 kB / 0.5472 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000632/0.5411, allocations: 394 kB / 0.5476 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.5427, allocations: 1.118 MB / 0.5487 GB, free: 13.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5427, allocations: 0 / 0.5487 GB, free: 13.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5428, allocations: 3.938 kB / 0.5487 GB, free: 13.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.5428, allocations: 0 / 0.5487 GB, free: 13.84 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002179/0.545, allocations: 1.04 MB / 0.5497 GB, free: 13.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.545, allocations: 8.594 kB / 0.5497 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.5454, allocations: 93.58 kB / 0.5498 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008411/0.5462, allocations: 0.5366 MB / 0.5503 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.767e-05/0.5464, allocations: 108.9 kB / 0.5504 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.762e-05/0.5465, allocations: 48.36 kB / 0.5505 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.5477, allocations: 0.8383 MB / 0.5513 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.5477, allocations: 7.938 kB / 0.5513 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.022e-05/0.5478, allocations: 20 kB / 0.5513 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/0.5478, allocations: 40.97 kB / 0.5514 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.5489, allocations: 0.6399 MB / 0.552 GB, free: 10.62 MB / 414.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.004582/0.5535, allocations: 4.34 MB / 0.5562 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005804/0.5541, allocations: 350.6 kB / 0.5566 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.5543, allocations: 177.3 kB / 0.5567 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00182/0.5562, allocations: 1.698 MB / 0.5584 GB, free: 3.504 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.5562, allocations: 46.5 kB / 0.5584 GB, free: 3.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.784e-06/0.5562, allocations: 0 / 0.5584 GB, free: 3.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=37): time 0.003524/0.5597, allocations: 1.405 MB / 0.5598 GB, free: 1.984 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.5598, allocations: 136.5 kB / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000751/0.5606, allocations: 0.6289 MB / 0.5606 GB, free: 1.184 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.5606, allocations: 33.7 kB / 0.5606 GB, free: 1.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.5609, allocations: 402.3 kB / 0.561 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.561, allocations: 130.2 kB / 0.5611 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.5612, allocations: 142.5 kB / 0.5612 GB, free: 484 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5614, allocations: 378.8 kB / 0.5616 GB, free: 96 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.5617, allocations: 193.9 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/0.5623, allocations: 0.5481 MB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009206/0.5633, allocations: 0.7804 MB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.5633, allocations: 8 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001387/0.5647, allocations: 0.8255 MB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5647, allocations: 15.92 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.5647, allocations: 12 kB / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003879/0.5651, allocations: 100.8 kB / 0.564 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.5658, allocations: 176 kB / 0.5642 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005712/0.5664, allocations: 0.6694 MB / 0.5648 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.5669, allocations: 28 kB / 0.5649 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.355e-05/0.5669, allocations: 47.92 kB / 0.5649 GB, free: 12.32 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.00033/0.5673, allocations: 257.4 kB / 0.5652 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.5674, allocations: 67.16 kB / 0.5652 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009048/0.5683, allocations: 0.5 MB / 0.5657 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.5684, allocations: 3.938 kB / 0.5657 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5684, allocations: 0 / 0.5657 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.5687, allocations: 184.3 kB / 0.5659 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.5688, allocations: 4 kB / 0.5659 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.5691, allocations: 12 kB / 0.5659 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.5692, allocations: 27.97 kB / 0.5659 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009377/0.5701, allocations: 489.5 kB / 0.5664 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009021/0.5711, allocations: 0.7248 MB / 0.5671 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002217/0.5713, allocations: 148.3 kB / 0.5672 GB, free: 9.855 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005293/0.5718, allocations: 447 kB / 0.5677 GB, free: 9.426 MB / 430.1 MB Notification: Performance of Backend: time 3.51e-07/0.5718, allocations: 0 / 0.5677 GB, free: 9.426 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.5736, allocations: 0.6353 MB / 0.5683 GB, free: 8.797 MB / 430.1 MB Notification: Performance of SimCode: time 0.003012/0.5766, allocations: 1.842 MB / 0.5701 GB, free: 6.906 MB / 430.1 MB Notification: Performance of Templates: time 0.02237/0.599, allocations: 13.46 MB / 0.5832 GB, free: 9.621 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches