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.002632/0.002632, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.001966/0.001966, allocations: 166 kB / 25.03 MB, free: 8.43 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 1.324/1.324, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 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.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.203e-06/1.203e-06, allocations: 0 / 250.3 MB, free: 7.863 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.729e-05, allocations: 2.312 kB / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01957/0.01959, allocations: 12.85 MB / 263.2 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01764/0.03723, allocations: 11.26 MB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.03735, allocations: 0 / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.0377, allocations: 71.45 kB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.03803, allocations: 87.31 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01469/0.05272, allocations: 5.082 MB / 279.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004319/0.05315, allocations: 238.8 kB / 279.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.353e-05/0.0532, allocations: 5.641 kB / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005686/0.05377, allocations: 227.3 kB / 280.2 MB, free: 9.918 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.05391, allocations: 59.81 kB / 280.2 MB, free: 9.859 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.05394, allocations: 8 kB / 280.2 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01385/0.06779, allocations: 6.683 MB / 286.9 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.06788, allocations: 27.89 kB / 286.9 MB, free: 3.133 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.06801, allocations: 51.91 kB / 287 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.0784, allocations: 4.978 MB / 292 MB, free: 14.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.07841, allocations: 0 / 292 MB, free: 14.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.07841, allocations: 0 / 292 MB, free: 14.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.07842, allocations: 0 / 292 MB, free: 14.09 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.004325/0.08274, allocations: 1.117 MB / 293.1 MB, free: 12.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.08278, allocations: 11.98 kB / 293.1 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005293/0.08331, allocations: 72.56 kB / 293.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.08361, allocations: 172.4 kB / 293.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.08364, allocations: 12.38 kB / 293.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.0837, allocations: 20.31 kB / 293.4 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.08492, allocations: 438.7 kB / 293.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.08493, allocations: 192 / 293.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.08497, allocations: 11.94 kB / 293.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.08498, allocations: 4 kB / 293.8 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.0862, allocations: 323.6 kB / 294.1 MB, free: 11.82 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.001684/0.08789, allocations: 1.371 MB / 295.5 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008318/0.08872, allocations: 285.2 kB / 295.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.08898, allocations: 115 kB / 295.9 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09733/0.1863, allocations: 25.18 MB / 321.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.1864, allocations: 37.39 kB / 321.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.743e-06/0.1864, allocations: 0 / 321.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.006285/0.1927, allocations: 1.38 MB / 322.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.428e-05/0.1927, allocations: 118.7 kB / 322.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1929, allocations: 181.9 kB / 322.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.384e-05/0.193, allocations: 33.7 kB / 322.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1931, allocations: 151.3 kB / 323 MB, free: 14.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.1932, allocations: 134.8 kB / 323.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.1934, allocations: 83.41 kB / 323.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002768/0.1936, allocations: 0.5001 MB / 323.7 MB, free: 14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.194, allocations: 123.9 kB / 323.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.1944, allocations: 225.2 kB / 324 MB, free: 13.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000807/0.1953, allocations: 361.2 kB / 324.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1953, allocations: 0 / 324.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00112/0.1964, allocations: 436.8 kB / 324.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1964, allocations: 4 kB / 324.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1964, allocations: 4 kB / 324.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/0.1967, allocations: 39.66 kB / 324.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.1971, allocations: 79.89 kB / 324.9 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006448/0.1978, allocations: 0.8234 MB / 325.7 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.198, allocations: 12.22 kB / 325.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/0.1981, allocations: 19.98 kB / 325.8 MB, free: 11.78 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,state.phase,state2.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 0.000201/0.1983, allocations: 180.5 kB / 325.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.1984, allocations: 31.91 kB / 326 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.2004, allocations: 1.005 MB / 327 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.304e-05/0.2004, allocations: 23.97 kB / 327 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2004, allocations: 0 / 327 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2004, allocations: 4 kB / 327 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/0.2031, allocations: 1.376 MB / 328.4 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.2031, allocations: 4 kB / 328.4 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.2035, allocations: 75.88 kB / 328.5 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005495/0.204, allocations: 59.75 kB / 328.5 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.2041, allocations: 19.92 kB / 328.5 MB, free: 8.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005982/0.2047, allocations: 0.8117 MB / 329.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.882e-06/0.2047, allocations: 7.938 kB / 329.4 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.2068, allocations: 1.338 MB / 330.7 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.2069, allocations: 55.52 kB / 330.8 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.2069, allocations: 12 kB / 330.8 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.2073, allocations: 12 kB / 330.8 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-05/0.2073, allocations: 35.88 kB / 330.8 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.2074, allocations: 19.92 kB / 330.8 MB, free: 6.559 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.2075, allocations: 139.2 kB / 331 MB, free: 6.422 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2075, allocations: 0 / 331 MB, free: 6.422 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002783/0.2103, allocations: 0.963 MB / 331.9 MB, free: 5.457 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 ($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.004113/0.2144, allocations: 1.286 MB / 333.2 MB, free: 4.156 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.2157, allocations: 482.8 kB / 333.7 MB, free: 3.676 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2157, allocations: 0 / 333.7 MB, free: 3.676 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006664/0.2164, allocations: 323.2 kB / 334 MB, free: 3.359 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008063/0.2172, allocations: 84.5 kB / 334.1 MB, free: 3.277 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.2197, allocations: 1.111 MB / 335.2 MB, free: 2.113 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.22, allocations: 216.3 kB / 335.4 MB, free: 1.875 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003831/0.2204, allocations: 137.7 kB / 335.5 MB, free: 1.742 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.2205, allocations: 40.48 kB / 335.6 MB, free: 1.699 MB / 314.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2205, allocations: 0 / 335.6 MB, free: 1.699 MB / 314.7 MB Notification: Performance of Templates: time 0.1441/0.3646, allocations: 37.26 MB / 372.8 MB, free: 93.01 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.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: 6.893169491086155]