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.001343/0.001343, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.002271/0.002271, allocations: 166.1 kB / 25.7 MB, free: 8.438 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.849/0.849, 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.613e-06/1.613e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.53e-05, allocations: 2.312 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.01843/0.01845, allocations: 14.64 MB / 266.2 MB, free: 8.512 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.03348, allocations: 11.23 MB / 277.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.03376, allocations: 7.938 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.03425, allocations: 131.1 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007661/0.03501, allocations: 381.6 kB / 278 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01501/0.05002, allocations: 5.364 MB / 283.3 MB, free: 7.348 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.05148, allocations: 1.028 MB / 284.4 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.0517, allocations: 93.19 kB / 284.4 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004791/0.05649, allocations: 2.279 MB / 286.7 MB, free: 3.914 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000446/0.05693, allocations: 263.2 kB / 287 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.154e-05/0.057, allocations: 36 kB / 287 MB, free: 3.621 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006552/0.06355, allocations: 3.452 MB / 290.5 MB, free: 172 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.06371, allocations: 111.6 kB / 290.6 MB, free: 60 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.06397, allocations: 171.7 kB / 290.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003789/0.06776, allocations: 2.647 MB / 293.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.06776, allocations: 0 / 293.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.06776, allocations: 0 / 293.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.06777, allocations: 0 / 293.4 MB, free: 13.24 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.001054/0.06882, allocations: 0.7051 MB / 294.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.06886, allocations: 15.98 kB / 294.1 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004648/0.06932, allocations: 176.1 kB / 294.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.06956, allocations: 205.3 kB / 294.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.06958, allocations: 25.03 kB / 294.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.06962, allocations: 32.38 kB / 294.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.07004, allocations: 0.505 MB / 295 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.07005, allocations: 4.125 kB / 295.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.07007, allocations: 19.94 kB / 295.1 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.07008, allocations: 8 kB / 295.1 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.07031, allocations: 196.3 kB / 295.3 MB, free: 11.23 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.001247/0.07156, allocations: 1.634 MB / 296.9 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.07187, allocations: 162.4 kB / 297.1 MB, free: 9.363 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.915e-05/0.07194, allocations: 56.78 kB / 297.1 MB, free: 9.305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01483/0.08676, allocations: 8.958 MB / 306.1 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.08679, allocations: 38.56 kB / 306.1 MB, free: 300 kB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.283e-06/0.08679, allocations: 0 / 306.1 MB, free: 300 kB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.002346/0.08914, allocations: 0.9082 MB / 307 MB, free: 15.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.08916, allocations: 59.34 kB / 307.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.08931, allocations: 228.9 kB / 307.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.08933, allocations: 29.7 kB / 307.3 MB, free: 15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.08941, allocations: 196.2 kB / 307.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.08947, allocations: 111 kB / 307.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.08955, allocations: 82.11 kB / 307.7 MB, free: 14.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.08963, allocations: 338.8 kB / 308 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.76e-05/0.08967, allocations: 40.97 kB / 308.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.824e-05/0.08977, allocations: 155.5 kB / 308.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.08996, allocations: 241 kB / 308.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.08996, allocations: 4 kB / 308.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002854/0.09025, allocations: 258.9 kB / 308.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.09026, allocations: 8 kB / 308.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.09027, allocations: 4.5 kB / 308.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.09157, allocations: 253.2 kB / 309 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.09174, allocations: 75.91 kB / 309.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000804/0.09254, allocations: 1.711 MB / 310.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.635e-05/0.09264, allocations: 15.94 kB / 310.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.09265, allocations: 19.94 kB / 310.8 MB, free: 11.26 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.771e-05/0.09275, allocations: 132.5 kB / 310.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.09279, allocations: 27.97 kB / 311 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.0932, allocations: 0.5415 MB / 311.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.09321, allocations: 16.02 kB / 311.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.09321, allocations: 0 / 311.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003465/0.09356, allocations: 0.6655 MB / 312.2 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000708/0.09427, allocations: 0.8078 MB / 313 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.09427, allocations: 3.984 kB / 313 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.09438, allocations: 47.92 kB / 313 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006626/0.09504, allocations: 255.2 kB / 313.3 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.09505, allocations: 8 kB / 313.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002376/0.09529, allocations: 0.5538 MB / 313.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.09529, allocations: 0 / 313.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.09569, allocations: 0.5377 MB / 314.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/0.09572, allocations: 31.7 kB / 314.4 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.09575, allocations: 8 kB / 314.4 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.09583, allocations: 11.94 kB / 314.4 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.09585, allocations: 19.95 kB / 314.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.09586, allocations: 4 kB / 314.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.082e-05/0.09594, allocations: 100.6 kB / 314.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09594, allocations: 0 / 314.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000893/0.09684, allocations: 0.4956 MB / 315.1 MB, free: 6.809 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.00115/0.09799, allocations: 0.599 MB / 315.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004348/0.09842, allocations: 361.6 kB / 316 MB, free: 5.832 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.09843, allocations: 0 / 316 MB, free: 5.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.09858, allocations: 159 kB / 316.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.099, allocations: 156.6 kB / 316.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1001, allocations: 0.8485 MB / 317.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.23e-05/0.1001, allocations: 114.1 kB / 317.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.1003, allocations: 106.8 kB / 317.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.1005, allocations: 149.2 kB / 317.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1005, allocations: 0 / 317.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of Templates: time 0.01812/0.1186, allocations: 20.09 MB / 337.6 MB, free: 180 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 -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: 3.129454026930034]