Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002382/0.002382, allocations: 147.1 kB / 23.93 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 173.4 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.2e-05, allocations: 2.281 kB / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.0048/0.004822, allocations: 4.348 MB / 323.3 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.008141, allocations: 1.305 MB / 324.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007731/0.008914, allocations: 11.25 kB / 324.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007662/0.00968, allocations: 148.5 kB / 324.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.01111, allocations: 360 kB / 325.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006235/0.01173, allocations: 220.3 kB / 325.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.01327, allocations: 1.073 MB / 326.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003851/0.01366, allocations: 200.3 kB / 326.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.015, allocations: 0.5974 MB / 327.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007735/0.01577, allocations: 324.9 kB / 327.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00023/0.016, allocations: 87.88 kB / 327.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.0163, allocations: 89.5 kB / 327.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.01656, allocations: 209.7 kB / 327.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006729/0.01723, allocations: 342.9 kB / 328.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.01873, allocations: 1.115 MB / 329.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01873, allocations: 0 / 329.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01874, allocations: 1.969 kB / 329.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.916e-05/0.01877, allocations: 0 / 329.3 MB, free: 13.47 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00292/0.02169, allocations: 1.158 MB / 330.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.02173, allocations: 10.27 kB / 330.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.02198, allocations: 105.8 kB / 330.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.02304, allocations: 472 kB / 331 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.02325, allocations: 151.4 kB / 331.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.02336, allocations: 54.89 kB / 331.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.02547, allocations: 1.56 MB / 332.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.02549, allocations: 4.188 kB / 332.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.02557, allocations: 28.38 kB / 332.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.02559, allocations: 12.75 kB / 332.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.02698, allocations: 0.4976 MB / 333.3 MB, free: 10.3 MB / 302.1 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.003622/0.0306, allocations: 1.677 MB / 335 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.03202, allocations: 496 kB / 335.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006326/0.03266, allocations: 231.7 kB / 335.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/0.03271, allocations: 8.75 kB / 335.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000808/0.03351, allocations: 326.5 kB / 336.1 MB, free: 8.438 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 2.134e-06/0.03352, allocations: 1.344 kB / 336.1 MB, free: 8.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.005398/0.03891, allocations: 1.315 MB / 337.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004945/0.03941, allocations: 0.8226 MB / 338.2 MB, free: 6.766 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007654/0.04017, allocations: 0.5564 MB / 338.7 MB, free: 6.434 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.246e-05/0.04026, allocations: 47.7 kB / 338.8 MB, free: 6.387 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.04057, allocations: 344.4 kB / 339.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.04079, allocations: 201 kB / 339.3 MB, free: 5.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.04103, allocations: 130 kB / 339.5 MB, free: 5.832 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.04126, allocations: 378.5 kB / 339.8 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006817/0.04194, allocations: 262.4 kB / 340.1 MB, free: 5.309 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.04339, allocations: 1.329 MB / 341.4 MB, free: 3.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.04477, allocations: 0.5624 MB / 342 MB, free: 3.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.04478, allocations: 5.312 kB / 342 MB, free: 3.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002671/0.04745, allocations: 0.9425 MB / 342.9 MB, free: 2.508 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.695e-05/0.04751, allocations: 62.53 kB / 343 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.04752, allocations: 7.984 kB / 343 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008133/0.04833, allocations: 221.5 kB / 343.2 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000746/0.04908, allocations: 123.7 kB / 343.3 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007342/0.05642, allocations: 4.285 MB / 347.6 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009287/0.05735, allocations: 75.62 kB / 347.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.05742, allocations: 28 kB / 347.7 MB, free: 13.5 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004148/0.05783, allocations: 213.7 kB / 347.9 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.058, allocations: 79.53 kB / 348 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.05818, allocations: 74.56 kB / 348.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.05818, allocations: 4 kB / 348.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.05819, allocations: 4 kB / 348.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002387/0.06057, allocations: 1.045 MB / 349.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/0.06358, allocations: 1.324 MB / 350.4 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.06358, allocations: 0 / 350.4 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000673/0.06425, allocations: 111.8 kB / 350.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006525/0.06491, allocations: 173.5 kB / 350.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.06495, allocations: 11.98 kB / 350.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005685/0.07064, allocations: 3.645 MB / 354.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.07064, allocations: 3.938 kB / 354.4 MB, free: 6.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.07331, allocations: 1.018 MB / 355.4 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.0737, allocations: 139.3 kB / 355.5 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.07384, allocations: 16 kB / 355.6 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006727/0.07451, allocations: 39.95 kB / 355.6 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.07468, allocations: 56.41 kB / 355.7 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.979e-05/0.07472, allocations: 15.98 kB / 355.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005385/0.07525, allocations: 386.8 kB / 356 MB, free: 4.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07525, allocations: 0 / 356 MB, free: 4.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008891/0.07614, allocations: 259.8 kB / 356.3 MB, free: 4.496 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002009/0.07634, allocations: 119.2 kB / 356.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.07873, allocations: 1.04 MB / 357.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.07874, allocations: 4.188 kB / 357.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.07983, allocations: 0.5317 MB / 358 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009639/0.0808, allocations: 211.2 kB / 358.2 MB, free: 2.496 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.08361, allocations: 1.244 MB / 359.4 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.08397, allocations: 319.9 kB / 359.8 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003658/0.08434, allocations: 85.05 kB / 359.8 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.08449, allocations: 52.5 kB / 359.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.08449, allocations: 0 / 359.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of Templates: time 0.03002/0.1145, allocations: 16.62 MB / 376.5 MB, free: 488 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.135592304170132]