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.000987/0.000987, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.002395, 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.000778/0.000778, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001808, 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.8457/0.8457, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1758/1.021, 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.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 2.114e-06/2.114e-06, allocations: 0 / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.223e-05, allocations: 5.969 kB / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01104/0.01106, allocations: 12.98 MB / 235 MB, free: 3.035 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008783/0.01984, allocations: 11.32 MB / 246.3 MB, free: 7.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.5e-05/0.0199, allocations: 0 / 246.3 MB, free: 7.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.02012, allocations: 63.58 kB / 246.3 MB, free: 7.617 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.02032, allocations: 95.25 kB / 246.4 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008211/0.02853, allocations: 4.583 MB / 251 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.02881, allocations: 250.8 kB / 251.3 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.02886, allocations: 10.3 kB / 251.3 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003797/0.02924, allocations: 219.4 kB / 251.5 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.712e-05/0.02933, allocations: 67.81 kB / 251.5 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.02935, allocations: 4 kB / 251.5 MB, free: 2.375 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009244/0.0386, allocations: 7.175 MB / 258.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.03867, allocations: 19.94 kB / 258.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.525e-05/0.03873, allocations: 39.94 kB / 258.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004679/0.04341, allocations: 3.727 MB / 262.5 MB, free: 7.398 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-05/0.04343, allocations: 4 kB / 262.5 MB, free: 7.395 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.04343, allocations: 0 / 262.5 MB, free: 7.395 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.04344, allocations: 0 / 262.5 MB, free: 7.395 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.002097/0.04554, allocations: 1.341 MB / 263.9 MB, free: 6.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.04558, allocations: 8.031 kB / 263.9 MB, free: 6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002968/0.04588, allocations: 76.69 kB / 263.9 MB, free: 5.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.04606, allocations: 149.5 kB / 264.1 MB, free: 5.754 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.04608, allocations: 12.38 kB / 264.1 MB, free: 5.742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.04612, allocations: 12.38 kB / 264.1 MB, free: 5.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.04666, allocations: 400.7 kB / 264.5 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.04667, allocations: 192 / 264.5 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.04669, allocations: 11.94 kB / 264.5 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.0467, allocations: 4 kB / 264.5 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.04709, allocations: 211.6 kB / 264.7 MB, free: 5.07 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.0006973/0.04778, allocations: 0.9059 MB / 265.6 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.04814, allocations: 231.5 kB / 265.9 MB, free: 3.867 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.016e-05/0.0482, allocations: 58.56 kB / 265.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2517/0.2999, allocations: 67.2 MB / 333.1 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.2999, allocations: 34.56 kB / 333.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 3.747e-06/0.2999, allocations: 0 / 333.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.002861/0.3028, allocations: 1.225 MB / 334.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.3028, allocations: 114 kB / 334.5 MB, free: 3.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.765e-05/0.3029, allocations: 120 kB / 334.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3029, allocations: 36.45 kB / 334.6 MB, free: 3.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.3029, allocations: 103.4 kB / 334.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.303, allocations: 122.5 kB / 334.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.3031, allocations: 69.84 kB / 334.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.281e-05/0.3031, allocations: 331.8 kB / 335.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.574e-05/0.3032, allocations: 63.95 kB / 335.3 MB, free: 2.863 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.898e-05/0.3033, allocations: 120 kB / 335.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3034, allocations: 222.5 kB / 335.6 MB, free: 2.508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3034, allocations: 4 kB / 335.6 MB, free: 2.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002315/0.3036, allocations: 242.5 kB / 335.9 MB, free: 2.285 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3037, allocations: 15.88 kB / 335.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3037, allocations: 0 / 335.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001201/0.3038, allocations: 31.48 kB / 335.9 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.304, allocations: 94.34 kB / 336 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001533/0.3042, allocations: 0.5285 MB / 336.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.939e-05/0.3043, allocations: 15.73 kB / 336.6 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.3043, allocations: 11.88 kB / 336.6 MB, free: 1.59 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 7.944e-05/0.3043, allocations: 143.4 kB / 336.7 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.3044, allocations: 23.8 kB / 336.7 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006181/0.305, allocations: 0.8821 MB / 337.6 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.305, allocations: 19.45 kB / 337.6 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.305, allocations: 6.25 kB / 337.6 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.305, allocations: 0 / 337.6 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009598/0.306, allocations: 1.069 MB / 338.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.306, allocations: 0 / 338.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.3062, allocations: 91.69 kB / 338.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.3062, allocations: 55.47 kB / 338.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001463/0.3064, allocations: 47.77 kB / 338.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.3064, allocations: 15.8 kB / 338.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002048/0.3066, allocations: 0.5366 MB / 339.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3066, allocations: 0 / 339.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007075/0.3073, allocations: 1.006 MB / 340.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.3074, allocations: 15.06 kB / 340.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.3075, allocations: 15.62 kB / 340.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.3076, allocations: 34.84 kB / 340.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.3076, allocations: 11.42 kB / 340.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.959e-05/0.3076, allocations: 17.94 kB / 340.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3076, allocations: 0 / 340.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002092/0.3097, allocations: 0.9627 MB / 341.5 MB, free: 12.89 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.00282/0.3125, allocations: 1.378 MB / 342.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000451/0.313, allocations: 333.3 kB / 343.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.313, allocations: 4 kB / 343.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.3132, allocations: 261.5 kB / 343.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.3137, allocations: 162.9 kB / 343.6 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.317, allocations: 1.024 MB / 344.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.993e-05/0.3171, allocations: 127.8 kB / 344.8 MB, free: 9.871 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002076/0.3173, allocations: 137.1 kB / 344.9 MB, free: 9.742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.3175, allocations: 122.8 kB / 345 MB, free: 9.625 MB / 298.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3175, allocations: 0 / 345 MB, free: 9.625 MB / 298.7 MB Notification: Performance of Templates: time 0.03176/0.3493, allocations: 36.2 MB / 381.2 MB, free: 5.637 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.734978634864092]