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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001603/0.001603, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.444/1.444, allocations: 230.4 MB / 251.1 MB, free: 8.473 MB / 206.1 MB 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.001957/0.001957, allocations: 71.83 kB / 368.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2393, allocations: 53.32 MB / 422.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.008895/0.2482, allocations: 4.863 MB / 427.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00351/0.2517, allocations: 1.39 MB / 428.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/0.252, allocations: 8 kB / 428.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005311/0.2525, allocations: 154.7 kB / 428.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009838/0.2535, allocations: 353.4 kB / 429 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.2542, allocations: 211.6 kB / 429.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.2557, allocations: 1.03 MB / 430.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004833/0.2562, allocations: 206 kB / 430.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007956/0.257, allocations: 410.6 kB / 430.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008231/0.2578, allocations: 446.1 kB / 431.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001891/0.258, allocations: 88 kB / 431.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.2583, allocations: 88 kB / 431.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.2585, allocations: 199.3 kB / 431.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005845/0.2591, allocations: 477.9 kB / 432.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.2602, allocations: 1.085 MB / 433.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.2602, allocations: 3.984 kB / 433.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2602, allocations: 3.938 kB / 433.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.2602, allocations: 0 / 433.2 MB, free: 12.85 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.003067/0.2633, allocations: 1.238 MB / 434.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2633, allocations: 8.031 kB / 434.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002534/0.2636, allocations: 108.3 kB / 434.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.2648, allocations: 0.5204 MB / 435.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.265, allocations: 101.3 kB / 435.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.2652, allocations: 52.38 kB / 435.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.2673, allocations: 0.7966 MB / 436 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.2673, allocations: 11.92 kB / 436 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.2674, allocations: 27.98 kB / 436.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.2674, allocations: 12 kB / 436.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.2694, allocations: 0.4997 MB / 436.6 MB, free: 9.258 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.005196/0.2746, allocations: 2.15 MB / 438.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.2765, allocations: 497.9 kB / 439.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008479/0.2773, allocations: 230.4 kB / 439.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.467e-05/0.2774, allocations: 21.61 kB / 439.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.2784, allocations: 319 kB / 439.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 3.517e-06/0.2784, allocations: 0 / 439.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.007214/0.2857, allocations: 1.486 MB / 441.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005943/0.2862, allocations: 0.8233 MB / 442.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.2874, allocations: 0.5824 MB / 442.7 MB, free: 2.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.2875, allocations: 41.7 kB / 442.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.2879, allocations: 345.2 kB / 443 MB, free: 2.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.2882, allocations: 194.3 kB / 443.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.2885, allocations: 142.1 kB / 443.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.2887, allocations: 378.8 kB / 443.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008585/0.2895, allocations: 209 kB / 444 MB, free: 1.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.2909, allocations: 0.5169 MB / 444.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.2926, allocations: 0.5615 MB / 445 MB, free: 200 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.2926, allocations: 0 / 445 MB, free: 200 kB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003583/0.2962, allocations: 0.9016 MB / 445.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.045e-05/0.2963, allocations: 59.41 kB / 446 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.2963, allocations: 4 kB / 446 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009909/0.2973, allocations: 221.5 kB / 446.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009017/0.2982, allocations: 119.8 kB / 446.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009578/0.3078, allocations: 4.601 MB / 450.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.3089, allocations: 87.52 kB / 451 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.435e-05/0.309, allocations: 24 kB / 451 MB, free: 9.867 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.0005049/0.3095, allocations: 213.8 kB / 451.2 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.3097, allocations: 79.53 kB / 451.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.3099, allocations: 78.86 kB / 451.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.3099, allocations: 7.938 kB / 451.4 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3099, allocations: 0 / 451.4 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003345/0.3132, allocations: 1.05 MB / 452.5 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/0.3174, allocations: 1.532 MB / 454 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.3174, allocations: 0 / 454 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008456/0.3182, allocations: 103.9 kB / 454.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007633/0.319, allocations: 173.5 kB / 454.3 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.319, allocations: 8 kB / 454.3 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007626/0.3267, allocations: 3.941 MB / 458.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3267, allocations: 0 / 458.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003749/0.3304, allocations: 1.028 MB / 459.2 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000573/0.331, allocations: 220.4 kB / 459.5 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.3312, allocations: 12 kB / 459.5 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009353/0.3321, allocations: 47.95 kB / 459.5 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.3323, allocations: 48.48 kB / 459.6 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/0.3324, allocations: 19.98 kB / 459.6 MB, free: 0.793 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008361/0.3332, allocations: 419.1 kB / 460 MB, free: 396 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3332, allocations: 0 / 460 MB, free: 396 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001358/0.3346, allocations: 255.8 kB / 460.2 MB, free: 140 kB / 366.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.0002228/0.3348, allocations: 119.2 kB / 460.4 MB, free: 12 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003147/0.3379, allocations: 0.9953 MB / 461.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.3379, allocations: 0.5 kB / 461.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.3394, allocations: 0.5199 MB / 461.9 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.3407, allocations: 215 kB / 462.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.3434, allocations: 1.314 MB / 463.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/0.3441, allocations: 0.916 MB / 464.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003464/0.3444, allocations: 89.2 kB / 464.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.3446, allocations: 55.44 kB / 464.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3446, allocations: 0 / 464.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of Templates: time 0.02913/0.3737, allocations: 16.64 MB / 481.1 MB, free: 11.41 MB / 398.1 MB 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/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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches