Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 148.9 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9064/0.9064, allocations: 173.3 MB / 201.4 MB, free: 9.23 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 268.4 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.289e-05, allocations: 2.312 kB / 268.4 MB, free: 6.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.0151/0.01513, allocations: 12.78 MB / 281.2 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1159/0.1311, allocations: 11.07 MB / 292.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.1312, allocations: 0.9688 kB / 292.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.1315, allocations: 64.7 kB / 292.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.1318, allocations: 88.52 kB / 292.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01219/0.1439, allocations: 5.095 MB / 297.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.1443, allocations: 234.5 kB / 297.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.1444, allocations: 12.38 kB / 297.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/0.1448, allocations: 216.7 kB / 297.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.1449, allocations: 57.73 kB / 298 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.1449, allocations: 7.938 kB / 298 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.1551, allocations: 6.689 MB / 304.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.1551, allocations: 31.83 kB / 304.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.1552, allocations: 52.28 kB / 304.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007877/0.1631, allocations: 4.956 MB / 309.7 MB, free: 9.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1631, allocations: 3.094 kB / 309.7 MB, free: 9.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1631, allocations: 0 / 309.7 MB, free: 9.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1631, allocations: 0 / 309.7 MB, free: 9.77 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.002647/0.1658, allocations: 1.113 MB / 310.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1658, allocations: 9.422 kB / 310.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002993/0.1661, allocations: 75.08 kB / 310.9 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1663, allocations: 162.9 kB / 311.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1663, allocations: 14.81 kB / 311.1 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.1663, allocations: 20.72 kB / 311.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/0.1668, allocations: 418.5 kB / 311.5 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1668, allocations: 384 / 311.5 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.1669, allocations: 10.75 kB / 311.5 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1669, allocations: 3.062 kB / 311.5 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003916/0.1673, allocations: 240.7 kB / 311.8 MB, free: 8.336 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.0006077/0.1679, allocations: 1.333 MB / 313.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.1682, allocations: 264.1 kB / 313.4 MB, free: 6.883 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.18e-05/0.1683, allocations: 75.17 kB / 313.4 MB, free: 6.836 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03826/0.2065, allocations: 21.79 MB / 335.2 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.2066, allocations: 44.05 kB / 335.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.934e-06/0.2066, allocations: 0 / 335.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.002894/0.2095, allocations: 1.169 MB / 336.4 MB, free: 500 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.2095, allocations: 106.8 kB / 336.5 MB, free: 368 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.029e-05/0.2096, allocations: 179.5 kB / 336.7 MB, free: 176 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.2096, allocations: 33.7 kB / 336.7 MB, free: 136 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.2097, allocations: 151.4 kB / 336.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.2098, allocations: 124.7 kB / 337 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.981e-05/0.2098, allocations: 79.58 kB / 337.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.2099, allocations: 0.5005 MB / 337.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.487e-05/0.21, allocations: 74.19 kB / 337.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.2102, allocations: 169.1 kB / 337.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.2104, allocations: 259.5 kB / 338.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2104, allocations: 0 / 338.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003857/0.2108, allocations: 329.1 kB / 338.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2108, allocations: 4 kB / 338.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2108, allocations: 4 kB / 338.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.211, allocations: 45.59 kB / 338.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.2112, allocations: 81.95 kB / 338.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.2125, allocations: 2.019 MB / 340.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.2126, allocations: 16.06 kB / 340.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.2126, allocations: 19.3 kB / 340.6 MB, free: 12.14 MB / 298.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.0001004/0.2127, allocations: 182.4 kB / 340.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.2128, allocations: 27.91 kB / 340.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007934/0.2136, allocations: 0.8725 MB / 341.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.2136, allocations: 27.95 kB / 341.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.2136, allocations: 0 / 341.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2136, allocations: 3.938 kB / 341.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.2151, allocations: 1.225 MB / 342.9 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2151, allocations: 6.844 kB / 342.9 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.2153, allocations: 70.77 kB / 343 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001977/0.2155, allocations: 95.73 kB / 343.1 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.2155, allocations: 11.98 kB / 343.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007047/0.2162, allocations: 1.765 MB / 344.9 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2162, allocations: 7.344 kB / 344.9 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008846/0.2171, allocations: 1.156 MB / 346 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.2171, allocations: 55.47 kB / 346.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.2172, allocations: 19.61 kB / 346.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.2173, allocations: 12 kB / 346.1 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.2174, allocations: 39.88 kB / 346.2 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.2174, allocations: 15.98 kB / 346.2 MB, free: 6.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.161e-05/0.2174, allocations: 136.2 kB / 346.3 MB, free: 6.316 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2174, allocations: 0 / 346.3 MB, free: 6.316 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002363/0.2198, allocations: 0.967 MB / 347.3 MB, free: 5.348 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 ($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.0033/0.2231, allocations: 1.312 MB / 348.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006921/0.2238, allocations: 0.5464 MB / 349.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2238, allocations: 0 / 349.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.2241, allocations: 421.4 kB / 349.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.2246, allocations: 96.61 kB / 349.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.2263, allocations: 1.061 MB / 350.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.543e-05/0.2264, allocations: 131.8 kB / 350.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.2266, allocations: 137.6 kB / 351 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.2268, allocations: 158.1 kB / 351.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of SimCode: time 1.313e-06/0.2268, allocations: 4 kB / 351.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of Templates: time 0.04009/0.2669, allocations: 42.79 MB / 393.9 MB, free: 6.844 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_4.0.0_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 3.947721805423498]