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.001045/0.001045, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.002573, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001062/0.001062, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.002391, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.997/0.997, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1769/1.174, allocations: 49.48 MB / 220.5 MB, free: 1.457 MB / 218.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.022e-06/1.022e-06, allocations: 0 / 221.9 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.153e-05, allocations: 6.312 kB / 221.9 MB, free: 132 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.01386/0.01387, allocations: 14.73 MB / 236.6 MB, free: 1.34 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.02399, allocations: 11.31 MB / 247.9 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.02415, allocations: 4 kB / 247.9 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.02448, allocations: 139 kB / 248.1 MB, free: 5.852 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004547/0.02494, allocations: 381.6 kB / 248.4 MB, free: 5.477 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0097/0.03464, allocations: 4.864 MB / 253.3 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008655/0.0355, allocations: 1.028 MB / 254.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.03567, allocations: 81.2 kB / 254.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.03871, allocations: 1.941 MB / 256.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.03901, allocations: 243.3 kB / 256.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.03905, allocations: 36 kB / 256.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004682/0.04373, allocations: 3.691 MB / 260.3 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.659e-05/0.04383, allocations: 91.72 kB / 260.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.04395, allocations: 139.8 kB / 260.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.04609, allocations: 2 MB / 262.5 MB, free: 7.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-05/0.0461, allocations: 0 / 262.5 MB, free: 7.324 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.0461, allocations: 0 / 262.5 MB, free: 7.324 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.04612, allocations: 4 kB / 262.5 MB, free: 7.32 MB / 266.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.001035/0.04715, allocations: 0.9083 MB / 263.4 MB, free: 6.387 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.04718, allocations: 8.031 kB / 263.4 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004809/0.04767, allocations: 265.1 kB / 263.7 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.0479, allocations: 201.3 kB / 263.9 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.04792, allocations: 25.03 kB / 263.9 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.04796, allocations: 36.36 kB / 264 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.04838, allocations: 0.5083 MB / 264.5 MB, free: 5.227 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.0484, allocations: 11.94 kB / 264.5 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.04842, allocations: 16 kB / 264.5 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.04843, allocations: 8 kB / 264.5 MB, free: 5.191 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.04865, allocations: 184.3 kB / 264.7 MB, free: 5.012 MB / 266.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.001351/0.05, allocations: 1.638 MB / 266.3 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.05025, allocations: 158.4 kB / 266.5 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.05031, allocations: 56.83 kB / 266.5 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0151/0.06541, allocations: 8.962 MB / 275.5 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.06544, allocations: 34.56 kB / 275.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.06544, allocations: 0 / 275.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.002131/0.06757, allocations: 0.9198 MB / 276.4 MB, free: 9.113 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.0676, allocations: 55.41 kB / 276.5 MB, free: 9.047 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.06773, allocations: 228.9 kB / 276.7 MB, free: 8.809 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.06775, allocations: 29.7 kB / 276.8 MB, free: 8.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.978e-05/0.06783, allocations: 200.2 kB / 277 MB, free: 8.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.06788, allocations: 111 kB / 277.1 MB, free: 8.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.781e-05/0.06795, allocations: 82.09 kB / 277.1 MB, free: 8.375 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.06803, allocations: 338.8 kB / 277.5 MB, free: 8.035 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.06807, allocations: 32.98 kB / 277.5 MB, free: 8.004 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.06818, allocations: 171.5 kB / 277.7 MB, free: 7.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.06837, allocations: 241.1 kB / 277.9 MB, free: 7.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.06837, allocations: 0 / 277.9 MB, free: 7.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002817/0.06865, allocations: 267.1 kB / 278.2 MB, free: 7.219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.06867, allocations: 16.08 kB / 278.2 MB, free: 7.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.06868, allocations: 4 kB / 278.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.06995, allocations: 233.4 kB / 278.4 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.07017, allocations: 99.77 kB / 278.5 MB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000782/0.07095, allocations: 1.715 MB / 280.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.07103, allocations: 12 kB / 280.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.07104, allocations: 12 kB / 280.2 MB, free: 5.016 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 (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.335e-05/0.07114, allocations: 140.5 kB / 280.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.07117, allocations: 32.08 kB / 280.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.07159, allocations: 0.5337 MB / 281 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.07159, allocations: 15.92 kB / 281 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.0716, allocations: 7.938 kB / 281 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000353/0.07195, allocations: 0.6655 MB / 281.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006718/0.07262, allocations: 0.804 MB / 282.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.07263, allocations: 0 / 282.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.07276, allocations: 63.83 kB / 282.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.07279, allocations: 39.7 kB / 282.5 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006336/0.07342, allocations: 251.2 kB / 282.8 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.07343, allocations: 8 kB / 282.8 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002276/0.07366, allocations: 0.554 MB / 283.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.07366, allocations: 0 / 283.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.07404, allocations: 0.5387 MB / 283.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.07407, allocations: 15.89 kB / 283.9 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.07415, allocations: 8 kB / 283.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.07417, allocations: 19.95 kB / 283.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.07419, allocations: 12.06 kB / 283.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.573e-05/0.07425, allocations: 100.6 kB / 284 MB, free: 1.027 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07425, allocations: 0 / 284 MB, free: 1.027 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007273/0.07498, allocations: 0.4916 MB / 284.5 MB, free: 0.5352 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.1049/0.1799, allocations: 0.5974 MB / 285.1 MB, free: 32.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006372/0.1806, allocations: 354.6 kB / 285.5 MB, free: 32.83 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-05/0.1806, allocations: 5.469 kB / 285.5 MB, free: 32.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.1808, allocations: 159.1 kB / 285.6 MB, free: 32.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.1813, allocations: 196 kB / 285.8 MB, free: 32.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00495/0.1862, allocations: 0.8572 MB / 286.7 MB, free: 32.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.274e-05/0.1863, allocations: 118.6 kB / 286.8 MB, free: 32.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.1865, allocations: 100.5 kB / 286.9 MB, free: 32.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.1867, allocations: 158.4 kB / 287.1 MB, free: 32.33 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1867, allocations: 2.938 kB / 287.1 MB, free: 32.33 MB / 282.7 MB Notification: Performance of Templates: time 0.01856/0.2053, allocations: 20.44 MB / 307.5 MB, free: 26.27 MB / 282.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 -ignoreHideResult -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.2419916465878487]