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.001798/0.001798, allocations: 83.23 kB / 20.68 MB, free: 1.035 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.002262/0.002262, allocations: 157.2 kB / 23.95 MB, free: 4.168 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.53/1.53, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.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 2.174e-06/2.174e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.937e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006576/0.006606, allocations: 4.378 MB / 329.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.009725, allocations: 1.334 MB / 330.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006701/0.01039, allocations: 15.69 kB / 330.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005321/0.01093, allocations: 153.3 kB / 330.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.01202, allocations: 352.1 kB / 331.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.01268, allocations: 223.6 kB / 331.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.01426, allocations: 1.076 MB / 332.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.01468, allocations: 188.8 kB / 332.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.01596, allocations: 0.6115 MB / 333.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007252/0.01668, allocations: 334.8 kB / 333.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.01689, allocations: 87.53 kB / 333.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.01719, allocations: 89.44 kB / 333.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.0174, allocations: 200.5 kB / 334 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005727/0.01798, allocations: 332.1 kB / 334.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.01936, allocations: 1.125 MB / 335.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.01937, allocations: 1.25 kB / 335.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01937, allocations: 0 / 335.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.046e-05/0.0194, allocations: 0 / 335.5 MB, free: 9.566 MB / 302.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.00278/0.02218, allocations: 1.161 MB / 336.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.02222, allocations: 12.73 kB / 336.6 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.02248, allocations: 104.3 kB / 336.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009703/0.02345, allocations: 468.5 kB / 337.2 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.02365, allocations: 160.5 kB / 337.3 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.02375, allocations: 50.56 kB / 337.4 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.02574, allocations: 1.546 MB / 338.9 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.02576, allocations: 5.188 kB / 338.9 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.938e-05/0.02584, allocations: 35.98 kB / 339 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.02586, allocations: 12.44 kB / 339 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.02722, allocations: 0.4926 MB / 339.5 MB, free: 6.188 MB / 302.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.003569/0.03079, allocations: 1.667 MB / 341.2 MB, free: 4.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.03223, allocations: 0.4951 MB / 341.6 MB, free: 3.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007467/0.03298, allocations: 230.2 kB / 341.9 MB, free: 3.707 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.394e-05/0.03303, allocations: 16.48 kB / 341.9 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008506/0.03388, allocations: 326 kB / 342.2 MB, free: 3.355 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 2.255e-06/0.03388, allocations: 0 / 342.2 MB, free: 3.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.005448/0.03933, allocations: 1.322 MB / 343.5 MB, free: 2.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004792/0.03981, allocations: 0.827 MB / 344.4 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007957/0.04061, allocations: 0.5578 MB / 344.9 MB, free: 440 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.086e-05/0.04069, allocations: 41.7 kB / 345 MB, free: 392 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.04102, allocations: 341.1 kB / 345.3 MB, free: 44 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.04125, allocations: 202.4 kB / 345.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.04149, allocations: 126.3 kB / 345.6 MB, free: 15.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.04169, allocations: 374.8 kB / 346 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006676/0.04236, allocations: 260.6 kB / 346.2 MB, free: 15.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.04378, allocations: 1.337 MB / 347.6 MB, free: 13.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.04512, allocations: 0.5564 MB / 348.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.04512, allocations: 4 kB / 348.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002598/0.04772, allocations: 0.9463 MB / 349.1 MB, free: 11.83 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.032e-05/0.04779, allocations: 63.39 kB / 349.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.0478, allocations: 3.938 kB / 349.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000809/0.04861, allocations: 225.5 kB / 349.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.04928, allocations: 111.8 kB / 349.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007761/0.05704, allocations: 4.274 MB / 353.7 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.05815, allocations: 83.62 kB / 353.8 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.788e-05/0.05823, allocations: 23.98 kB / 353.8 MB, free: 6.84 MB / 318.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.0005852/0.05882, allocations: 228.8 kB / 354.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.05908, allocations: 79.53 kB / 354.1 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.05935, allocations: 78.56 kB / 354.2 MB, free: 6.449 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.05936, allocations: 4 kB / 354.2 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.05936, allocations: 0 / 354.2 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002392/0.06176, allocations: 1.041 MB / 355.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/0.06499, allocations: 1.328 MB / 356.6 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.065, allocations: 0 / 356.6 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006564/0.06565, allocations: 103.9 kB / 356.7 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005885/0.06624, allocations: 173.5 kB / 356.9 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.363e-05/0.06628, allocations: 12 kB / 356.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005613/0.0719, allocations: 3.65 MB / 360.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.0719, allocations: 7.875 kB / 360.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.07456, allocations: 1.022 MB / 361.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/0.07499, allocations: 131.5 kB / 361.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.07517, allocations: 15.98 kB / 361.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007722/0.07594, allocations: 47.95 kB / 361.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.07611, allocations: 48.52 kB / 361.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.07616, allocations: 27.98 kB / 361.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000601/0.07676, allocations: 390.8 kB / 362.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.07676, allocations: 0 / 362.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001002/0.07776, allocations: 255.7 kB / 362.5 MB, free: 13.82 MB / 334.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.0001942/0.07795, allocations: 119.2 kB / 362.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.08032, allocations: 1.037 MB / 363.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.08033, allocations: 8.188 kB / 363.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.08144, allocations: 0.5234 MB / 364.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.08245, allocations: 206.9 kB / 364.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.08531, allocations: 1.239 MB / 365.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.08569, allocations: 323.9 kB / 365.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003643/0.08605, allocations: 77.06 kB / 366 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.0862, allocations: 56.5 kB / 366 MB, free: 10.11 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.08621, allocations: 7.938 kB / 366 MB, free: 10.1 MB / 334.1 MB Notification: Performance of Templates: time 0.03018/0.1164, allocations: 16.65 MB / 382.7 MB, free: 9.773 MB / 350.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/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_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: 5.18732026964426]