Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.000957/0.000957, allocations: 76.81 kB / 22.29 MB, free: 2.191 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.0009767/0.0009767, allocations: 158.9 kB / 25.69 MB, free: 8.77 MB / 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.8831/0.8831, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 251.6 MB, free: 7.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.565e-05, allocations: 6.25 kB / 251.6 MB, free: 7.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.01239/0.0124, allocations: 14.69 MB / 266.3 MB, free: 8.414 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.02259, allocations: 11.23 MB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.02279, allocations: 11.94 kB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.02322, allocations: 127.2 kB / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005705/0.02379, allocations: 389.5 kB / 278.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009713/0.0335, allocations: 4.849 MB / 282.9 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.03474, allocations: 1.032 MB / 283.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.03491, allocations: 85.2 kB / 284 MB, free: 6.637 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002867/0.03778, allocations: 2.286 MB / 286.3 MB, free: 4.324 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.03811, allocations: 247.3 kB / 286.6 MB, free: 4.082 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.03815, allocations: 36 kB / 286.6 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004751/0.0429, allocations: 3.687 MB / 290.3 MB, free: 368 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.04301, allocations: 111.6 kB / 290.4 MB, free: 256 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.04315, allocations: 159.7 kB / 290.5 MB, free: 96 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002854/0.046, allocations: 2.658 MB / 293.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.046, allocations: 0 / 293.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.04601, allocations: 0 / 293.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.04601, allocations: 0 / 293.2 MB, free: 13.43 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001068/0.04708, allocations: 0.6935 MB / 293.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.04712, allocations: 19.98 kB / 293.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005254/0.04764, allocations: 176 kB / 294.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.04791, allocations: 205.3 kB / 294.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.04793, allocations: 24.97 kB / 294.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.04797, allocations: 44.34 kB / 294.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.04841, allocations: 0.505 MB / 294.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.04842, allocations: 4.125 kB / 294.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.04845, allocations: 15.94 kB / 294.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.04846, allocations: 12 kB / 294.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.0487, allocations: 188.2 kB / 295.1 MB, free: 11.43 MB / 282.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.001379/0.05008, allocations: 1.645 MB / 296.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.05036, allocations: 157.3 kB / 296.9 MB, free: 9.555 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.05042, allocations: 56.81 kB / 296.9 MB, free: 9.496 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01502/0.06544, allocations: 8.954 MB / 305.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.06547, allocations: 38.56 kB / 305.9 MB, free: 500 kB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.06547, allocations: 0 / 305.9 MB, free: 500 kB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.002349/0.06782, allocations: 0.9082 MB / 306.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.06785, allocations: 63.33 kB / 306.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.06801, allocations: 220.9 kB / 307.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.06803, allocations: 37.7 kB / 307.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.06812, allocations: 196.2 kB / 307.3 MB, free: 15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.06818, allocations: 115 kB / 307.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-05/0.06825, allocations: 78.11 kB / 307.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.06835, allocations: 334.8 kB / 307.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/0.0684, allocations: 36.98 kB / 307.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.06851, allocations: 167.5 kB / 308 MB, free: 14.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.0687, allocations: 237.1 kB / 308.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.0687, allocations: 4 kB / 308.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003205/0.06902, allocations: 263.4 kB / 308.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.06904, allocations: 11.98 kB / 308.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.06904, allocations: 8 kB / 308.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.07036, allocations: 233.3 kB / 308.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.07056, allocations: 91.83 kB / 308.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009563/0.07152, allocations: 1.707 MB / 310.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.946e-05/0.07161, allocations: 15.94 kB / 310.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.07162, allocations: 19.94 kB / 310.6 MB, free: 11.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.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 initialization (45): * Single equations (assignments): 43 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.755e-05/0.07172, allocations: 140.5 kB / 310.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.07176, allocations: 27.97 kB / 310.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.0722, allocations: 0.5454 MB / 311.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.07221, allocations: 11.98 kB / 311.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.07221, allocations: 0 / 311.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003653/0.07258, allocations: 0.6655 MB / 312 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007252/0.0733, allocations: 0.8039 MB / 312.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.0733, allocations: 0 / 312.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.07344, allocations: 63.89 kB / 312.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006684/0.07411, allocations: 239.3 kB / 313.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.07412, allocations: 15.92 kB / 313.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002439/0.07437, allocations: 0.5617 MB / 313.7 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.07437, allocations: 0 / 313.7 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.07478, allocations: 0.5299 MB / 314.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.07482, allocations: 43.62 kB / 314.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.07484, allocations: 8 kB / 314.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/0.07492, allocations: 7.938 kB / 314.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.07495, allocations: 15.97 kB / 314.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.07496, allocations: 11.98 kB / 314.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.916e-05/0.07503, allocations: 96.7 kB / 314.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07503, allocations: 0 / 314.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007399/0.07577, allocations: 0.4994 MB / 314.9 MB, free: 6.977 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001136/0.07691, allocations: 0.5951 MB / 315.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.07732, allocations: 357.5 kB / 315.8 MB, free: 6.008 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.07733, allocations: 5 kB / 315.8 MB, free: 6.004 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.07748, allocations: 150.2 kB / 316 MB, free: 5.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.0779, allocations: 164.6 kB / 316.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.079, allocations: 0.8446 MB / 317 MB, free: 4.809 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.487e-05/0.07906, allocations: 122.8 kB / 317.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002716/0.07933, allocations: 98.8 kB / 317.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.07956, allocations: 161.2 kB / 317.4 MB, free: 4.418 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.07956, allocations: 3.938 kB / 317.4 MB, free: 4.414 MB / 298.7 MB Notification: Performance of Templates: time 0.01918/0.09873, allocations: 20.13 MB / 337.5 MB, free: 304 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.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: 2.9543588520027697]