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.001104/0.001104, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001164/0.001164, allocations: 166.9 kB / 25.61 MB, free: 8.91 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.9517/0.9517, allocations: 158.6 MB / 187.5 MB, free: 2.789 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.693e-06/1.693e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.591e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01157/0.01158, allocations: 12.78 MB / 264.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009311/0.02089, allocations: 11.08 MB / 275.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/0.02097, allocations: 0 / 275.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.02127, allocations: 71.5 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.02153, allocations: 91.38 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009715/0.03124, allocations: 5.075 MB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.03179, allocations: 246.7 kB / 280.8 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.03183, allocations: 5.641 kB / 280.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.03218, allocations: 219.4 kB / 281 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.374e-05/0.03226, allocations: 55.88 kB / 281.1 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.03228, allocations: 8 kB / 281.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008504/0.04079, allocations: 6.691 MB / 287.8 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.04086, allocations: 31.89 kB / 287.8 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.397e-05/0.04092, allocations: 51.86 kB / 287.8 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006116/0.04704, allocations: 4.943 MB / 292.8 MB, free: 13.78 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.04704, allocations: 0 / 292.8 MB, free: 13.78 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.04704, allocations: 0 / 292.8 MB, free: 13.78 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.04705, allocations: 4 kB / 292.8 MB, free: 13.78 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.00236/0.04941, allocations: 1.113 MB / 293.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.04945, allocations: 11.98 kB / 293.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.04973, allocations: 80.61 kB / 294 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.0499, allocations: 168.3 kB / 294.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.04992, allocations: 12.38 kB / 294.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.04995, allocations: 12.38 kB / 294.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.0505, allocations: 419.4 kB / 294.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.05051, allocations: 8.109 kB / 294.6 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.05054, allocations: 15.92 kB / 294.6 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.05054, allocations: 4 kB / 294.6 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/0.05095, allocations: 223.7 kB / 294.8 MB, free: 11.61 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.001044/0.05199, allocations: 1.324 MB / 296.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.05235, allocations: 269.2 kB / 296.4 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.602e-05/0.05242, allocations: 78.97 kB / 296.5 MB, free: 9.832 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0374/0.08981, allocations: 21.78 MB / 318.3 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.08985, allocations: 45.33 kB / 318.3 MB, free: 3.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.314e-06/0.08986, allocations: 0 / 318.3 MB, free: 3.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.002628/0.09248, allocations: 1.169 MB / 319.5 MB, free: 2.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.09253, allocations: 114.7 kB / 319.6 MB, free: 2.633 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.09261, allocations: 185.8 kB / 319.8 MB, free: 2.434 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.09264, allocations: 37.77 kB / 319.8 MB, free: 2.391 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.09269, allocations: 147.4 kB / 320 MB, free: 2.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/0.09276, allocations: 126.9 kB / 320.1 MB, free: 2.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/0.09284, allocations: 75.31 kB / 320.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.09296, allocations: 0.5001 MB / 320.7 MB, free: 1.523 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.525e-05/0.09304, allocations: 67.94 kB / 320.7 MB, free: 1.457 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.09317, allocations: 165.2 kB / 320.9 MB, free: 1.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.09339, allocations: 253.2 kB / 321.1 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.09339, allocations: 0 / 321.1 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00038/0.09377, allocations: 333.3 kB / 321.5 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.09379, allocations: 4 kB / 321.5 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.09379, allocations: 4 kB / 321.5 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001549/0.09395, allocations: 39.59 kB / 321.5 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.09415, allocations: 79.89 kB / 321.6 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.09548, allocations: 2.024 MB / 323.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.09559, allocations: 12 kB / 323.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.09561, allocations: 15.98 kB / 323.6 MB, free: 14.34 MB / 314.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.09572, allocations: 188.5 kB / 323.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.09579, allocations: 23.91 kB / 323.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.09684, allocations: 0.8834 MB / 324.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.09686, allocations: 19.97 kB / 324.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.09686, allocations: 0 / 324.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.09687, allocations: 11.86 kB / 324.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.09799, allocations: 1.225 MB / 326 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.098, allocations: 7.984 kB / 326 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.09817, allocations: 71.89 kB / 326.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00019/0.09836, allocations: 91.69 kB / 326.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.09838, allocations: 15.98 kB / 326.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006859/0.09907, allocations: 1.769 MB / 327.9 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.09907, allocations: 0 / 327.9 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007996/0.09987, allocations: 1.166 MB / 329.1 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.0999, allocations: 51.53 kB / 329.2 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.09992, allocations: 8 kB / 329.2 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.1001, allocations: 15.98 kB / 329.2 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.1001, allocations: 39.88 kB / 329.2 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1001, allocations: 11.98 kB / 329.2 MB, free: 8.516 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.544e-05/0.1002, allocations: 131.2 kB / 329.4 MB, free: 8.387 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1002, allocations: 0 / 329.4 MB, free: 8.387 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002116/0.1023, allocations: 0.9709 MB / 330.3 MB, free: 7.414 MB / 314.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 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,medium.phase,$cse2.phase,$cse2.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003003/0.1053, allocations: 1.317 MB / 331.6 MB, free: 6.082 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005672/0.1059, allocations: 0.5395 MB / 332.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1059, allocations: 0 / 332.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.1062, allocations: 424.7 kB / 332.6 MB, free: 5.082 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.1066, allocations: 88.16 kB / 332.7 MB, free: 4.996 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.108, allocations: 1.072 MB / 333.8 MB, free: 3.871 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.026e-05/0.1081, allocations: 127.8 kB / 333.9 MB, free: 3.723 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.1083, allocations: 137.7 kB / 334 MB, free: 3.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.1085, allocations: 158.1 kB / 334.2 MB, free: 3.434 MB / 314.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1085, allocations: 0 / 334.2 MB, free: 3.434 MB / 314.7 MB Notification: Performance of Templates: time 0.1411/0.2496, allocations: 42.74 MB / 376.9 MB, free: 73.96 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.159793174359947]