Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 213.6 kB / 24.49 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 46.96 MB / 361.6 MB, free: 4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p_start|T_start|h_start|X_start.1.|volume.medium.T|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.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p_start|T_start|h_start|X_start.1.|volume.medium.T|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.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 71.83 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3366, allocations: 66.05 MB / 0.5619 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.0197/0.3563, allocations: 15.24 MB / 0.5767 GB, free: 4.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008191/0.3645, allocations: 5.047 MB / 0.5817 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006899/0.3652, allocations: 31.69 kB / 0.5817 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009917/0.3662, allocations: 302 kB / 0.582 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.3683, allocations: 0.8628 MB / 0.5828 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.3711, allocations: 1.03 MB / 0.5838 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002535/0.3736, allocations: 1.805 MB / 0.5856 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007334/0.3743, allocations: 393.5 kB / 0.586 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.3758, allocations: 0.7786 MB / 0.5867 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.3768, allocations: 0.6577 MB / 0.5874 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.3769, allocations: 60 kB / 0.5874 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008964/0.3778, allocations: 315.5 kB / 0.5877 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.3782, allocations: 267.1 kB / 0.588 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003933/0.3786, allocations: 330.6 kB / 0.5883 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.3801, allocations: 1.14 MB / 0.5894 GB, free: 7.809 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3801, allocations: 4 kB / 0.5894 GB, free: 7.805 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3801, allocations: 0 / 0.5894 GB, free: 7.805 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.3801, allocations: 0 / 0.5894 GB, free: 7.805 MB / 430.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.002264/0.3824, allocations: 0.9834 MB / 0.5904 GB, free: 6.789 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.3824, allocations: 12.02 kB / 0.5904 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003823/0.3828, allocations: 92.42 kB / 0.5905 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3838, allocations: 490.6 kB / 0.5909 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.3839, allocations: 152.4 kB / 0.5911 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.384, allocations: 48.38 kB / 0.5911 GB, free: 5.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.3856, allocations: 1.157 MB / 0.5923 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.3856, allocations: 3.938 kB / 0.5923 GB, free: 4.641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/0.3857, allocations: 31.98 kB / 0.5923 GB, free: 4.609 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.54e-05/0.3858, allocations: 44.97 kB / 0.5923 GB, free: 4.566 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.3869, allocations: 0.636 MB / 0.593 GB, free: 3.93 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.004985/0.3919, allocations: 3.442 MB / 0.5963 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007437/0.3926, allocations: 336.2 kB / 0.5966 GB, free: 32 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.393, allocations: 157.3 kB / 0.5968 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/0.3946, allocations: 0.7195 MB / 0.5975 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.3946, allocations: 42.55 kB / 0.5975 GB, free: 15.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/0.3946, allocations: 0 / 0.5975 GB, free: 15.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.003813/0.3984, allocations: 1.318 MB / 0.5988 GB, free: 13.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.3985, allocations: 136.5 kB / 0.599 GB, free: 13.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007321/0.3993, allocations: 0.5729 MB / 0.5995 GB, free: 12.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/0.3993, allocations: 33.7 kB / 0.5996 GB, free: 12.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.3996, allocations: 419.9 kB / 0.6 GB, free: 12.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.3998, allocations: 138.8 kB / 0.6001 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.4, allocations: 150.6 kB / 0.6002 GB, free: 12.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.4002, allocations: 366.8 kB / 0.6006 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.4005, allocations: 189.9 kB / 0.6008 GB, free: 11.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007251/0.4013, allocations: 0.631 MB / 0.6014 GB, free: 10.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.4023, allocations: 0.7843 MB / 0.6021 GB, free: 9.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.4023, allocations: 4 kB / 0.6021 GB, free: 9.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001508/0.4038, allocations: 0.8256 MB / 0.6029 GB, free: 9.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.4039, allocations: 8 kB / 0.603 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.4039, allocations: 12 kB / 0.603 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004541/0.4043, allocations: 97.48 kB / 0.6031 GB, free: 8.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007061/0.405, allocations: 183.7 kB / 0.6032 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006807/0.4057, allocations: 0.6733 MB / 0.6039 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/0.4062, allocations: 28 kB / 0.6039 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/0.4063, allocations: 39.98 kB / 0.604 GB, free: 8.008 MB / 446.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.0003612/0.4066, allocations: 253.4 kB / 0.6042 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.4068, allocations: 71.56 kB / 0.6043 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009797/0.4077, allocations: 0.4909 MB / 0.6047 GB, free: 7.176 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.4077, allocations: 3.938 kB / 0.6048 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4077, allocations: 0 / 0.6048 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/0.408, allocations: 111.5 kB / 0.6049 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-05/0.4081, allocations: 4 kB / 0.6049 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.4084, allocations: 19.92 kB / 0.6049 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.4085, allocations: 23.95 kB / 0.6049 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001016/0.4095, allocations: 493.5 kB / 0.6054 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009776/0.4105, allocations: 0.7049 MB / 0.6061 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002524/0.4107, allocations: 152 kB / 0.6062 GB, free: 5.652 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004817/0.4112, allocations: 378.8 kB / 0.6066 GB, free: 5.285 MB / 446.1 MB Notification: Performance of Backend: time 7.72e-07/0.4112, allocations: 0 / 0.6066 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.4128, allocations: 0.5972 MB / 0.6072 GB, free: 4.688 MB / 446.1 MB Notification: Performance of SimCode: time 0.002971/0.4158, allocations: 1.818 MB / 0.6089 GB, free: 2.824 MB / 446.1 MB Notification: Performance of Templates: time 0.02495/0.4408, allocations: 14.1 MB / 0.6227 GB, free: 4.984 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.587237809995713]