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_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.001708/0.001708, allocations: 88.31 kB / 21.44 MB, free: 276 kB / 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.001415/0.001415, allocations: 164 kB / 24.71 MB, free: 3.527 MB / 14.72 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.391/1.391, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 MB " [Timeout remaining time 178] 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_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 3.938 kB / 299 MB, free: 8.66 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.564e-05/3.797e-05, allocations: 2.281 kB / 299 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.2389/0.2389, allocations: 29.63 MB / 328.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02/0.2589, allocations: 14 MB / 342.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003816/0.2593, allocations: 4.562 kB / 342.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009337/0.2602, allocations: 245.7 kB / 342.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008325/0.2611, allocations: 386.5 kB / 343.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01956/0.2806, allocations: 5.794 MB / 349 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.2826, allocations: 0.9969 MB / 350 MB, free: 7.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.2828, allocations: 72.83 kB / 350.1 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005457/0.2883, allocations: 2.346 MB / 352.5 MB, free: 5.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.2887, allocations: 283.7 kB / 352.7 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.976e-05/0.2887, allocations: 41.47 kB / 352.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01244/0.3011, allocations: 5.83 MB / 358.6 MB, free: 2.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.3014, allocations: 119.2 kB / 358.7 MB, free: 2.316 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004931/0.3019, allocations: 167.8 kB / 358.9 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.3142, allocations: 4.759 MB / 363.6 MB, free: 13.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3142, allocations: 0 / 363.6 MB, free: 13.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3142, allocations: 0 / 363.6 MB, free: 13.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.3142, allocations: 3.938 kB / 363.7 MB, free: 13.5 MB / 318.1 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.002918/0.3171, allocations: 0.9634 MB / 364.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.3172, allocations: 11.98 kB / 364.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.3185, allocations: 145.3 kB / 364.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005946/0.3191, allocations: 269 kB / 365 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.3192, allocations: 33.03 kB / 365.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.3192, allocations: 28.38 kB / 365.1 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.321, allocations: 0.6938 MB / 365.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.321, allocations: 4.312 kB / 365.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.3211, allocations: 23.94 kB / 365.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.3211, allocations: 8 kB / 365.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.3227, allocations: 0.498 MB / 366.3 MB, free: 10.71 MB / 318.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.003152/0.3259, allocations: 1.72 MB / 368 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.3275, allocations: 430.3 kB / 368.5 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.328, allocations: 160.3 kB / 368.6 MB, free: 8.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006551/0.3286, allocations: 187.8 kB / 368.8 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.3287, allocations: 39 kB / 368.8 MB, free: 8.109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.894e-06/0.3287, allocations: 0 / 368.8 MB, free: 8.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.005435/0.3341, allocations: 1.369 MB / 370.2 MB, free: 6.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.3342, allocations: 55.41 kB / 370.3 MB, free: 6.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.3345, allocations: 215.2 kB / 370.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.3345, allocations: 33.7 kB / 370.5 MB, free: 6.379 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.3347, allocations: 188.4 kB / 370.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.3348, allocations: 122.9 kB / 370.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.3349, allocations: 78.19 kB / 370.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.3352, allocations: 338.8 kB / 371.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/0.3356, allocations: 136.9 kB / 371.3 MB, free: 5.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.3362, allocations: 240 kB / 371.6 MB, free: 5.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009857/0.3371, allocations: 394.8 kB / 372 MB, free: 4.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.3372, allocations: 4 kB / 372 MB, free: 4.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001435/0.3386, allocations: 0.5036 MB / 372.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3386, allocations: 6.5 kB / 372.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3386, allocations: 4 kB / 372.5 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005736/0.3392, allocations: 102.5 kB / 372.6 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.3397, allocations: 92.06 kB / 372.7 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/0.3422, allocations: 2.382 MB / 375.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.3425, allocations: 36.31 kB / 375.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.084e-05/0.3425, allocations: 17.56 kB / 375.1 MB, free: 1.492 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.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 (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002454/0.3428, allocations: 153.8 kB / 375.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.958e-05/0.3429, allocations: 23.86 kB / 375.3 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.3454, allocations: 1.381 MB / 376.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.3454, allocations: 31.84 kB / 376.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.3454, allocations: 0 / 376.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002256/0.3477, allocations: 1.467 MB / 378.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/0.3512, allocations: 1.948 MB / 380.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.3512, allocations: 0 / 380.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.3517, allocations: 97.42 kB / 380.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000376/0.352, allocations: 76.75 kB / 380.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/0.3521, allocations: 8 kB / 380.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005091/0.3526, allocations: 0.5953 MB / 380.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3526, allocations: 4.094 kB / 380.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.3548, allocations: 1.3 MB / 382.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.3549, allocations: 59.58 kB / 382.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.857e-05/0.355, allocations: 11.95 kB / 382.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.3553, allocations: 27.97 kB / 382.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.3554, allocations: 35.88 kB / 382.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.3554, allocations: 15.98 kB / 382.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000272/0.3557, allocations: 215.1 kB / 382.5 MB, free: 9.852 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3557, allocations: 0 / 382.5 MB, free: 9.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00305/0.3587, allocations: 0.8578 MB / 383.4 MB, free: 8.992 MB / 334.1 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.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,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 simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005506/0.3643, allocations: 1.095 MB / 384.5 MB, free: 7.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.366, allocations: 0.6381 MB / 385.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.366, allocations: 0 / 385.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008013/0.3668, allocations: 390.7 kB / 385.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.368, allocations: 164.4 kB / 385.7 MB, free: 6.695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.3706, allocations: 1.222 MB / 386.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.3709, allocations: 280.9 kB / 387.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004006/0.3713, allocations: 141 kB / 387.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.3714, allocations: 36.48 kB / 387.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3714, allocations: 0 / 387.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of Templates: time 0.05955/0.431, allocations: 35.22 MB / 422.6 MB, free: 1.699 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_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_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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: 7.216304503381252]