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.00138/0.00138, 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 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.001505/0.001505, allocations: 209 kB / 24.47 MB, free: 3.941 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.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001666/0.001666, allocations: 51.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2405, allocations: 53.36 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006148/0.2467, allocations: 4.377 MB / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.2496, allocations: 1.332 MB / 438 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005746/0.2502, allocations: 11.94 kB / 438 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.2508, allocations: 154.7 kB / 438.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009985/0.2518, allocations: 341.4 kB / 438.5 MB, free: 472 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005608/0.2523, allocations: 215.6 kB / 438.7 MB, free: 256 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001319/0.2537, allocations: 1.03 MB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.254, allocations: 198.4 kB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006183/0.2546, allocations: 422.6 kB / 440.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005369/0.2552, allocations: 386.2 kB / 440.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.2553, allocations: 88 kB / 440.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.2555, allocations: 88 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.2557, allocations: 199.3 kB / 441.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.2561, allocations: 398.3 kB / 441.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.2572, allocations: 1.093 MB / 442.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2572, allocations: 0 / 442.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2572, allocations: 0 / 442.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.939e-05/0.2573, allocations: 0 / 442.6 MB, free: 12.37 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.00231/0.2596, allocations: 1.172 MB / 443.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2596, allocations: 12.03 kB / 443.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.2598, allocations: 100.4 kB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008704/0.2607, allocations: 470.9 kB / 444.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.2609, allocations: 148.7 kB / 444.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.261, allocations: 56.36 kB / 444.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.2628, allocations: 1.55 MB / 446.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.2628, allocations: 7.938 kB / 446.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.2629, allocations: 28 kB / 446.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.2629, allocations: 12 kB / 446.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.2642, allocations: 0.4919 MB / 446.6 MB, free: 7.945 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.003317/0.2675, allocations: 1.67 MB / 448.3 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.2688, allocations: 498.1 kB / 448.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005991/0.2694, allocations: 226.2 kB / 449 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.2695, allocations: 12.5 kB / 449 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007829/0.2703, allocations: 326.1 kB / 449.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.715e-06/0.2703, allocations: 0 / 449.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.0051/0.2754, allocations: 1.325 MB / 450.7 MB, free: 3.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004696/0.2758, allocations: 0.8271 MB / 451.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007675/0.2766, allocations: 0.5538 MB / 452.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.591e-05/0.2767, allocations: 41.7 kB / 452.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.277, allocations: 346.1 kB / 452.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.2772, allocations: 202.2 kB / 452.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.2774, allocations: 130.3 kB / 452.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.2776, allocations: 378.8 kB / 453.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006349/0.2783, allocations: 264.6 kB / 453.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.2796, allocations: 1.333 MB / 454.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.2809, allocations: 0.5564 MB / 455.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.2809, allocations: 4 kB / 455.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002417/0.2833, allocations: 0.9542 MB / 456.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/0.2834, allocations: 59.39 kB / 456.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2834, allocations: 4 kB / 456.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007452/0.2842, allocations: 221.5 kB / 456.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/0.2848, allocations: 115.8 kB / 456.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006947/0.2918, allocations: 4.285 MB / 460.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007767/0.2925, allocations: 79.69 kB / 461 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.2926, allocations: 27.92 kB / 461 MB, free: 8.586 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.0003577/0.293, allocations: 217.7 kB / 461.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.2931, allocations: 79.53 kB / 461.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.2932, allocations: 70.56 kB / 461.4 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.2932, allocations: 8 kB / 461.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2933, allocations: 4 kB / 461.4 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002225/0.2955, allocations: 1.045 MB / 462.4 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.2983, allocations: 1.312 MB / 463.7 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.2983, allocations: 7.984 kB / 463.7 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/0.2989, allocations: 111.9 kB / 463.9 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005611/0.2995, allocations: 169.5 kB / 464 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.2995, allocations: 16 kB / 464 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005317/0.3048, allocations: 3.645 MB / 467.7 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3048, allocations: 0 / 467.7 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.3073, allocations: 1.022 MB / 468.7 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.3077, allocations: 135.4 kB / 468.8 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.3078, allocations: 16 kB / 468.9 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006039/0.3084, allocations: 48.25 kB / 468.9 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.3086, allocations: 56.41 kB / 469 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.3086, allocations: 19.92 kB / 469 MB, free: 208 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005437/0.3092, allocations: 390.8 kB / 469.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3092, allocations: 0 / 469.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008315/0.31, allocations: 255.7 kB / 469.6 MB, free: 15.57 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.0001698/0.3102, allocations: 123.2 kB / 469.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.3124, allocations: 1.041 MB / 470.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.3124, allocations: 4 kB / 470.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.3134, allocations: 0.5195 MB / 471.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008824/0.3143, allocations: 203.5 kB / 471.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.3171, allocations: 1.351 MB / 472.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.3174, allocations: 319.9 kB / 473.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.3176, allocations: 55.42 kB / 473.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3176, allocations: 3.938 kB / 473.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of Templates: time 0.02279/0.3404, allocations: 16.41 MB / 489.6 MB, free: 11.52 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/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: 9.06246289005503]