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.0009361/0.0009361, allocations: 80.8 kB / 22.28 MB, free: 2.211 MB / 18.57 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.001058/0.001058, allocations: 166.7 kB / 25.7 MB, free: 8.457 MB / 18.57 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.8466/0.8466, allocations: 158.6 MB / 187.6 MB, free: 2.805 MB / 170.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.553e-06/1.553e-06, allocations: 0 / 251.5 MB, free: 7.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.44e-05, allocations: 2.312 kB / 251.5 MB, free: 7.305 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.0162/0.01622, allocations: 12.89 MB / 264.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009767/0.02599, allocations: 11.24 MB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.02608, allocations: 0 / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.02635, allocations: 59.64 kB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.02661, allocations: 95.25 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009186/0.03579, allocations: 5.106 MB / 280.9 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.03603, allocations: 242.8 kB / 281.1 MB, free: 9.551 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.03607, allocations: 18.22 kB / 281.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.03638, allocations: 211.4 kB / 281.4 MB, free: 9.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.03646, allocations: 59.81 kB / 281.4 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.03648, allocations: 8 kB / 281.4 MB, free: 9.254 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006935/0.04341, allocations: 6.691 MB / 288.1 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.04346, allocations: 23.92 kB / 288.1 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.04351, allocations: 55.84 kB / 288.2 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003671/0.04718, allocations: 4.95 MB / 293.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.04718, allocations: 0 / 293.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.04718, allocations: 0 / 293.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.696e-06/0.04718, allocations: 0 / 293.1 MB, free: 13.52 MB / 282.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.001749/0.04893, allocations: 0.9923 MB / 294.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.04896, allocations: 15.98 kB / 294.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.04923, allocations: 76.69 kB / 294.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.04938, allocations: 149.5 kB / 294.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.0494, allocations: 12.38 kB / 294.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.04943, allocations: 16.38 kB / 294.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007491/0.05018, allocations: 392.7 kB / 294.8 MB, free: 11.78 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.05019, allocations: 8.188 kB / 294.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.05021, allocations: 7.938 kB / 294.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.05022, allocations: 4 kB / 294.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.05059, allocations: 211.7 kB / 295 MB, free: 11.55 MB / 282.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.0006206/0.05121, allocations: 0.906 MB / 295.9 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.05153, allocations: 219.6 kB / 296.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.05159, allocations: 58.56 kB / 296.2 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2044/0.256, allocations: 67.21 MB / 363.4 MB, free: 88.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.256, allocations: 35.56 kB / 363.4 MB, free: 88.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/0.256, allocations: 2.078 kB / 363.4 MB, free: 88.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.002567/0.2586, allocations: 1.202 MB / 364.6 MB, free: 88.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.2586, allocations: 110.8 kB / 364.8 MB, free: 87.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.428e-05/0.2587, allocations: 128.4 kB / 364.9 MB, free: 87.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2587, allocations: 32.39 kB / 364.9 MB, free: 87.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.479e-05/0.2587, allocations: 105.3 kB / 365 MB, free: 87.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.2587, allocations: 119.3 kB / 365.1 MB, free: 87.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.2588, allocations: 69.59 kB / 365.2 MB, free: 87.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.989e-05/0.2588, allocations: 325.1 kB / 365.5 MB, free: 87.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/0.2589, allocations: 61.23 kB / 365.6 MB, free: 87.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.52e-05/0.259, allocations: 136.5 kB / 365.7 MB, free: 87.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.2591, allocations: 215.3 kB / 365.9 MB, free: 86.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2591, allocations: 3.75 kB / 365.9 MB, free: 86.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002268/0.2593, allocations: 253.3 kB / 366.2 MB, free: 86.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.2594, allocations: 4 kB / 366.2 MB, free: 86.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2594, allocations: 0 / 366.2 MB, free: 86.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001047/0.2595, allocations: 27.94 kB / 366.2 MB, free: 86.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.2597, allocations: 86.56 kB / 366.3 MB, free: 86.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001308/0.2598, allocations: 0.5249 MB / 366.8 MB, free: 86.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.866e-05/0.2599, allocations: 15.12 kB / 366.8 MB, free: 86.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.2599, allocations: 7.375 kB / 366.8 MB, free: 86.03 MB / 330.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 6.708e-05/0.26, allocations: 136 kB / 367 MB, free: 85.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.26, allocations: 26.27 kB / 367 MB, free: 85.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005717/0.2606, allocations: 0.8786 MB / 367.9 MB, free: 85.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.2606, allocations: 26.59 kB / 367.9 MB, free: 85.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.2606, allocations: 0 / 367.9 MB, free: 85.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2606, allocations: 0 / 367.9 MB, free: 85.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008246/0.2614, allocations: 1.069 MB / 369 MB, free: 84.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2614, allocations: 5.531 kB / 369 MB, free: 84.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.2616, allocations: 72.33 kB / 369 MB, free: 84.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.2617, allocations: 54.67 kB / 369.1 MB, free: 84.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.2617, allocations: 11.02 kB / 369.1 MB, free: 84.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.86e-05/0.2618, allocations: 0.5287 MB / 369.6 MB, free: 83.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2618, allocations: 4 kB / 369.6 MB, free: 83.63 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.2623, allocations: 0.9952 MB / 370.6 MB, free: 82.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.2623, allocations: 61.95 kB / 370.7 MB, free: 82.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.2624, allocations: 7.875 kB / 370.7 MB, free: 82.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.2625, allocations: 15.81 kB / 370.7 MB, free: 82.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.2626, allocations: 30.73 kB / 370.7 MB, free: 82.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.2626, allocations: 11.45 kB / 370.8 MB, free: 82.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.281e-05/0.2626, allocations: 22.09 kB / 370.8 MB, free: 82.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2626, allocations: 4 kB / 370.8 MB, free: 82.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001386/0.264, allocations: 0.9712 MB / 371.8 MB, free: 81.83 MB / 330.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.002159/0.2661, allocations: 1.354 MB / 373.1 MB, free: 80.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003456/0.2665, allocations: 320.2 kB / 373.4 MB, free: 80.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2665, allocations: 448 / 373.4 MB, free: 80.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.2667, allocations: 231.5 kB / 373.6 MB, free: 80.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.267, allocations: 91.02 kB / 373.7 MB, free: 80.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.2682, allocations: 1.02 MB / 374.8 MB, free: 79.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.497e-05/0.2682, allocations: 128.5 kB / 374.9 MB, free: 79.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.2684, allocations: 131.3 kB / 375 MB, free: 79.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.2686, allocations: 125.8 kB / 375.1 MB, free: 79.11 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2686, allocations: 0 / 375.1 MB, free: 79.11 MB / 330.7 MB Notification: Performance of Templates: time 0.02907/0.2976, allocations: 41.41 MB / 416.5 MB, free: 38.55 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 -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.178496783133596]