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.001432/0.001432, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001545/0.001545, allocations: 170.1 kB / 24.82 MB, free: 9.254 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.9485/0.9485, allocations: 177 MB / 205.1 MB, free: 5.469 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.004e-06/2.004e-06, allocations: 0 / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.458e-05, allocations: 5.266 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01208/0.01211, allocations: 12.89 MB / 286.2 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1231/0.1352, allocations: 11.07 MB / 297.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1353, allocations: 1.188 kB / 297.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.1356, allocations: 70.53 kB / 297.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.1358, allocations: 90.34 kB / 297.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01082/0.1466, allocations: 5.105 MB / 302.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003156/0.147, allocations: 242 kB / 302.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.147, allocations: 5.641 kB / 302.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003918/0.1474, allocations: 215.9 kB / 303 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1475, allocations: 59.95 kB / 303 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.1475, allocations: 8.469 kB / 303 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/0.1576, allocations: 6.693 MB / 309.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.59e-05/0.1577, allocations: 29.47 kB / 309.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.1578, allocations: 55.89 kB / 309.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007393/0.1652, allocations: 4.963 MB / 314.8 MB, free: 7.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1652, allocations: 0 / 314.8 MB, free: 7.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1652, allocations: 4 kB / 314.8 MB, free: 7.348 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1652, allocations: 4 kB / 314.8 MB, free: 7.344 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.002393/0.1676, allocations: 1.111 MB / 315.9 MB, free: 6.207 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1676, allocations: 19.97 kB / 315.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002896/0.1679, allocations: 73.2 kB / 316 MB, free: 6.117 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.1681, allocations: 164.4 kB / 316.2 MB, free: 5.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1681, allocations: 16.66 kB / 316.2 MB, free: 5.914 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.1681, allocations: 16.38 kB / 316.2 MB, free: 5.898 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.1686, allocations: 418.2 kB / 316.6 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1686, allocations: 4.375 kB / 316.6 MB, free: 5.441 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.1686, allocations: 7.938 kB / 316.6 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1687, allocations: 4 kB / 316.6 MB, free: 5.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.169, allocations: 242.9 kB / 316.8 MB, free: 5.195 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.0005791/0.1696, allocations: 1.334 MB / 318.2 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.1699, allocations: 268.4 kB / 318.4 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.17, allocations: 75.03 kB / 318.5 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03952/0.2095, allocations: 22.74 MB / 341.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.2095, allocations: 41.33 kB / 341.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/0.2095, allocations: 3.938 kB / 341.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.00259/0.2121, allocations: 1.172 MB / 342.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.2122, allocations: 106.8 kB / 342.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.2122, allocations: 180.5 kB / 342.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.2123, allocations: 29.7 kB / 342.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.2123, allocations: 158.2 kB / 342.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/0.2124, allocations: 126.6 kB / 343.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.2125, allocations: 87.19 kB / 343.1 MB, free: 10.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2126, allocations: 0.502 MB / 343.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.2127, allocations: 71.94 kB / 343.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.2128, allocations: 158.6 kB / 343.9 MB, free: 10 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.213, allocations: 251.8 kB / 344.1 MB, free: 9.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.213, allocations: 0 / 344.1 MB, free: 9.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003845/0.2134, allocations: 328.8 kB / 344.4 MB, free: 9.398 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2134, allocations: 8.625 kB / 344.4 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2134, allocations: 3.938 kB / 344.5 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001398/0.2136, allocations: 39.66 kB / 344.5 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.2138, allocations: 85.52 kB / 344.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.2151, allocations: 2.034 MB / 346.6 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.2152, allocations: 19.94 kB / 346.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.2152, allocations: 12 kB / 346.6 MB, free: 7.086 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 9.555e-05/0.2153, allocations: 180.3 kB / 346.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.2154, allocations: 28.02 kB / 346.8 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.2164, allocations: 0.8728 MB / 347.7 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.2164, allocations: 23.97 kB / 347.7 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2165, allocations: 0 / 347.7 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2165, allocations: 7.922 kB / 347.7 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.2177, allocations: 1.221 MB / 349 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.2177, allocations: 3.938 kB / 349 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.2179, allocations: 83.88 kB / 349.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002187/0.2181, allocations: 87.61 kB / 349.1 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.2182, allocations: 12.16 kB / 349.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000748/0.2189, allocations: 1.773 MB / 350.9 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2189, allocations: 3.938 kB / 350.9 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008528/0.2198, allocations: 1.152 MB / 352.1 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.2198, allocations: 59.45 kB / 352.1 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.2198, allocations: 12 kB / 352.1 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.22, allocations: 12 kB / 352.2 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.22, allocations: 35.88 kB / 352.2 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.22, allocations: 15.98 kB / 352.2 MB, free: 1.348 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.018e-05/0.2201, allocations: 138.1 kB / 352.3 MB, free: 1.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2201, allocations: 0 / 352.3 MB, free: 1.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002518/0.2226, allocations: 0.9786 MB / 353.3 MB, free: 240 kB / 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.003712/0.2263, allocations: 1.322 MB / 354.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000652/0.227, allocations: 0.5443 MB / 355.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.227, allocations: 4 kB / 355.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.2273, allocations: 425.1 kB / 355.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.2277, allocations: 84.72 kB / 355.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.2292, allocations: 1.073 MB / 356.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.682e-05/0.2293, allocations: 127.8 kB / 356.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002133/0.2295, allocations: 130.1 kB / 357 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.2297, allocations: 158.1 kB / 357.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2297, allocations: 0 / 357.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of Templates: time 0.04342/0.2731, allocations: 42.88 MB / 400.1 MB, free: 1.48 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.269274214748293]