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.0009949/0.0009949, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002339, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007192/0.0007192, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008501/0.001569, allocations: 467.5 kB / 11.72 MB, free: 2.449 MB / 13.93 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.9036/0.9036, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07599/0.9796, allocations: 53.87 MB / 243.8 MB, free: 14.89 MB / 250.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.623e-06/1.623e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.011e-05, allocations: 6.25 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01429/0.01431, allocations: 13.1 MB / 258.1 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.02643, allocations: 11.31 MB / 269.4 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.0265, allocations: 0 / 269.4 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.02676, allocations: 71.52 kB / 269.5 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.02701, allocations: 83.38 kB / 269.6 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01088/0.03789, allocations: 4.609 MB / 274.2 MB, free: 396 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.03819, allocations: 238.8 kB / 274.4 MB, free: 156 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.03824, allocations: 18.27 kB / 274.4 MB, free: 132 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1397/0.178, allocations: 214.1 kB / 274.6 MB, free: 3.598 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.1781, allocations: 60.45 kB / 274.7 MB, free: 3.598 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1781, allocations: 8 kB / 274.7 MB, free: 3.598 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008597/0.1867, allocations: 7.18 MB / 281.9 MB, free: 3.598 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.1868, allocations: 21.83 kB / 281.9 MB, free: 3.598 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.1868, allocations: 44.36 kB / 281.9 MB, free: 3.598 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003912/0.1907, allocations: 3.763 MB / 285.7 MB, free: 3.535 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.1908, allocations: 0 / 285.7 MB, free: 3.535 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1908, allocations: 0.75 kB / 285.7 MB, free: 3.535 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1908, allocations: 0 / 285.7 MB, free: 3.535 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.001825/0.1926, allocations: 1.337 MB / 287 MB, free: 18.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.1926, allocations: 8.125 kB / 287 MB, free: 18.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/0.1929, allocations: 89.12 kB / 287.1 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.193, allocations: 142.6 kB / 287.3 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.193, allocations: 13.44 kB / 287.3 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.1931, allocations: 20.38 kB / 287.3 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.1935, allocations: 397.1 kB / 287.7 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1935, allocations: 3.438 kB / 287.7 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.1936, allocations: 10.97 kB / 287.7 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1936, allocations: 6.438 kB / 287.7 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.1939, allocations: 208.7 kB / 287.9 MB, free: 18.62 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.0005795/0.1945, allocations: 0.9105 MB / 288.8 MB, free: 17.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.1948, allocations: 227.3 kB / 289 MB, free: 17.81 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.1948, allocations: 62.03 kB / 289.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1034/0.2982, allocations: 67.32 MB / 356.4 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2982, allocations: 42.45 kB / 356.5 MB, free: 3.941 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 2.094e-06/0.2982, allocations: 0 / 356.5 MB, free: 3.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.002662/0.3009, allocations: 1.209 MB / 357.7 MB, free: 2.738 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.3009, allocations: 106.8 kB / 357.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.916e-05/0.301, allocations: 127.8 kB / 357.9 MB, free: 2.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.301, allocations: 33.7 kB / 357.9 MB, free: 2.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.301, allocations: 103 kB / 358 MB, free: 2.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/0.3011, allocations: 124.5 kB / 358.2 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.3012, allocations: 64.72 kB / 358.2 MB, free: 2.164 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.3012, allocations: 331.6 kB / 358.5 MB, free: 1.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.745e-05/0.3013, allocations: 56.81 kB / 358.6 MB, free: 1.785 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.373e-05/0.3014, allocations: 138.4 kB / 358.7 MB, free: 1.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.3016, allocations: 215.1 kB / 358.9 MB, free: 1.414 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3016, allocations: 4 kB / 359 MB, free: 1.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002531/0.3018, allocations: 248.2 kB / 359.2 MB, free: 1.172 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3018, allocations: 8.219 kB / 359.2 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3018, allocations: 4 kB / 359.2 MB, free: 1.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-05/0.3019, allocations: 28.83 kB / 359.2 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.3022, allocations: 95.41 kB / 359.3 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001888/0.3023, allocations: 0.5234 MB / 359.8 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.3024, allocations: 12 kB / 359.9 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.3024, allocations: 15.98 kB / 359.9 MB, free: 480 kB / 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 7.956e-05/0.3025, allocations: 146.5 kB / 360 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.3026, allocations: 23.45 kB / 360 MB, free: 308 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006738/0.3032, allocations: 0.8819 MB / 360.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.3033, allocations: 19.97 kB / 360.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3033, allocations: 4 kB / 360.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3033, allocations: 3.984 kB / 361 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009178/0.3042, allocations: 1.064 MB / 362 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3042, allocations: 0 / 362 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.3044, allocations: 87.77 kB / 362.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.3044, allocations: 51.53 kB / 362.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001313/0.3045, allocations: 47.69 kB / 362.2 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.3046, allocations: 23.98 kB / 362.2 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001643/0.3047, allocations: 0.5258 MB / 362.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3047, allocations: 3.656 kB / 362.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.3053, allocations: 0.9951 MB / 363.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.3053, allocations: 15.75 kB / 363.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.3055, allocations: 16.05 kB / 363.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.3055, allocations: 32.83 kB / 363.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.3055, allocations: 15.98 kB / 363.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.462e-05/0.3056, allocations: 16.98 kB / 363.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3056, allocations: 0 / 363.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002108/0.3077, allocations: 0.9746 MB / 364.8 MB, free: 11.5 MB / 346.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.002479/0.3101, allocations: 1.374 MB / 366.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003808/0.3105, allocations: 330.8 kB / 366.5 MB, free: 9.926 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.3105, allocations: 4 kB / 366.5 MB, free: 9.922 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.3107, allocations: 238.2 kB / 366.7 MB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.3111, allocations: 112 kB / 366.9 MB, free: 9.605 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.3143, allocations: 1.02 MB / 367.9 MB, free: 8.574 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.689e-05/0.3144, allocations: 131.7 kB / 368 MB, free: 8.418 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.3145, allocations: 136.7 kB / 368.1 MB, free: 8.289 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.3147, allocations: 123.3 kB / 368.3 MB, free: 8.168 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3147, allocations: 0 / 368.3 MB, free: 8.168 MB / 346.7 MB Notification: Performance of Templates: time 0.05177/0.3665, allocations: 41.65 MB / 409.9 MB, free: 14.65 MB / 394.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 -ignoreHideResult -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.019395899027586]