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.0007652/0.0007652, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000994/0.001759, 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.001035/0.001035, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001241/0.002276, 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.9276/0.9276, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1846/1.112, allocations: 49.49 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_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.094e-06/2.094e-06, allocations: 0 / 221.9 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.732e-05, allocations: 2.312 kB / 221.9 MB, free: 140 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.02066/0.02069, allocations: 14.73 MB / 236.6 MB, free: 1.344 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.03352, allocations: 11.32 MB / 247.9 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.03378, allocations: 4 kB / 247.9 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.03413, allocations: 135.1 kB / 248.1 MB, free: 5.852 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006085/0.03474, allocations: 377.6 kB / 248.4 MB, free: 5.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01101/0.04575, allocations: 4.864 MB / 253.3 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001305/0.04706, allocations: 1.044 MB / 254.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.04725, allocations: 85.19 kB / 254.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003978/0.05123, allocations: 1.945 MB / 256.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004531/0.05168, allocations: 263.2 kB / 256.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.542e-05/0.05174, allocations: 40 kB / 256.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/0.06182, allocations: 6.161 MB / 262.8 MB, free: 7.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.06201, allocations: 95.72 kB / 262.9 MB, free: 6.945 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.0623, allocations: 143.8 kB / 263.1 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008663/0.07096, allocations: 3.345 MB / 266.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-05/0.07098, allocations: 0 / 266.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.07098, allocations: 3.938 kB / 266.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.388e-05/0.07101, allocations: 7.984 kB / 266.4 MB, free: 3.441 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.002578/0.07359, allocations: 1.161 MB / 267.6 MB, free: 2.254 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.07363, allocations: 8.031 kB / 267.6 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.07468, allocations: 317 kB / 267.9 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.07504, allocations: 217.3 kB / 268.1 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/0.07507, allocations: 29.03 kB / 268.1 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.07513, allocations: 36.36 kB / 268.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009637/0.07609, allocations: 0.6546 MB / 268.8 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.07611, allocations: 0 / 268.8 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.07614, allocations: 12 kB / 268.8 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.07615, allocations: 15.92 kB / 268.8 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006672/0.07682, allocations: 324 kB / 269.2 MB, free: 0.5391 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.001691/0.07851, allocations: 1.473 MB / 270.6 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007925/0.0793, allocations: 334.1 kB / 271 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.07941, allocations: 76.73 kB / 271 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2022/0.2817, allocations: 38.89 MB / 309.9 MB, free: 25.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/0.2817, allocations: 39.77 kB / 310 MB, free: 25.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 3.887e-06/0.2817, allocations: 0 / 310 MB, free: 25.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.002254/0.284, allocations: 1.005 MB / 311 MB, free: 24.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.284, allocations: 55.41 kB / 311 MB, free: 24.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.2841, allocations: 205.9 kB / 311.2 MB, free: 24.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.2841, allocations: 37.2 kB / 311.3 MB, free: 24.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.2842, allocations: 184.6 kB / 311.4 MB, free: 23.97 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.2842, allocations: 114.8 kB / 311.6 MB, free: 23.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.218e-05/0.2843, allocations: 83.44 kB / 311.6 MB, free: 23.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.2844, allocations: 341 kB / 312 MB, free: 23.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.2844, allocations: 64.77 kB / 312 MB, free: 23.45 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.029e-05/0.2845, allocations: 162.7 kB / 312.2 MB, free: 23.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.2847, allocations: 268.8 kB / 312.5 MB, free: 22.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2847, allocations: 5.688 kB / 312.5 MB, free: 22.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003193/0.2851, allocations: 318.3 kB / 312.8 MB, free: 22.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2851, allocations: 8 kB / 312.8 MB, free: 22.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.2851, allocations: 7.938 kB / 312.8 MB, free: 22.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.2853, allocations: 79.33 kB / 312.9 MB, free: 22.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.2855, allocations: 110.1 kB / 313 MB, free: 22.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000825/0.2863, allocations: 2.219 MB / 315.2 MB, free: 20.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.2864, allocations: 19.8 kB / 315.2 MB, free: 20.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.2864, allocations: 15.5 kB / 315.2 MB, free: 20.17 MB / 282.7 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.0001002/0.2865, allocations: 136.8 kB / 315.4 MB, free: 20.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.2866, allocations: 34.22 kB / 315.4 MB, free: 20.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/0.2872, allocations: 0.7964 MB / 316.2 MB, free: 19.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.2872, allocations: 17.72 kB / 316.2 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.2872, allocations: 4 kB / 316.2 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003682/0.2876, allocations: 0.8134 MB / 317 MB, free: 18.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000856/0.2884, allocations: 1.075 MB / 318.1 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.2884, allocations: 4 kB / 318.1 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.2886, allocations: 90.56 kB / 318.2 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.2887, allocations: 48 kB / 318.2 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/0.2888, allocations: 51.02 kB / 318.3 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.2888, allocations: 10.88 kB / 318.3 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001341/0.289, allocations: 0.532 MB / 318.8 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.289, allocations: 0 / 318.8 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.2894, allocations: 0.6859 MB / 319.5 MB, free: 16.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.2895, allocations: 25.91 kB / 319.5 MB, free: 16.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.2896, allocations: 14.25 kB / 319.6 MB, free: 16.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.2896, allocations: 39.61 kB / 319.6 MB, free: 16.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.2897, allocations: 7.5 kB / 319.6 MB, free: 16.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.872e-05/0.2897, allocations: 103.2 kB / 319.7 MB, free: 15.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2897, allocations: 4 kB / 319.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002078/0.2918, allocations: 0.8551 MB / 320.6 MB, free: 15.12 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.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.002576/0.2944, allocations: 1.148 MB / 321.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005123/0.2949, allocations: 395.9 kB / 322.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/0.2949, allocations: 8.688 kB / 322.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.2951, allocations: 183.7 kB / 322.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.2956, allocations: 211.7 kB / 322.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005377/0.3009, allocations: 1.116 MB / 323.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.676e-05/0.301, allocations: 144.2 kB / 323.7 MB, free: 12.19 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002115/0.3012, allocations: 142.4 kB / 323.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.3014, allocations: 172.9 kB / 324.1 MB, free: 11.89 MB / 282.7 MB Notification: Performance of SimCode: time 1.323e-06/0.3014, allocations: 3.375 kB / 324.1 MB, free: 11.89 MB / 282.7 MB Notification: Performance of Templates: time 0.0408/0.3422, allocations: 40.19 MB / 364.3 MB, free: 3.961 MB / 314.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.453391281887889]