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.001093/0.001093, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001987/0.00308, allocations: 453.8 kB / 10.46 MB, free: 236 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.0008366/0.0008366, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.002013, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9948/0.9948, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2026/1.197, allocations: 49.5 MB / 220.7 MB, free: 1.355 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 2.706e-06/2.706e-06, allocations: 4 kB / 222 MB, free: 16 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.253e-05, allocations: 2.312 kB / 222 MB, free: 12 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03599/0.03601, allocations: 14.73 MB / 236.8 MB, free: 1.207 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0218/0.05781, allocations: 11.32 MB / 248.1 MB, free: 5.855 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.05811, allocations: 7.938 kB / 248.1 MB, free: 5.848 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.05857, allocations: 131.2 kB / 248.2 MB, free: 5.719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007265/0.0593, allocations: 389.5 kB / 248.6 MB, free: 5.336 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01281/0.07211, allocations: 4.845 MB / 253.4 MB, free: 484 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.07321, allocations: 1.024 MB / 254.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.07339, allocations: 93.19 kB / 254.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003586/0.07697, allocations: 1.943 MB / 256.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.07733, allocations: 251.2 kB / 256.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.07738, allocations: 36 kB / 256.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005324/0.08271, allocations: 3.683 MB / 260.5 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.08283, allocations: 87.72 kB / 260.5 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.08298, allocations: 139.8 kB / 260.7 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003121/0.0861, allocations: 2 MB / 262.7 MB, free: 7.199 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.54e-05/0.08611, allocations: 0 / 262.7 MB, free: 7.199 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.08612, allocations: 0 / 262.7 MB, free: 7.199 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.08613, allocations: 3.938 kB / 262.7 MB, free: 7.195 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.001826/0.08796, allocations: 0.9044 MB / 263.6 MB, free: 6.266 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.088, allocations: 12.03 kB / 263.6 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005452/0.08854, allocations: 253.1 kB / 263.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.08884, allocations: 201.3 kB / 264 MB, free: 5.766 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.08886, allocations: 29.03 kB / 264.1 MB, free: 5.738 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.08891, allocations: 36.36 kB / 264.1 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.08942, allocations: 0.5153 MB / 264.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.08943, allocations: 0 / 264.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.08946, allocations: 12 kB / 264.6 MB, free: 5.094 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.08947, allocations: 16 kB / 264.7 MB, free: 5.078 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.08971, allocations: 184.2 kB / 264.8 MB, free: 4.902 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.001365/0.09108, allocations: 1.649 MB / 266.5 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.09135, allocations: 160.4 kB / 266.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.09141, allocations: 56.81 kB / 266.7 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01484/0.1062, allocations: 8.954 MB / 275.6 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.1063, allocations: 38.56 kB / 275.7 MB, free: 9.953 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.1063, allocations: 3.938 kB / 275.7 MB, free: 9.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.002667/0.1089, allocations: 0.9244 MB / 276.6 MB, free: 8.984 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.109, allocations: 55.41 kB / 276.7 MB, free: 8.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.1091, allocations: 220.9 kB / 276.9 MB, free: 8.691 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1091, allocations: 37.7 kB / 276.9 MB, free: 8.648 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1092, allocations: 188.2 kB / 277.1 MB, free: 8.457 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.29e-05/0.1093, allocations: 119 kB / 277.2 MB, free: 8.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/0.1094, allocations: 78.11 kB / 277.3 MB, free: 8.258 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.1095, allocations: 338.8 kB / 277.6 MB, free: 7.918 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.717e-05/0.1096, allocations: 36.98 kB / 277.7 MB, free: 7.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1097, allocations: 171.4 kB / 277.8 MB, free: 7.664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.1099, allocations: 261 kB / 278.1 MB, free: 7.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1099, allocations: 4 kB / 278.1 MB, free: 7.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004011/0.1103, allocations: 258.8 kB / 278.3 MB, free: 7.086 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1103, allocations: 8.5 kB / 278.4 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.1103, allocations: 8 kB / 278.4 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.1116, allocations: 241.3 kB / 278.6 MB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.1118, allocations: 95.88 kB / 278.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009402/0.1128, allocations: 1.715 MB / 280.4 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/0.1129, allocations: 12 kB / 280.4 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.1129, allocations: 15.98 kB / 280.4 MB, free: 4.879 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.724e-05/0.113, allocations: 140.5 kB / 280.6 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.113, allocations: 27.98 kB / 280.6 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004297/0.1134, allocations: 0.5493 MB / 281.1 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.1134, allocations: 8 kB / 281.2 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.1134, allocations: 3.938 kB / 281.2 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003661/0.1138, allocations: 0.666 MB / 281.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007474/0.1146, allocations: 0.8078 MB / 282.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.1146, allocations: 0 / 282.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.1147, allocations: 59.89 kB / 282.7 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.1147, allocations: 35.7 kB / 282.7 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.1158, allocations: 251.2 kB / 283 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1158, allocations: 8 kB / 283 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002697/0.1161, allocations: 0.5462 MB / 283.5 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1161, allocations: 3.938 kB / 283.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.1165, allocations: 0.5421 MB / 284.1 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.1165, allocations: 19.89 kB / 284.1 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.1166, allocations: 4 kB / 284.1 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.1166, allocations: 19.95 kB / 284.1 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1166, allocations: 11.98 kB / 284.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.833e-05/0.1167, allocations: 100.6 kB / 284.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1167, allocations: 0 / 284.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009102/0.1176, allocations: 0.4916 MB / 284.7 MB, free: 404 kB / 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.1201/0.2377, allocations: 0.5948 MB / 285.3 MB, free: 32.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007113/0.2384, allocations: 360.6 kB / 285.7 MB, free: 32.81 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-05/0.2384, allocations: 7.016 kB / 285.7 MB, free: 32.81 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.2386, allocations: 180 kB / 285.8 MB, free: 32.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007225/0.2393, allocations: 0.7451 MB / 286.6 MB, free: 32.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004937/0.2443, allocations: 0.8569 MB / 287.4 MB, free: 31.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.461e-05/0.2443, allocations: 121.7 kB / 287.6 MB, free: 31.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001872/0.2445, allocations: 99.48 kB / 287.7 MB, free: 31.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.2448, allocations: 157.7 kB / 287.8 MB, free: 31.69 MB / 282.7 MB Notification: Performance of SimCode: time 1.543e-06/0.2448, allocations: 0 / 287.8 MB, free: 31.69 MB / 282.7 MB Notification: Performance of Templates: time 0.02065/0.2654, allocations: 20.57 MB / 308.4 MB, free: 25.54 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3920299829915166]