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.0008877/0.0008877, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009357/0.0009357, allocations: 160.2 kB / 24.91 MB, free: 8.754 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.9102/0.9102, allocations: 177 MB / 205.2 MB, free: 5.457 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.343e-06/1.343e-06, allocations: 0 / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.39e-05, allocations: 2.312 kB / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01083/0.01085, allocations: 12.99 MB / 286.4 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1118/0.1226, allocations: 11.23 MB / 297.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.183e-05/0.1227, allocations: 1.062 kB / 297.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.123, allocations: 66.94 kB / 297.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.1233, allocations: 89.53 kB / 297.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01008/0.1333, allocations: 5.136 MB / 302.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.1336, allocations: 251.5 kB / 303.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.1336, allocations: 6.172 kB / 303.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003327/0.134, allocations: 213.4 kB / 303.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.1341, allocations: 60.22 kB / 303.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.1341, allocations: 12.69 kB / 303.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007826/0.1419, allocations: 6.684 MB / 310.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.142, allocations: 32.98 kB / 310.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.142, allocations: 56.52 kB / 310.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005435/0.1475, allocations: 4.962 MB / 315.1 MB, free: 7.172 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1475, allocations: 0 / 315.1 MB, free: 7.172 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1475, allocations: 3.938 kB / 315.1 MB, free: 7.168 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1475, allocations: 0 / 315.1 MB, free: 7.168 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.00224/0.1497, allocations: 0.9838 MB / 316.1 MB, free: 6.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.1497, allocations: 11.98 kB / 316.1 MB, free: 6.156 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/0.15, allocations: 87.77 kB / 316.2 MB, free: 6.074 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1502, allocations: 148.4 kB / 316.4 MB, free: 5.906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1502, allocations: 12.66 kB / 316.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.1502, allocations: 20.33 kB / 316.4 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.1507, allocations: 401.6 kB / 316.8 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1507, allocations: 4.375 kB / 316.8 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.1507, allocations: 7.938 kB / 316.8 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1507, allocations: 8 kB / 316.8 MB, free: 5.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.1511, allocations: 215.7 kB / 317 MB, free: 5.219 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.000536/0.1516, allocations: 0.9111 MB / 317.9 MB, free: 4.277 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.1519, allocations: 223 kB / 318.2 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.152, allocations: 62.5 kB / 318.2 MB, free: 3.969 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1119/0.2638, allocations: 67.3 MB / 385.5 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.2639, allocations: 42.5 kB / 385.6 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 2.525e-06/0.2639, allocations: 0 / 385.6 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.002856/0.2667, allocations: 1.222 MB / 386.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.2668, allocations: 106.8 kB / 386.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.411e-05/0.2668, allocations: 119.4 kB / 387 MB, free: 15.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.2668, allocations: 29.77 kB / 387 MB, free: 15.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.2669, allocations: 115.4 kB / 387.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.2669, allocations: 121.3 kB / 387.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/0.267, allocations: 65.19 kB / 387.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.2671, allocations: 330.9 kB / 387.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.457e-05/0.2672, allocations: 59.75 kB / 387.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.643e-05/0.2673, allocations: 124.9 kB / 387.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.2675, allocations: 213.4 kB / 388 MB, free: 14.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2675, allocations: 0 / 388 MB, free: 14.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002741/0.2677, allocations: 250.9 kB / 388.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2677, allocations: 8 kB / 388.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2677, allocations: 3.938 kB / 388.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/0.2679, allocations: 36.81 kB / 388.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.2681, allocations: 79.89 kB / 388.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002198/0.2683, allocations: 0.5133 MB / 388.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.386e-05/0.2684, allocations: 21.09 kB / 388.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.2684, allocations: 11.98 kB / 388.9 MB, free: 13.16 MB / 346.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 9.236e-05/0.2685, allocations: 140.5 kB / 389.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.2685, allocations: 19.98 kB / 389.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007181/0.2693, allocations: 0.8842 MB / 390 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.2693, allocations: 19.97 kB / 390 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2693, allocations: 4 kB / 390 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2693, allocations: 7.672 kB / 390 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.2703, allocations: 1.07 MB / 391.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2703, allocations: 0 / 391.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.2705, allocations: 75.88 kB / 391.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001488/0.2706, allocations: 51.77 kB / 391.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.2706, allocations: 11.98 kB / 391.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001822/0.2708, allocations: 0.5304 MB / 391.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2708, allocations: 4 kB / 391.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007937/0.2716, allocations: 1.003 MB / 392.8 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.2717, allocations: 55.5 kB / 392.8 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.2717, allocations: 8 kB / 392.8 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.2718, allocations: 12 kB / 392.8 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.2719, allocations: 31.94 kB / 392.9 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.2719, allocations: 15.98 kB / 392.9 MB, free: 9.102 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.636e-05/0.2719, allocations: 14.64 kB / 392.9 MB, free: 9.086 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2719, allocations: 0 / 392.9 MB, free: 9.086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001965/0.2739, allocations: 0.9746 MB / 393.9 MB, free: 8.109 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.002536/0.2764, allocations: 1.378 MB / 395.3 MB, free: 6.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000426/0.2768, allocations: 313.6 kB / 395.6 MB, free: 6.422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2768, allocations: 0 / 395.6 MB, free: 6.422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.2771, allocations: 232.3 kB / 395.8 MB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.2775, allocations: 82.91 kB / 395.9 MB, free: 6.113 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.2788, allocations: 1.032 MB / 396.9 MB, free: 5.027 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.567e-05/0.2789, allocations: 127.8 kB / 397 MB, free: 4.883 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.2791, allocations: 132.7 kB / 397.2 MB, free: 4.758 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.2793, allocations: 127.3 kB / 397.3 MB, free: 4.633 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2793, allocations: 0 / 397.3 MB, free: 4.633 MB / 346.7 MB Notification: Performance of Templates: time 0.1391/0.4184, allocations: 41.52 MB / 438.8 MB, free: 119.6 MB / 378.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.095307110343128]