Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.001581/0.001581, allocations: 89.48 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.001639/0.001639, allocations: 161.2 kB / 24.7 MB, free: 3.531 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.377/1.377, 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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 299 MB, free: 8.668 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.924e-05, allocations: 6.281 kB / 299 MB, free: 8.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.1873/0.1873, allocations: 29.63 MB / 328.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01557/0.2029, allocations: 13.99 MB / 342.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003391/0.2032, allocations: 11.09 kB / 342.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007771/0.204, allocations: 250.6 kB / 342.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007846/0.2048, allocations: 378.8 kB / 343.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01615/0.2209, allocations: 5.799 MB / 349.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.2224, allocations: 1.016 MB / 350.1 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.2226, allocations: 85.39 kB / 350.2 MB, free: 6.938 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005091/0.2277, allocations: 2.338 MB / 352.5 MB, free: 5.461 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.2281, allocations: 273.2 kB / 352.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.468e-05/0.2281, allocations: 40.88 kB / 352.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01159/0.2397, allocations: 5.836 MB / 358.6 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.2399, allocations: 117.2 kB / 358.8 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.2403, allocations: 180.8 kB / 358.9 MB, free: 2.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00968/0.2499, allocations: 4.778 MB / 363.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.25, allocations: 0 / 363.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.25, allocations: 0 / 363.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.25, allocations: 0 / 363.7 MB, free: 13.47 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.002437/0.2524, allocations: 0.9278 MB / 364.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.2524, allocations: 19.98 kB / 364.7 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.2539, allocations: 144.6 kB / 364.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.2544, allocations: 269 kB / 365.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.2545, allocations: 25.72 kB / 365.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.283e-05/0.2545, allocations: 36.31 kB / 365.1 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.2561, allocations: 0.7417 MB / 365.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.2561, allocations: 4.375 kB / 365.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.2562, allocations: 19.94 kB / 365.9 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.2562, allocations: 8 kB / 365.9 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006956/0.2569, allocations: 322.3 kB / 366.2 MB, free: 10.82 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.002972/0.2598, allocations: 1.664 MB / 367.9 MB, free: 9.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.2605, allocations: 262.7 kB / 368.1 MB, free: 8.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.2607, allocations: 105.8 kB / 368.2 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06513/0.3258, allocations: 16.84 MB / 385.1 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.91e-05/0.3259, allocations: 42.55 kB / 385.1 MB, free: 7.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.434e-06/0.3259, allocations: 0 / 385.1 MB, free: 7.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.003771/0.3297, allocations: 1.053 MB / 386.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.3297, allocations: 55.34 kB / 386.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.33, allocations: 230.9 kB / 386.4 MB, free: 6.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.33, allocations: 33.7 kB / 386.5 MB, free: 6.379 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.3302, allocations: 200.3 kB / 386.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.3303, allocations: 115 kB / 386.8 MB, free: 6.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.3305, allocations: 82.14 kB / 386.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3306, allocations: 330.8 kB / 387.2 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.3308, allocations: 96.95 kB / 387.3 MB, free: 5.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.3311, allocations: 211.6 kB / 387.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/0.3316, allocations: 342.3 kB / 387.8 MB, free: 4.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3316, allocations: 0 / 387.8 MB, free: 4.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007846/0.3324, allocations: 418.7 kB / 388.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3324, allocations: 8 kB / 388.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3324, allocations: 4.5 kB / 388.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.3327, allocations: 65.69 kB / 388.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.3331, allocations: 91.83 kB / 388.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.3352, allocations: 2.391 MB / 390.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.3354, allocations: 12.34 kB / 390.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.3354, allocations: 20 kB / 390.8 MB, free: 1.738 MB / 334.1 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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.3356, allocations: 165.7 kB / 391 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.609e-05/0.3357, allocations: 27.81 kB / 391 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.337, allocations: 0.9033 MB / 391.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.337, allocations: 11.98 kB / 391.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.337, allocations: 0 / 391.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001176/0.3382, allocations: 1.07 MB / 393 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.3401, allocations: 1.349 MB / 394.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.3401, allocations: 4 kB / 394.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.3403, allocations: 55.91 kB / 394.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003614/0.3407, allocations: 68.8 kB / 394.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.3407, allocations: 4 kB / 394.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005168/0.3412, allocations: 0.6069 MB / 395.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.3412, allocations: 8.078 kB / 395.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.3424, allocations: 0.8352 MB / 395.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.3425, allocations: 35.73 kB / 396 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.869e-05/0.3425, allocations: 21.69 kB / 396 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.3428, allocations: 19.98 kB / 396 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/0.3429, allocations: 19.95 kB / 396 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.3429, allocations: 15.98 kB / 396 MB, free: 12.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002578/0.3432, allocations: 209.2 kB / 396.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3432, allocations: 0 / 396.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002725/0.3459, allocations: 0.8696 MB / 397.1 MB, free: 11.25 MB / 350.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: 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 (32): * Single equations (assignments): 29 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003719/0.3496, allocations: 1.08 MB / 398.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.3507, allocations: 479.5 kB / 398.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3507, allocations: 0 / 398.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004052/0.3511, allocations: 240.4 kB / 398.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3521, allocations: 157.6 kB / 399 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.3538, allocations: 0.919 MB / 400 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.354, allocations: 221.1 kB / 400.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000405/0.3544, allocations: 170.7 kB / 400.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.216e-05/0.3545, allocations: 40.48 kB / 400.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3545, allocations: 0 / 400.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of Templates: time 0.05626/0.4108, allocations: 34.28 MB / 434.7 MB, free: 5.562 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.144563309848309]