Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.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.0012/0.0012, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001724/0.002924, 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.00105/0.00105, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.002067, 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.9605/0.9605, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1955/1.156, allocations: 49.48 MB / 220.5 MB, free: 1.445 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.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.689e-05, allocations: 5.406 kB / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01294/0.01297, allocations: 12.97 MB / 234.8 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009925/0.02289, allocations: 11.32 MB / 246.1 MB, free: 7.785 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.02301, allocations: 0 / 246.1 MB, free: 7.785 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.02327, allocations: 63.59 kB / 246.2 MB, free: 7.723 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.02351, allocations: 91.3 kB / 246.3 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.03421, allocations: 4.583 MB / 250.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.03454, allocations: 258.7 kB / 251.1 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.03459, allocations: 6.297 kB / 251.1 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/0.03498, allocations: 219.3 kB / 251.3 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.841e-05/0.03508, allocations: 63.81 kB / 251.4 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.0351, allocations: 8 kB / 251.4 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/0.04585, allocations: 7.174 MB / 258.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.04593, allocations: 23.92 kB / 258.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.04603, allocations: 43.94 kB / 258.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.05693, allocations: 3.751 MB / 262.4 MB, free: 7.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-05/0.05694, allocations: 0 / 262.4 MB, free: 7.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.05694, allocations: 0 / 262.4 MB, free: 7.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.05696, allocations: 0 / 262.4 MB, free: 7.48 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.003258/0.06021, allocations: 1.337 MB / 263.7 MB, free: 6.098 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.06026, allocations: 12.03 kB / 263.7 MB, free: 6.086 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003073/0.06056, allocations: 76.69 kB / 263.8 MB, free: 6.012 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.06074, allocations: 145.6 kB / 263.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.06076, allocations: 12.38 kB / 264 MB, free: 5.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.06079, allocations: 16.38 kB / 264 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.06147, allocations: 392.7 kB / 264.4 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.06148, allocations: 192 / 264.4 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.0615, allocations: 15.88 kB / 264.4 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.06151, allocations: 4 kB / 264.4 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.06186, allocations: 211.7 kB / 264.6 MB, free: 5.16 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.0006826/0.06255, allocations: 0.9059 MB / 265.5 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.06286, allocations: 223.6 kB / 265.7 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.06292, allocations: 58.55 kB / 265.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2367/0.2996, allocations: 67.2 MB / 333 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.2997, allocations: 39.03 kB / 333 MB, free: 5.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 2.605e-06/0.2997, allocations: 2.297 kB / 333 MB, free: 5.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.002796/0.3025, allocations: 1.208 MB / 334.2 MB, free: 3.965 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.3025, allocations: 113.2 kB / 334.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.538e-05/0.3026, allocations: 127.9 kB / 334.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3026, allocations: 29.64 kB / 334.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.3026, allocations: 103.2 kB / 334.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.3027, allocations: 122.1 kB / 334.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.3e-05/0.3027, allocations: 68.62 kB / 334.8 MB, free: 3.422 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.3028, allocations: 336 kB / 335.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.748e-05/0.3029, allocations: 62.16 kB / 335.2 MB, free: 3.039 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.362e-05/0.3029, allocations: 122 kB / 335.3 MB, free: 2.906 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.3031, allocations: 227.4 kB / 335.5 MB, free: 2.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3031, allocations: 0 / 335.5 MB, free: 2.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002488/0.3034, allocations: 242.5 kB / 335.7 MB, free: 2.457 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3034, allocations: 4 kB / 335.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3034, allocations: 8.203 kB / 335.7 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/0.3035, allocations: 28.84 kB / 335.8 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.3037, allocations: 99.77 kB / 335.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001693/0.3039, allocations: 0.528 MB / 336.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.054e-05/0.304, allocations: 18.05 kB / 336.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.304, allocations: 11.69 kB / 336.4 MB, free: 1.762 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state2.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 8.017e-05/0.3041, allocations: 136.8 kB / 336.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.3041, allocations: 30.53 kB / 336.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006465/0.3048, allocations: 0.8727 MB / 337.5 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.3048, allocations: 23.78 kB / 337.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.3048, allocations: 0 / 337.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3048, allocations: 0 / 337.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009718/0.3058, allocations: 1.073 MB / 338.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.3058, allocations: 7.984 kB / 338.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.306, allocations: 83.77 kB / 338.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.306, allocations: 51.47 kB / 338.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/0.3062, allocations: 54.09 kB / 338.7 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.3062, allocations: 11.88 kB / 338.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000208/0.3064, allocations: 0.5365 MB / 339.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3064, allocations: 4 kB / 339.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007023/0.3071, allocations: 0.9942 MB / 340.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.3072, allocations: 10.56 kB / 340.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3073, allocations: 23.02 kB / 340.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.3073, allocations: 31.12 kB / 340.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3074, allocations: 11.3 kB / 340.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.685e-05/0.3074, allocations: 20.11 kB / 340.4 MB, free: 14 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3074, allocations: 3.656 kB / 340.4 MB, free: 14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002146/0.3095, allocations: 0.9617 MB / 341.4 MB, free: 13.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002566/0.3121, allocations: 1.376 MB / 342.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004356/0.3125, allocations: 328.5 kB / 343.1 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.3125, allocations: 4 kB / 343.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.3128, allocations: 238 kB / 343.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.3132, allocations: 114.2 kB / 343.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.3165, allocations: 1.023 MB / 344.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.018e-05/0.3166, allocations: 127.8 kB / 344.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.3168, allocations: 132.9 kB / 344.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.317, allocations: 123 kB / 344.8 MB, free: 9.898 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.317, allocations: 0 / 344.8 MB, free: 9.898 MB / 298.7 MB Notification: Performance of Templates: time 0.03699/0.354, allocations: 41.54 MB / 386.3 MB, free: 0.543 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.3_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/WaterIF97/WaterIF97.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.249903752468526]