Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.001753/0.001753, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002042/0.002042, allocations: 209.8 kB / 24.48 MB, free: 3.934 MB / 14.72 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 1.469/1.469, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.89 kB / 379 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2458, allocations: 53.41 MB / 432.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006134/0.252, allocations: 4.374 MB / 436.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.2547, allocations: 1.324 MB / 438.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.2551, allocations: 11.88 kB / 438.1 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.2556, allocations: 158.7 kB / 438.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007971/0.2563, allocations: 341.4 kB / 438.6 MB, free: 344 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.2568, allocations: 215.7 kB / 438.8 MB, free: 128 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.258, allocations: 1.027 MB / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003368/0.2583, allocations: 194.4 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005971/0.2589, allocations: 418.7 kB / 440.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005304/0.2595, allocations: 390.1 kB / 440.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.2596, allocations: 88 kB / 440.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.2598, allocations: 92 kB / 441 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.26, allocations: 199.3 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004165/0.2604, allocations: 398.3 kB / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.2615, allocations: 1.092 MB / 442.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2615, allocations: 0 / 442.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2615, allocations: 0 / 442.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.2615, allocations: 0 / 442.7 MB, free: 12.24 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.002359/0.2639, allocations: 1.172 MB / 443.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2639, allocations: 15.98 kB / 443.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.2641, allocations: 108.4 kB / 443.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009074/0.265, allocations: 463 kB / 444.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.2652, allocations: 152.7 kB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.336e-05/0.2653, allocations: 52.38 kB / 444.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.2671, allocations: 1.55 MB / 446.1 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.2671, allocations: 8 kB / 446.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.257e-05/0.2672, allocations: 24 kB / 446.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.2672, allocations: 15.94 kB / 446.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.2685, allocations: 0.4957 MB / 446.7 MB, free: 7.812 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.003344/0.2718, allocations: 1.674 MB / 448.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.2731, allocations: 491.9 kB / 448.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005819/0.2737, allocations: 226.2 kB / 449.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.2737, allocations: 12.5 kB / 449.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007634/0.2745, allocations: 326.1 kB / 449.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.966e-06/0.2745, allocations: 4 kB / 449.4 MB, free: 5 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.005063/0.2796, allocations: 1.325 MB / 450.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004574/0.28, allocations: 0.8232 MB / 451.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007488/0.2808, allocations: 0.5538 MB / 452.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-05/0.2809, allocations: 45.7 kB / 452.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.2811, allocations: 349 kB / 452.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.2813, allocations: 194.3 kB / 452.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.2816, allocations: 134.3 kB / 452.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.2817, allocations: 374.8 kB / 453.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006172/0.2824, allocations: 268.6 kB / 453.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.2837, allocations: 1.33 MB / 454.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.285, allocations: 0.5603 MB / 455.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.285, allocations: 0 / 455.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002379/0.2873, allocations: 0.9543 MB / 456.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.2874, allocations: 59.34 kB / 456.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.2874, allocations: 4 kB / 456.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000748/0.2881, allocations: 225.5 kB / 456.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.2888, allocations: 115.8 kB / 456.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006717/0.2955, allocations: 4.284 MB / 461 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007979/0.2963, allocations: 83.62 kB / 461 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/0.2964, allocations: 32.11 kB / 461.1 MB, free: 8.453 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.0003421/0.2967, allocations: 212.6 kB / 461.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.2968, allocations: 83.47 kB / 461.4 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.297, allocations: 78.55 kB / 461.4 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.297, allocations: 8 kB / 461.4 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.297, allocations: 0 / 461.4 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002164/0.2991, allocations: 1.045 MB / 462.5 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.3018, allocations: 1.316 MB / 463.8 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3018, allocations: 4 kB / 463.8 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006165/0.3024, allocations: 107.8 kB / 463.9 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005499/0.303, allocations: 169.5 kB / 464.1 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.303, allocations: 11.98 kB / 464.1 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005104/0.3081, allocations: 3.648 MB / 467.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3081, allocations: 4.125 kB / 467.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.3105, allocations: 1.018 MB / 468.8 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/0.3108, allocations: 135.4 kB / 468.9 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.3109, allocations: 16 kB / 468.9 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/0.3115, allocations: 43.95 kB / 469 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.3117, allocations: 60.33 kB / 469 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.3117, allocations: 12 kB / 469 MB, free: 84 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005135/0.3122, allocations: 390.8 kB / 469.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3122, allocations: 4.062 kB / 469.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008091/0.3131, allocations: 259.7 kB / 469.7 MB, free: 15.45 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.0001654/0.3132, allocations: 115.3 kB / 469.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002139/0.3154, allocations: 1.044 MB / 470.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.3154, allocations: 4 kB / 470.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009887/0.3164, allocations: 0.52 MB / 471.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008669/0.3172, allocations: 211.4 kB / 471.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.32, allocations: 1.342 MB / 472.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.3204, allocations: 319.9 kB / 473.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.3206, allocations: 59.42 kB / 473.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3206, allocations: 0 / 473.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of Templates: time 0.02564/0.3462, allocations: 16.41 MB / 489.7 MB, free: 11.38 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 8.843997564166784]