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.001931/0.001931, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002357/0.002357, allocations: 216.9 kB / 23.73 MB, free: 4.16 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.001572/0.001572, allocations: 51.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2314, allocations: 53.37 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.007137/0.2386, allocations: 4.379 MB / 436 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.2416, allocations: 1.324 MB / 437.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005657/0.2422, allocations: 15.94 kB / 437.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005341/0.2427, allocations: 146.7 kB / 437.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.2438, allocations: 341.4 kB / 437.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006117/0.2444, allocations: 219.6 kB / 438 MB, free: 284 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.2458, allocations: 1.03 MB / 439 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.2462, allocations: 198.4 kB / 439.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007032/0.2469, allocations: 418.6 kB / 439.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006688/0.2476, allocations: 390.1 kB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.2478, allocations: 88 kB / 440.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.248, allocations: 88 kB / 440.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.2482, allocations: 203.3 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005082/0.2487, allocations: 398.3 kB / 440.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.2499, allocations: 1.084 MB / 441.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2499, allocations: 4 kB / 441.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2499, allocations: 0 / 441.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.152e-05/0.2499, allocations: 0 / 441.8 MB, free: 12.39 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.002574/0.2525, allocations: 1.176 MB / 443 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2525, allocations: 8.031 kB / 443 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.2527, allocations: 100.4 kB / 443.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009274/0.2537, allocations: 467 kB / 443.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.2539, allocations: 152.7 kB / 443.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-05/0.254, allocations: 52.38 kB / 443.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.2559, allocations: 1.554 MB / 445.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.2559, allocations: 11.86 kB / 445.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.256, allocations: 28 kB / 445.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.256, allocations: 12 kB / 445.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.2573, allocations: 0.4919 MB / 445.9 MB, free: 7.969 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.003352/0.2606, allocations: 1.674 MB / 447.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.2619, allocations: 490.2 kB / 448 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005909/0.2625, allocations: 234.2 kB / 448.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.2625, allocations: 12.5 kB / 448.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007535/0.2633, allocations: 326.1 kB / 448.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.385e-06/0.2633, allocations: 0 / 448.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.005101/0.2684, allocations: 1.325 MB / 449.9 MB, free: 3.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004507/0.2689, allocations: 0.832 MB / 450.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007464/0.2696, allocations: 0.5578 MB / 451.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.32e-05/0.2697, allocations: 37.7 kB / 451.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.27, allocations: 345.1 kB / 451.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.2702, allocations: 202.3 kB / 451.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.2704, allocations: 134.3 kB / 452 MB, free: 1.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.2706, allocations: 370.8 kB / 452.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006431/0.2713, allocations: 260.6 kB / 452.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.2727, allocations: 1.337 MB / 454 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.274, allocations: 0.5642 MB / 454.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.274, allocations: 0 / 454.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002361/0.2763, allocations: 0.9464 MB / 455.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.382e-05/0.2764, allocations: 65.58 kB / 455.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2764, allocations: 0 / 455.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000735/0.2772, allocations: 221.5 kB / 455.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.2778, allocations: 115.8 kB / 455.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00693/0.2847, allocations: 4.281 MB / 460.1 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/0.2854, allocations: 75.69 kB / 460.2 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/0.2855, allocations: 27.92 kB / 460.2 MB, free: 8.617 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.0003707/0.2859, allocations: 221.9 kB / 460.5 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.286, allocations: 75.64 kB / 460.5 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.2862, allocations: 82.44 kB / 460.6 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2862, allocations: 4 kB / 460.6 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2862, allocations: 8 kB / 460.6 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002212/0.2884, allocations: 1.049 MB / 461.7 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/0.2912, allocations: 1.312 MB / 463 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2912, allocations: 0 / 463 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006505/0.2919, allocations: 107.9 kB / 463.1 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005644/0.2924, allocations: 165.6 kB / 463.3 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.2925, allocations: 16 kB / 463.3 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00538/0.2978, allocations: 3.661 MB / 466.9 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2979, allocations: 0 / 466.9 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.3004, allocations: 1.022 MB / 468 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.3008, allocations: 135.4 kB / 468.1 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.3009, allocations: 12 kB / 468.1 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006375/0.3016, allocations: 47.95 kB / 468.1 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.3017, allocations: 52.47 kB / 468.2 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.3018, allocations: 19.98 kB / 468.2 MB, free: 232 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005398/0.3023, allocations: 390.8 kB / 468.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3023, allocations: 0 / 468.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009856/0.3033, allocations: 255.7 kB / 468.8 MB, free: 15.6 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.0002099/0.3035, allocations: 119.2 kB / 469 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.3057, allocations: 1.048 MB / 470 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3057, allocations: 0 / 470 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.3068, allocations: 0.5234 MB / 470.5 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.0009725/0.3078, allocations: 199.1 kB / 470.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.3107, allocations: 1.317 MB / 472 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.3111, allocations: 319.9 kB / 472.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003756/0.3114, allocations: 89.05 kB / 472.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3116, allocations: 55.42 kB / 472.5 MB, free: 11.8 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3116, allocations: 0 / 472.5 MB, free: 11.8 MB / 382.1 MB Notification: Performance of Templates: time 0.03038/0.3419, allocations: 17.82 MB / 490.3 MB, free: 10.39 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/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.223043335601687]