Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002155/0.002155, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 47.92 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2009, allocations: 53.37 MB / 432.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005901/0.2068, allocations: 4.378 MB / 436.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.2091, allocations: 1.316 MB / 438 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.2093, allocations: 11.94 kB / 438 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.2097, allocations: 154.7 kB / 438.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006597/0.2103, allocations: 341.4 kB / 438.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.2108, allocations: 219.6 kB / 438.7 MB, free: 344 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.2118, allocations: 1.034 MB / 439.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.2122, allocations: 202.4 kB / 440 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005283/0.2127, allocations: 422.5 kB / 440.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005265/0.2132, allocations: 450.1 kB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.2134, allocations: 92 kB / 440.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.2136, allocations: 99.88 kB / 441 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.2137, allocations: 187.4 kB / 441.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00041/0.2141, allocations: 402.3 kB / 441.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2152, allocations: 1.088 MB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2152, allocations: 0 / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2152, allocations: 0 / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.2152, allocations: 0 / 442.7 MB, free: 12.38 MB / 350.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.002395/0.2176, allocations: 1.172 MB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.2177, allocations: 12.03 kB / 443.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.2179, allocations: 104.4 kB / 444 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008499/0.2187, allocations: 470.9 kB / 444.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.2189, allocations: 156.7 kB / 444.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.219, allocations: 48.38 kB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.2209, allocations: 1.554 MB / 446.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.2209, allocations: 0 / 446.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.031e-05/0.221, allocations: 24 kB / 446.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.221, allocations: 12 kB / 446.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.2223, allocations: 0.4958 MB / 446.7 MB, free: 7.961 MB / 350.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.003302/0.2256, allocations: 1.67 MB / 448.4 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.2269, allocations: 498.1 kB / 448.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/0.2275, allocations: 238.2 kB / 449.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.078e-05/0.2276, allocations: 12.48 kB / 449.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000778/0.2283, allocations: 322.2 kB / 449.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.154e-06/0.2283, allocations: 0 / 449.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.005246/0.2336, allocations: 1.325 MB / 450.7 MB, free: 3.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004404/0.234, allocations: 0.8154 MB / 451.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006906/0.2347, allocations: 0.5578 MB / 452.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.719e-05/0.2348, allocations: 41.7 kB / 452.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.2351, allocations: 350.2 kB / 452.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.2353, allocations: 202.2 kB / 452.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.2355, allocations: 130.3 kB / 452.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.2357, allocations: 374.8 kB / 453.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006544/0.2363, allocations: 264.6 kB / 453.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.2377, allocations: 1.333 MB / 454.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.2389, allocations: 0.5603 MB / 455.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2389, allocations: 0 / 455.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002415/0.2413, allocations: 0.9542 MB / 456.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.2414, allocations: 59.41 kB / 456.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2414, allocations: 7.938 kB / 456.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007542/0.2421, allocations: 221.5 kB / 456.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.2428, allocations: 115.8 kB / 456.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006986/0.2498, allocations: 4.282 MB / 461 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007/0.2505, allocations: 83.67 kB / 461 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.2506, allocations: 23.94 kB / 461.1 MB, free: 8.602 MB / 366.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.0003101/0.2509, allocations: 217.7 kB / 461.3 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.251, allocations: 83.52 kB / 461.4 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.2512, allocations: 74.56 kB / 461.4 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.2512, allocations: 8 kB / 461.4 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.2512, allocations: 0 / 461.4 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002273/0.2534, allocations: 1.053 MB / 462.5 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.2562, allocations: 1.312 MB / 463.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2562, allocations: 0 / 463.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006614/0.2568, allocations: 107.8 kB / 463.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005759/0.2574, allocations: 169.5 kB / 464.1 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.2575, allocations: 15.98 kB / 464.1 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005355/0.2628, allocations: 3.645 MB / 467.7 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2628, allocations: 112 / 467.7 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.2653, allocations: 1.026 MB / 468.8 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.2656, allocations: 131.4 kB / 468.9 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.2657, allocations: 20 kB / 468.9 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006096/0.2663, allocations: 39.95 kB / 469 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.2665, allocations: 56.39 kB / 469 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.2665, allocations: 16 kB / 469 MB, free: 232 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004996/0.267, allocations: 390.8 kB / 469.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.267, allocations: 4.062 kB / 469.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008203/0.2678, allocations: 259.7 kB / 469.7 MB, free: 15.59 MB / 382.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.0001632/0.268, allocations: 119.4 kB / 469.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002201/0.2702, allocations: 1.04 MB / 470.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2702, allocations: 4.438 kB / 470.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.2713, allocations: 0.5234 MB / 471.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008908/0.2722, allocations: 195.4 kB / 471.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.2748, allocations: 1.336 MB / 472.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.2751, allocations: 319.9 kB / 473.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003464/0.2755, allocations: 77.08 kB / 473.3 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.2756, allocations: 51.42 kB / 473.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2756, allocations: 4 kB / 473.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of Templates: time 0.02872/0.3044, allocations: 17.98 MB / 491.3 MB, free: 10.22 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.0422765239927685]