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.001635/0.001635, allocations: 91.5 kB / 21.19 MB, free: 3.398 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.001865/0.001865, allocations: 160.5 kB / 24.56 MB, free: 40 kB / 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.9784/0.9784, allocations: 177 MB / 204.8 MB, free: 5.574 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 2.194e-06/2.194e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.856e-05/4.076e-05, allocations: 5.125 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01626/0.0163, allocations: 13.04 MB / 285.9 MB, free: 4.387 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1378/0.1541, allocations: 11.27 MB / 297.2 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1542, allocations: 5 kB / 297.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.1546, allocations: 68.31 kB / 297.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.1549, allocations: 87.75 kB / 297.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.013/0.1679, allocations: 5.111 MB / 302.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.1683, allocations: 234.8 kB / 302.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.161e-05/0.1683, allocations: 9.109 kB / 302.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004421/0.1688, allocations: 212.7 kB / 302.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.1689, allocations: 65.47 kB / 303 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.1689, allocations: 7.812 kB / 303 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01202/0.181, allocations: 6.7 MB / 309.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1811, allocations: 25.78 kB / 309.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.1812, allocations: 51.66 kB / 309.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.1919, allocations: 4.968 MB / 314.7 MB, free: 7.223 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.1919, allocations: 0 / 314.7 MB, free: 7.223 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1919, allocations: 4 kB / 314.7 MB, free: 7.219 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1919, allocations: 0 / 314.7 MB, free: 7.219 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.003303/0.1952, allocations: 1.104 MB / 315.8 MB, free: 6.078 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.1952, allocations: 11.98 kB / 315.8 MB, free: 6.066 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.1956, allocations: 80.52 kB / 315.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1958, allocations: 167.2 kB / 316.1 MB, free: 5.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1958, allocations: 12.66 kB / 316.1 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.1959, allocations: 24.36 kB / 316.1 MB, free: 5.766 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.1965, allocations: 429.9 kB / 316.5 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1965, allocations: 4.312 kB / 316.5 MB, free: 5.289 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.1966, allocations: 11.94 kB / 316.5 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1966, allocations: 4 kB / 316.5 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.1971, allocations: 259.7 kB / 316.8 MB, free: 5.02 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.0008438/0.1979, allocations: 1.354 MB / 318.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.1983, allocations: 278.6 kB / 318.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.463e-05/0.1984, allocations: 96.03 kB / 318.5 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04552/0.2439, allocations: 26.12 MB / 344.6 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.244, allocations: 45.33 kB / 344.7 MB, free: 9.008 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.595e-06/0.244, allocations: 0 / 344.7 MB, free: 9.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.003196/0.2472, allocations: 1.252 MB / 345.9 MB, free: 7.723 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.2472, allocations: 110.8 kB / 346 MB, free: 7.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.2473, allocations: 178.6 kB / 346.2 MB, free: 7.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.2474, allocations: 29.7 kB / 346.2 MB, free: 7.363 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.2474, allocations: 157.3 kB / 346.4 MB, free: 7.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.808e-05/0.2475, allocations: 120.7 kB / 346.5 MB, free: 7.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004201/0.2479, allocations: 83.11 kB / 346.6 MB, free: 7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.2481, allocations: 0.4962 MB / 347.1 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.2482, allocations: 92 kB / 347.2 MB, free: 6.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.2484, allocations: 178.5 kB / 347.4 MB, free: 6.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.2487, allocations: 289.2 kB / 347.6 MB, free: 5.879 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2487, allocations: 0 / 347.6 MB, free: 5.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004791/0.2492, allocations: 349.6 kB / 348 MB, free: 5.527 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.2492, allocations: 12.56 kB / 348 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2492, allocations: 224 / 348 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.2494, allocations: 35.66 kB / 348 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.2496, allocations: 87.83 kB / 348.1 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003274/0.25, allocations: 0.7961 MB / 348.9 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.2501, allocations: 12 kB / 348.9 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.2501, allocations: 23.3 kB / 348.9 MB, free: 4.531 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,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.0001167/0.2502, allocations: 176.5 kB / 349.1 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.438e-05/0.2503, allocations: 31.91 kB / 349.1 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009606/0.2512, allocations: 0.9614 MB / 350.1 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.2513, allocations: 23.97 kB / 350.1 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2513, allocations: 3.938 kB / 350.1 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.2513, allocations: 3.984 kB / 350.1 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.2527, allocations: 1.326 MB / 351.5 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2527, allocations: 0 / 351.5 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.2529, allocations: 75.88 kB / 351.5 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001732/0.2531, allocations: 51.59 kB / 351.6 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.2531, allocations: 19.92 kB / 351.6 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002678/0.2534, allocations: 0.8001 MB / 352.4 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2534, allocations: 0 / 352.4 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000967/0.2543, allocations: 1.248 MB / 353.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003092/0.2547, allocations: 56.19 kB / 353.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.2547, allocations: 8 kB / 353.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.2548, allocations: 12 kB / 353.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.2549, allocations: 36 kB / 353.8 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.2549, allocations: 19.61 kB / 353.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.255, allocations: 141.1 kB / 353.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.255, allocations: 0 / 353.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002543/0.2575, allocations: 0.9708 MB / 354.9 MB, free: 14.43 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.003604/0.2611, allocations: 1.278 MB / 356.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006695/0.2618, allocations: 404.2 kB / 356.6 MB, free: 12.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2618, allocations: 4.125 kB / 356.6 MB, free: 12.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.2621, allocations: 306.2 kB / 356.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.2626, allocations: 91.06 kB / 357 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.2644, allocations: 1.094 MB / 358.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.091e-05/0.2645, allocations: 127.8 kB / 358.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002258/0.2647, allocations: 134.4 kB / 358.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.2649, allocations: 40.47 kB / 358.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of SimCode: time 1.402e-06/0.2649, allocations: 0 / 358.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of Templates: time 0.03984/0.3047, allocations: 37.38 MB / 395.7 MB, free: 5.707 MB / 346.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.593175383284688]