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.002016/0.002016, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.002279/0.002279, allocations: 160.6 kB / 25.02 MB, free: 9.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 1.409/1.409, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 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_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 2.114e-06/2.114e-06, allocations: 0 / 250.4 MB, free: 3.887 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.179e-05, allocations: 2.312 kB / 250.4 MB, free: 3.883 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.04111/0.04114, allocations: 29.64 MB / 280.1 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02093/0.06207, allocations: 13.99 MB / 294 MB, free: 8.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.06237, allocations: 11.94 kB / 294.1 MB, free: 8.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.06348, allocations: 238.4 kB / 294.3 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008751/0.06436, allocations: 381.5 kB / 294.7 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01634/0.0807, allocations: 5.786 MB / 300.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.08222, allocations: 0.9929 MB / 301.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.08243, allocations: 69.23 kB / 301.5 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1221/0.2045, allocations: 2.311 MB / 303.8 MB, free: 17.65 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004638/0.205, allocations: 269 kB / 304.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/0.205, allocations: 35.22 kB / 304.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006118/0.2112, allocations: 3.5 MB / 307.6 MB, free: 17.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.2113, allocations: 111.2 kB / 307.7 MB, free: 17.64 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.2115, allocations: 164.4 kB / 307.9 MB, free: 17.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003225/0.2147, allocations: 2.932 MB / 310.8 MB, free: 17.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2147, allocations: 0 / 310.8 MB, free: 17.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2147, allocations: 5.438 kB / 310.8 MB, free: 17.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2148, allocations: 0 / 310.8 MB, free: 17.64 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.001311/0.2161, allocations: 0.7571 MB / 311.6 MB, free: 17.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2161, allocations: 13.27 kB / 311.6 MB, free: 17.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000747/0.2168, allocations: 167.6 kB / 311.8 MB, free: 17.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.2172, allocations: 250.4 kB / 312 MB, free: 17.01 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.2173, allocations: 28.69 kB / 312 MB, free: 17 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.07e-05/0.2173, allocations: 34.62 kB / 312.1 MB, free: 17 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.218, allocations: 0.588 MB / 312.7 MB, free: 16.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.2181, allocations: 5.031 kB / 312.7 MB, free: 16.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.2181, allocations: 18.56 kB / 312.7 MB, free: 16.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.2181, allocations: 8.25 kB / 312.7 MB, free: 16.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005523/0.2187, allocations: 315 kB / 313 MB, free: 16.67 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.001921/0.2206, allocations: 1.854 MB / 314.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.221, allocations: 242.8 kB / 315.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.2212, allocations: 98.44 kB / 315.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02667/0.2478, allocations: 8.353 MB / 323.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.2479, allocations: 44.03 kB / 323.6 MB, free: 14.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/0.2479, allocations: 0 / 323.6 MB, free: 14.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.004121/0.252, allocations: 1.173 MB / 324.7 MB, free: 14.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.252, allocations: 55 kB / 324.8 MB, free: 14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.2523, allocations: 243.4 kB / 325 MB, free: 13.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.2523, allocations: 31.58 kB / 325.1 MB, free: 13.83 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.2524, allocations: 206.9 kB / 325.3 MB, free: 13.67 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.2524, allocations: 107.7 kB / 325.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.2525, allocations: 81.3 kB / 325.5 MB, free: 13.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.2526, allocations: 333.4 kB / 325.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.2527, allocations: 103.3 kB / 325.9 MB, free: 13.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.2529, allocations: 223.5 kB / 326.1 MB, free: 13.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.2533, allocations: 355.9 kB / 326.4 MB, free: 12.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2533, allocations: 0 / 326.4 MB, free: 12.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006424/0.2539, allocations: 445 kB / 326.9 MB, free: 12.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2539, allocations: 10.69 kB / 326.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.2539, allocations: 4.031 kB / 326.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003134/0.2571, allocations: 265.2 kB / 327.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.2574, allocations: 86.17 kB / 327.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.2585, allocations: 1.851 MB / 329.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.2587, allocations: 12.7 kB / 329.1 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.2587, allocations: 17.44 kB / 329.1 MB, free: 10.97 MB / 282.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 (ambient.medium.phase,fixedMassFlowRate.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 (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 0.0001404/0.2589, allocations: 171 kB / 329.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/0.2589, allocations: 36.58 kB / 329.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009294/0.2599, allocations: 0.984 MB / 330.3 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.2599, allocations: 15.08 kB / 330.3 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2599, allocations: 7.188 kB / 330.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000818/0.2607, allocations: 1.149 MB / 331.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.2622, allocations: 1.434 MB / 332.9 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.2622, allocations: 3.938 kB / 332.9 MB, free: 9.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.2624, allocations: 51.81 kB / 333 MB, free: 9.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/0.2639, allocations: 292.9 kB / 333.3 MB, free: 9.449 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.264, allocations: 13.36 kB / 333.3 MB, free: 9.441 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003633/0.2643, allocations: 0.6779 MB / 333.9 MB, free: 8.805 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2643, allocations: 1.859 kB / 333.9 MB, free: 8.805 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008771/0.2652, allocations: 0.9864 MB / 334.9 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.2652, allocations: 39.67 kB / 335 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.2653, allocations: 15.88 kB / 335 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.2655, allocations: 7.125 kB / 335 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.2655, allocations: 15.97 kB / 335 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.2655, allocations: 23.92 kB / 335 MB, free: 8.055 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.2657, allocations: 216.8 kB / 335.2 MB, free: 7.879 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2657, allocations: 0 / 335.2 MB, free: 7.879 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001723/0.2674, allocations: 498.5 kB / 335.7 MB, free: 7.41 MB / 282.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.001599/0.269, allocations: 0.5743 MB / 336.3 MB, free: 6.883 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007029/0.2697, allocations: 0.5193 MB / 336.8 MB, free: 6.492 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2697, allocations: 0 / 336.8 MB, free: 6.492 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.27, allocations: 290.4 kB / 337.1 MB, free: 6.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008307/0.2709, allocations: 173.2 kB / 337.3 MB, free: 6.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.2721, allocations: 0.9664 MB / 338.2 MB, free: 5.344 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.2722, allocations: 216.6 kB / 338.5 MB, free: 5.125 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002335/0.2725, allocations: 102.6 kB / 338.6 MB, free: 5.027 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.2725, allocations: 35.86 kB / 338.6 MB, free: 4.996 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2725, allocations: 0 / 338.6 MB, free: 4.996 MB / 282.7 MB Notification: Performance of Templates: time 0.02799/0.3005, allocations: 18.2 MB / 356.8 MB, free: 2.926 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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: 5.17449825303629]