Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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.00103/0.00103, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 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.001216/0.001216, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.004/1.004, allocations: 158.6 MB / 186 MB, free: 2.746 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1631/0.1631, allocations: 32.37 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.672e-05/3.971e-05, allocations: 2.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.184/0.1841, allocations: 16.61 MB / 315.7 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01748/0.2015, allocations: 13.99 MB / 329.7 MB, free: 15.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005707/0.2021, allocations: 27.75 kB / 329.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007213/0.2028, allocations: 250.3 kB / 330 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.2159, allocations: 4.957 MB / 334.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004606/0.2205, allocations: 1.971 MB / 336.9 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002501/0.223, allocations: 2.074 MB / 339 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007247/0.2237, allocations: 473.9 kB / 339.4 MB, free: 5.836 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01057/0.2343, allocations: 7.657 MB / 347.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003034/0.2373, allocations: 2.159 MB / 349.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.2374, allocations: 72 kB / 349.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/0.2482, allocations: 6.766 MB / 356.1 MB, free: 5.039 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.2485, allocations: 315 kB / 356.4 MB, free: 4.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003828/0.2489, allocations: 331.3 kB / 356.7 MB, free: 4.406 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.26, allocations: 5.628 MB / 362.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.26, allocations: 4 kB / 362.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.26, allocations: 0 / 362.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.2601, allocations: 0 / 362.3 MB, free: 14.76 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.00407/0.2641, allocations: 1.517 MB / 363.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2642, allocations: 12.03 kB / 363.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.2655, allocations: 463.5 kB / 364.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007562/0.2663, allocations: 458.2 kB / 364.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.2664, allocations: 165.5 kB / 364.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.798e-05/0.2665, allocations: 60.38 kB / 365 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.2678, allocations: 1.224 MB / 366.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.2678, allocations: 11.88 kB / 366.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.2679, allocations: 28 kB / 366.2 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/0.2679, allocations: 41.3 kB / 366.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006031/0.2685, allocations: 403.3 kB / 366.7 MB, free: 10.14 MB / 330.7 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.003049/0.2716, allocations: 3.632 MB / 370.3 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.2721, allocations: 356.6 kB / 370.7 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.2722, allocations: 86.36 kB / 370.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1186/0.3908, allocations: 67.16 MB / 437.9 MB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.318e-05/0.3909, allocations: 38.56 kB / 437.9 MB, free: 2.648 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.998e-06/0.3909, allocations: 0 / 437.9 MB, free: 2.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=46): time 0.003378/0.3943, allocations: 1.176 MB / 439.1 MB, free: 1.438 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/0.3944, allocations: 166.2 kB / 439.3 MB, free: 1.238 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.3949, allocations: 498.7 kB / 439.8 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.3949, allocations: 37.7 kB / 439.8 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.3951, allocations: 368.8 kB / 440.2 MB, free: 340 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.3953, allocations: 178.5 kB / 440.3 MB, free: 160 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.3954, allocations: 150.5 kB / 440.5 MB, free: 4 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3956, allocations: 378.7 kB / 440.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.3957, allocations: 73.91 kB / 440.9 MB, free: 15.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.3961, allocations: 0.5238 MB / 441.5 MB, free: 14.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.3966, allocations: 0.5851 MB / 442 MB, free: 14.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.3967, allocations: 4 kB / 442 MB, free: 14.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006625/0.3973, allocations: 0.4957 MB / 442.5 MB, free: 13.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.3973, allocations: 8 kB / 442.5 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.3974, allocations: 12 kB / 442.6 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/0.3976, allocations: 48.83 kB / 442.6 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.3981, allocations: 255.6 kB / 442.9 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.3995, allocations: 1.778 MB / 444.6 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.3998, allocations: 28 kB / 444.7 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.3999, allocations: 36 kB / 444.7 MB, free: 11.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1],fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002999/0.4002, allocations: 180.3 kB / 444.9 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.4003, allocations: 51.95 kB / 444.9 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.4015, allocations: 1.298 MB / 446.2 MB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/0.4015, allocations: 35.94 kB / 446.3 MB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4015, allocations: 2.812 kB / 446.3 MB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.4015, allocations: 0 / 446.3 MB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.4032, allocations: 1.628 MB / 447.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4033, allocations: 0 / 447.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.4037, allocations: 167.8 kB / 448 MB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.4038, allocations: 47.59 kB / 448.1 MB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.4039, allocations: 15.98 kB / 448.1 MB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009706/0.4048, allocations: 1.76 MB / 449.9 MB, free: 5.945 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4049, allocations: 3.984 kB / 449.9 MB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000906/0.4058, allocations: 1.063 MB / 450.9 MB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.406, allocations: 135.2 kB / 451.1 MB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.406, allocations: 27.89 kB / 451.1 MB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.4062, allocations: 27.3 kB / 451.1 MB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.4063, allocations: 32.44 kB / 451.2 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.4063, allocations: 11.98 kB / 451.2 MB, free: 4.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002225/0.4066, allocations: 264.6 kB / 451.4 MB, free: 4.367 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.4066, allocations: 0 / 451.4 MB, free: 4.367 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003717/0.4103, allocations: 1.088 MB / 452.5 MB, free: 3.277 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005211/0.4155, allocations: 1.395 MB / 453.9 MB, free: 1.891 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.4167, allocations: 0.4987 MB / 454.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.057e-05/0.4167, allocations: 12.5 kB / 454.4 MB, free: 1.383 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005413/0.4172, allocations: 324.9 kB / 454.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.4185, allocations: 356.1 kB / 455.1 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1715/0.59, allocations: 1.888 MB / 457 MB, free: 116.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.5904, allocations: 248.4 kB / 457.2 MB, free: 116.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001045/0.5914, allocations: 362.2 kB / 457.6 MB, free: 116.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007437/0.5922, allocations: 307.9 kB / 457.9 MB, free: 116.7 MB / 410.7 MB Notification: Performance of SimCode: time 2.254e-06/0.5922, allocations: 0 / 457.9 MB, free: 116.7 MB / 410.7 MB Notification: Performance of Templates: time 0.05818/0.6504, allocations: 50.04 MB / 0.496 GB, free: 80.06 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","",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.638824203982949]