Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001576/0.001576, allocations: 84.88 kB / 22 MB, free: 4.754 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.001527/0.001527, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 158.6 MB / 187 MB, free: 6.348 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 51.92 kB / 299.4 MB, free: 6.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2525, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00683/0.2593, allocations: 4.357 MB / 352.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.2623, allocations: 1.34 MB / 354.2 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002903/0.2625, allocations: 11.88 kB / 354.2 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004265/0.263, allocations: 154.7 kB / 354.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006952/0.2637, allocations: 349.4 kB / 354.7 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.2642, allocations: 211.7 kB / 354.9 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.2655, allocations: 1.031 MB / 355.9 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000398/0.2659, allocations: 198.5 kB / 356.1 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005402/0.2665, allocations: 414.6 kB / 356.5 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/0.267, allocations: 386.1 kB / 356.9 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.2672, allocations: 92 kB / 357 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.2674, allocations: 92 kB / 357.1 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.2676, allocations: 195.3 kB / 357.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004752/0.268, allocations: 402.3 kB / 357.7 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.2694, allocations: 1.08 MB / 358.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2694, allocations: 0 / 358.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2694, allocations: 3.938 kB / 358.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.2694, allocations: 0 / 358.8 MB, free: 5.215 MB / 318.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.002355/0.2717, allocations: 1.176 MB / 359.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2718, allocations: 19.92 kB / 360 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.2719, allocations: 104.4 kB / 360.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008185/0.2728, allocations: 467 kB / 360.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.273, allocations: 152.7 kB / 360.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.751e-05/0.273, allocations: 52.38 kB / 360.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.2749, allocations: 1.554 MB / 362.3 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.2749, allocations: 0 / 362.3 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/0.275, allocations: 24 kB / 362.3 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.275, allocations: 12 kB / 362.3 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.2763, allocations: 0.4957 MB / 362.8 MB, free: 0.7852 MB / 318.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.003382/0.2797, allocations: 1.675 MB / 364.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.281, allocations: 0.4912 MB / 365 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006331/0.2816, allocations: 226.2 kB / 365.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.991e-05/0.2817, allocations: 12.5 kB / 365.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000816/0.2825, allocations: 322.3 kB / 365.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 3.206e-06/0.2825, allocations: 0 / 365.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.005353/0.2878, allocations: 1.321 MB / 366.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005437/0.2884, allocations: 0.8271 MB / 367.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008407/0.2892, allocations: 0.5538 MB / 368.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.423e-05/0.2893, allocations: 45.7 kB / 368.3 MB, free: 11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.2897, allocations: 341.1 kB / 368.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.2899, allocations: 198.3 kB / 368.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.2901, allocations: 130.3 kB / 368.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003296/0.2905, allocations: 378.8 kB / 369.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006656/0.2911, allocations: 264.5 kB / 369.5 MB, free: 9.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.293, allocations: 1.34 MB / 370.9 MB, free: 8.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.2945, allocations: 0.5564 MB / 371.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.2945, allocations: 0 / 371.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002595/0.2971, allocations: 0.9426 MB / 372.4 MB, free: 6.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.818e-05/0.2971, allocations: 67.39 kB / 372.4 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2972, allocations: 0 / 372.4 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000789/0.2979, allocations: 229.5 kB / 372.7 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/0.2986, allocations: 115.8 kB / 372.8 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007504/0.3061, allocations: 4.285 MB / 377.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/0.307, allocations: 91.58 kB / 377.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/0.307, allocations: 23.94 kB / 377.2 MB, free: 1.414 MB / 334.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.0003996/0.3074, allocations: 205.9 kB / 377.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.3076, allocations: 79.56 kB / 377.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.3077, allocations: 78.56 kB / 377.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.3077, allocations: 4 kB / 377.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3077, allocations: 0 / 377.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002349/0.3101, allocations: 1.053 MB / 378.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.313, allocations: 1.316 MB / 379.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.313, allocations: 0 / 379.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/0.3137, allocations: 107.8 kB / 380 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000585/0.3143, allocations: 169.5 kB / 380.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.3143, allocations: 11.98 kB / 380.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005829/0.3201, allocations: 3.649 MB / 383.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3201, allocations: 4.125 kB / 383.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/0.3226, allocations: 1.026 MB / 384.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/0.323, allocations: 139.3 kB / 385 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.3232, allocations: 12 kB / 385 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006109/0.3238, allocations: 44.06 kB / 385.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.324, allocations: 60.33 kB / 385.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/0.324, allocations: 19.94 kB / 385.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006764/0.3247, allocations: 390.8 kB / 385.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3247, allocations: 0 / 385.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001029/0.3257, allocations: 259.8 kB / 385.8 MB, free: 8.414 MB / 350.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.0002061/0.3259, allocations: 111.2 kB / 385.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002393/0.3283, allocations: 1.036 MB / 386.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.3283, allocations: 4 kB / 386.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.3294, allocations: 0.5278 MB / 387.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/0.3304, allocations: 203.2 kB / 387.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.3337, allocations: 1.312 MB / 389 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.3341, allocations: 319.9 kB / 389.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003834/0.3345, allocations: 81.06 kB / 389.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.3346, allocations: 68.41 kB / 389.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3346, allocations: 0 / 389.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of Templates: time 0.03295/0.3676, allocations: 16.79 MB / 406.2 MB, free: 3.77 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.27906064002309]