Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.0008347/0.0008347, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009024/0.0009024, allocations: 173 kB / 24.25 MB, free: 308 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 0.9266/0.9266, allocations: 158.6 MB / 186 MB, free: 2.93 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.1601/0.1601, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.WaterIF97_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.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 3.938 kB / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.075e-05, allocations: 4.281 kB / 347.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.07079/0.07082, allocations: 40.07 MB / 387.8 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02341/0.09423, allocations: 20.12 MB / 407.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009542/0.09519, allocations: 31.69 kB / 407.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.0965, allocations: 409.3 kB / 408.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01412/0.1106, allocations: 5.184 MB / 413.5 MB, free: 7.719 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007813/0.1184, allocations: 2.59 MB / 416.1 MB, free: 5.117 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002773/0.1212, allocations: 2.023 MB / 418.1 MB, free: 3.082 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006357/0.1218, allocations: 446 kB / 418.5 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006641/0.1285, allocations: 4.437 MB / 423 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006966/0.1354, allocations: 5.444 MB / 428.4 MB, free: 8.617 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.1356, allocations: 72 kB / 428.5 MB, free: 8.547 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009721/0.1453, allocations: 7.05 MB / 435.5 MB, free: 1.488 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003555/0.1457, allocations: 315.1 kB / 435.9 MB, free: 1.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004485/0.1461, allocations: 327.3 kB / 436.2 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1505/0.2966, allocations: 5.885 MB / 442.1 MB, free: 36.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2966, allocations: 0 / 442.1 MB, free: 36.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2966, allocations: 0 / 442.1 MB, free: 36.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.2967, allocations: 0 / 442.1 MB, free: 36.45 MB / 362.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.004058/0.3007, allocations: 1.737 MB / 443.8 MB, free: 35.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3008, allocations: 11.84 kB / 443.8 MB, free: 35.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.3024, allocations: 450.4 kB / 444.2 MB, free: 35.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006505/0.303, allocations: 0.5321 MB / 444.8 MB, free: 35.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.3031, allocations: 171.2 kB / 444.9 MB, free: 35.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.689e-05/0.3032, allocations: 62.28 kB / 445 MB, free: 35.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.3047, allocations: 1.351 MB / 446.4 MB, free: 34.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.3047, allocations: 4.438 kB / 446.4 MB, free: 34.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.655e-05/0.3048, allocations: 37.64 kB / 446.4 MB, free: 34.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.677e-05/0.3048, allocations: 39.41 kB / 446.4 MB, free: 34.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.3061, allocations: 0.624 MB / 447.1 MB, free: 34.38 MB / 362.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.003519/0.3096, allocations: 5.394 MB / 452.5 MB, free: 30.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.3107, allocations: 0.5753 MB / 453 MB, free: 30.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.3109, allocations: 141.5 kB / 453.2 MB, free: 30.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01524/0.3262, allocations: 8.468 MB / 461.6 MB, free: 29.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.3262, allocations: 41.19 kB / 461.7 MB, free: 29.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 3.015e-06/0.3262, allocations: 7.375 kB / 461.7 MB, free: 29.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.003676/0.3299, allocations: 1.702 MB / 463.4 MB, free: 29.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.3299, allocations: 167.7 kB / 463.6 MB, free: 29.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.3304, allocations: 0.5553 MB / 464.1 MB, free: 28.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.3304, allocations: 35.45 kB / 464.1 MB, free: 28.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.3305, allocations: 455.6 kB / 464.6 MB, free: 28.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.183e-05/0.3306, allocations: 182 kB / 464.8 MB, free: 28.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.3308, allocations: 165.1 kB / 464.9 MB, free: 28.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.3309, allocations: 0.5527 MB / 465.5 MB, free: 27.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.3311, allocations: 134.8 kB / 465.6 MB, free: 27.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.3314, allocations: 0.6861 MB / 466.3 MB, free: 27.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.332, allocations: 0.766 MB / 467.1 MB, free: 26.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.332, allocations: 3.531 kB / 467.1 MB, free: 26.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.000808/0.3328, allocations: 0.7094 MB / 467.8 MB, free: 26.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3329, allocations: 12.23 kB / 467.8 MB, free: 26.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3329, allocations: 12.88 kB / 467.8 MB, free: 26.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/0.3331, allocations: 50.11 kB / 467.8 MB, free: 26.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006122/0.3337, allocations: 289.9 kB / 468.1 MB, free: 26.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000801/0.3345, allocations: 2.637 MB / 470.8 MB, free: 23.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.3348, allocations: 44.36 kB / 470.8 MB, free: 23.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.3348, allocations: 42.86 kB / 470.9 MB, free: 23.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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.000191/0.335, allocations: 210.6 kB / 471.1 MB, free: 23.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-05/0.3351, allocations: 89.39 kB / 471.1 MB, free: 23.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.3364, allocations: 1.664 MB / 472.8 MB, free: 23.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.3364, allocations: 40.84 kB / 472.9 MB, free: 23.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.3364, allocations: 0 / 472.9 MB, free: 23.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3364, allocations: 7.5 kB / 472.9 MB, free: 23.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.3384, allocations: 2.326 MB / 475.2 MB, free: 22.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3384, allocations: 0 / 475.2 MB, free: 22.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/0.3388, allocations: 206.1 kB / 475.4 MB, free: 22.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/0.339, allocations: 60.28 kB / 475.4 MB, free: 22.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.3391, allocations: 14.44 kB / 475.5 MB, free: 22.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005691/0.3396, allocations: 2.62 MB / 478.1 MB, free: 20.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3396, allocations: 6.969 kB / 478.1 MB, free: 20.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.3407, allocations: 1.478 MB / 479.6 MB, free: 19.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.3409, allocations: 173.8 kB / 479.7 MB, free: 19.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/0.3409, allocations: 37.39 kB / 479.8 MB, free: 19.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.3411, allocations: 27.25 kB / 479.8 MB, free: 19.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.211e-05/0.3412, allocations: 50.62 kB / 479.8 MB, free: 19.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.3413, allocations: 30.47 kB / 479.9 MB, free: 19.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003116/0.3416, allocations: 457.1 kB / 480.3 MB, free: 19.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3416, allocations: 0 / 480.3 MB, free: 19.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003425/0.345, allocations: 1.102 MB / 481.4 MB, free: 19.45 MB / 362.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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.003993/0.349, allocations: 1.352 MB / 482.8 MB, free: 18.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.3501, allocations: 0.6759 MB / 483.5 MB, free: 17.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.3501, allocations: 0 / 483.5 MB, free: 17.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006085/0.3507, allocations: 474.1 kB / 483.9 MB, free: 17.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009899/0.3517, allocations: 370.7 kB / 484.3 MB, free: 17.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.3542, allocations: 2.139 MB / 486.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.3544, allocations: 275.9 kB / 486.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005477/0.3549, allocations: 406.8 kB / 487.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.355, allocations: 68.36 kB / 487.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.633e-06/0.355, allocations: 3.562 kB / 487.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Templates: time 0.05672/0.4118, allocations: 46.88 MB / 0.5215 GB, free: 196 kB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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/WaterIF97_ph/WaterIF97_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.595587960910052]