Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009732/0.0009732, allocations: 85.91 kB / 22.22 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009614/0.0009614, allocations: 158 kB / 25.61 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8726/0.8726, allocations: 177 MB / 205.9 MB, free: 4.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.768e-05, allocations: 2.312 kB / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.011/0.01102, allocations: 12.89 MB / 287 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008461/0.01948, allocations: 11.09 MB / 298.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.01954, allocations: 0 / 298.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.01981, allocations: 59.59 kB / 298.1 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.02005, allocations: 95.3 kB / 298.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008277/0.02833, allocations: 5.086 MB / 303.3 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.02856, allocations: 242.8 kB / 303.5 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.0286, allocations: 9.641 kB / 303.6 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.02894, allocations: 219.3 kB / 303.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.121e-05/0.02903, allocations: 63.86 kB / 303.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.02904, allocations: 8 kB / 303.8 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007885/0.03693, allocations: 6.699 MB / 310.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.037, allocations: 31.84 kB / 310.6 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.03706, allocations: 51.91 kB / 310.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006354/0.04341, allocations: 4.958 MB / 315.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.04342, allocations: 0 / 315.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.04342, allocations: 0 / 315.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.04343, allocations: 4 kB / 315.6 MB, free: 10.69 MB / 298.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.002424/0.04585, allocations: 1.113 MB / 316.7 MB, free: 9.539 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.04588, allocations: 12.03 kB / 316.7 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/0.04617, allocations: 76.58 kB / 316.8 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.04634, allocations: 164.4 kB / 316.9 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.04636, allocations: 12.66 kB / 317 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.04639, allocations: 24.3 kB / 317 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.04695, allocations: 407.4 kB / 317.4 MB, free: 8.777 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.04696, allocations: 8.141 kB / 317.4 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.04698, allocations: 7.938 kB / 317.4 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.04699, allocations: 4 kB / 317.4 MB, free: 8.758 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.0474, allocations: 239.5 kB / 317.6 MB, free: 8.527 MB / 298.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.0007574/0.04816, allocations: 1.332 MB / 319 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/0.04879, allocations: 257.2 kB / 319.2 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.756e-05/0.04886, allocations: 75.02 kB / 319.3 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03986/0.08872, allocations: 22.61 MB / 341.9 MB, free: 124 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.08876, allocations: 41.33 kB / 341.9 MB, free: 72 kB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.224e-06/0.08876, allocations: 0 / 341.9 MB, free: 72 kB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.1084/0.1971, allocations: 1.152 MB / 343.1 MB, free: 54.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.1971, allocations: 110.9 kB / 343.2 MB, free: 53.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/0.1972, allocations: 183.3 kB / 343.4 MB, free: 53.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1972, allocations: 36.27 kB / 343.4 MB, free: 53.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.1973, allocations: 149.9 kB / 343.6 MB, free: 53.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.1973, allocations: 129.7 kB / 343.7 MB, free: 53.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.1974, allocations: 80.34 kB / 343.8 MB, free: 53.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.1975, allocations: 0.4976 MB / 344.3 MB, free: 53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.1976, allocations: 70.66 kB / 344.3 MB, free: 53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1977, allocations: 163.4 kB / 344.5 MB, free: 52.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.198, allocations: 252.1 kB / 344.7 MB, free: 52.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.198, allocations: 0 / 344.7 MB, free: 52.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004132/0.1984, allocations: 317.6 kB / 345 MB, free: 52.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1984, allocations: 6.062 kB / 345.1 MB, free: 52.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1984, allocations: 3.469 kB / 345.1 MB, free: 52.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/0.1985, allocations: 31.12 kB / 345.1 MB, free: 52.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.1988, allocations: 86.36 kB / 345.2 MB, free: 52.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001871/0.199, allocations: 0.789 MB / 346 MB, free: 51.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1991, allocations: 19.52 kB / 346 MB, free: 51.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.1991, allocations: 20.36 kB / 346 MB, free: 51.94 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.495e-05/0.1992, allocations: 177.5 kB / 346.2 MB, free: 51.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/0.1993, allocations: 29.81 kB / 346.2 MB, free: 51.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008456/0.2001, allocations: 0.8579 MB / 347.1 MB, free: 51.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.2001, allocations: 22.03 kB / 347.1 MB, free: 51.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.2001, allocations: 1.344 kB / 347.1 MB, free: 51.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2001, allocations: 7.891 kB / 347.1 MB, free: 51.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.2013, allocations: 1.214 MB / 348.3 MB, free: 51.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2014, allocations: 1.375 kB / 348.3 MB, free: 51.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.2016, allocations: 75.75 kB / 348.4 MB, free: 51.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001558/0.2017, allocations: 50.58 kB / 348.4 MB, free: 51.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.2017, allocations: 19.89 kB / 348.4 MB, free: 51.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000141/0.2019, allocations: 0.7994 MB / 349.2 MB, free: 50.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2019, allocations: 1.375 kB / 349.2 MB, free: 50.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007538/0.2026, allocations: 1.141 MB / 350.4 MB, free: 49.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.2027, allocations: 50.78 kB / 350.4 MB, free: 49.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.2027, allocations: 15.31 kB / 350.5 MB, free: 49.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.2028, allocations: 13.25 kB / 350.5 MB, free: 49.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.2029, allocations: 34.69 kB / 350.5 MB, free: 49.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.2029, allocations: 22.05 kB / 350.5 MB, free: 49.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.238e-05/0.2029, allocations: 127.1 kB / 350.6 MB, free: 49.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.2029, allocations: 3.594 kB / 350.6 MB, free: 49.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001863/0.2048, allocations: 0.9732 MB / 351.6 MB, free: 49.76 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.002572/0.2074, allocations: 1.325 MB / 352.9 MB, free: 49.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000439/0.2078, allocations: 352.5 kB / 353.3 MB, free: 49.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2078, allocations: 0 / 353.3 MB, free: 49.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.208, allocations: 270.1 kB / 353.6 MB, free: 49.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.2085, allocations: 90.66 kB / 353.6 MB, free: 49.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.2097, allocations: 1.067 MB / 354.7 MB, free: 49.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.097e-05/0.2098, allocations: 134 kB / 354.8 MB, free: 48.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.21, allocations: 129.1 kB / 355 MB, free: 48.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.2102, allocations: 156 kB / 355.1 MB, free: 48.91 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2102, allocations: 4 kB / 355.1 MB, free: 48.91 MB / 314.7 MB Notification: Performance of Templates: time 0.02949/0.2397, allocations: 42.47 MB / 397.6 MB, free: 12.72 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_trunk_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 4.731806850992143]