Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001628/0.001628, allocations: 117.9 kB / 21.18 MB, free: 0.6289 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.002004/0.002004, allocations: 202.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.413/1.413, allocations: 230.4 MB / 258.1 MB, free: 8.168 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 75.81 kB / 378.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2497, allocations: 53.31 MB / 432 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006382/0.2561, allocations: 4.899 MB / 436.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.2587, allocations: 1.392 MB / 438.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/0.259, allocations: 11.94 kB / 438.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.2594, allocations: 154.7 kB / 438.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007023/0.2601, allocations: 345.4 kB / 438.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.2606, allocations: 219.6 kB / 439 MB, free: 420 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.2617, allocations: 1.026 MB / 440.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003434/0.2621, allocations: 205.9 kB / 440.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005504/0.2626, allocations: 414.5 kB / 440.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005622/0.2632, allocations: 454.1 kB / 441.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.2633, allocations: 88 kB / 441.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.2635, allocations: 88 kB / 441.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.2637, allocations: 191.3 kB / 441.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004612/0.2641, allocations: 485.9 kB / 441.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.2653, allocations: 1.082 MB / 443 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2653, allocations: 0 / 443 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2653, allocations: 0 / 443 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.2653, allocations: 0 / 443 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.00237/0.2677, allocations: 1.235 MB / 444.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2677, allocations: 12.02 kB / 444.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.2679, allocations: 108.3 kB / 444.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008823/0.2688, allocations: 0.5126 MB / 444.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.2689, allocations: 105.2 kB / 445 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.225e-05/0.269, allocations: 52.38 kB / 445 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.2704, allocations: 0.7932 MB / 445.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.2704, allocations: 4 kB / 445.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.918e-05/0.2705, allocations: 28 kB / 445.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.2705, allocations: 12 kB / 445.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.2717, allocations: 0.4997 MB / 446.4 MB, free: 8.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.003447/0.2752, allocations: 2.154 MB / 448.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.2765, allocations: 0.494 MB / 449 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/0.2771, allocations: 226.4 kB / 449.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/0.2771, allocations: 17.64 kB / 449.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007531/0.2779, allocations: 315 kB / 449.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.315e-06/0.2779, allocations: 4 kB / 449.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004987/0.2828, allocations: 1.482 MB / 451.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004983/0.2833, allocations: 0.8272 MB / 451.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000781/0.2841, allocations: 0.5824 MB / 452.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.668e-05/0.2842, allocations: 41.7 kB / 452.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.2845, allocations: 345.2 kB / 452.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.2847, allocations: 190.3 kB / 453 MB, free: 1.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.2849, allocations: 138.2 kB / 453.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.2851, allocations: 382.8 kB / 453.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/0.2857, allocations: 213 kB / 453.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000893/0.2866, allocations: 0.5285 MB / 454.3 MB, free: 352 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.2879, allocations: 0.5577 MB / 454.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2879, allocations: 0 / 454.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002378/0.2902, allocations: 0.9054 MB / 455.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.866e-05/0.2903, allocations: 59.41 kB / 455.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2903, allocations: 4 kB / 455.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007348/0.2911, allocations: 213.6 kB / 456 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.2917, allocations: 123.8 kB / 456.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006875/0.2986, allocations: 4.582 MB / 460.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000814/0.2994, allocations: 87.67 kB / 460.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/0.2994, allocations: 23.94 kB / 460.8 MB, free: 9.434 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.0003527/0.2998, allocations: 217.7 kB / 461 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.2999, allocations: 83.53 kB / 461.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.3001, allocations: 74.86 kB / 461.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3001, allocations: 7.938 kB / 461.2 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3001, allocations: 0 / 461.2 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002155/0.3022, allocations: 1.05 MB / 462.3 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.305, allocations: 1.536 MB / 463.8 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.305, allocations: 0 / 463.8 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/0.3057, allocations: 103.9 kB / 463.9 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000549/0.3062, allocations: 177.5 kB / 464.1 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.3063, allocations: 12 kB / 464.1 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005387/0.3116, allocations: 3.945 MB / 468 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3116, allocations: 32 / 468 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.3141, allocations: 1.028 MB / 469 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/0.3145, allocations: 220.4 kB / 469.3 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.3146, allocations: 16 kB / 469.3 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/0.3152, allocations: 39.95 kB / 469.3 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.3154, allocations: 52.48 kB / 469.4 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.3154, allocations: 19.98 kB / 469.4 MB, free: 344 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005567/0.316, allocations: 419.1 kB / 469.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.316, allocations: 4.062 kB / 469.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008641/0.3168, allocations: 248 kB / 470 MB, free: 15.68 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.0002044/0.317, allocations: 123.1 kB / 470.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.3192, allocations: 0.9992 MB / 471.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3192, allocations: 0.5 kB / 471.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009936/0.3202, allocations: 0.5237 MB / 471.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/0.3211, allocations: 210.8 kB / 471.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.3237, allocations: 1.339 MB / 473.2 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/0.3243, allocations: 0.916 MB / 474.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.3244, allocations: 55.42 kB / 474.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3244, allocations: 0 / 474.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of Templates: time 0.0216/0.346, allocations: 16.25 MB / 490.5 MB, free: 11.24 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.425080783199519]