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.002194/0.002194, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.0027/0.0027, allocations: 217.1 kB / 24.47 MB, free: 3.777 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.574/1.574, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.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.00205/0.00205, allocations: 58.56 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3003, allocations: 49.16 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006062/0.3064, allocations: 4.348 MB / 401.2 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.3096, allocations: 1.346 MB / 402.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004309/0.31, allocations: 14.81 kB / 402.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004493/0.3105, allocations: 161 kB / 402.7 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007486/0.3112, allocations: 340.9 kB / 403 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.3118, allocations: 220.7 kB / 403.3 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.3128, allocations: 1.026 MB / 404.3 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003493/0.3132, allocations: 196.3 kB / 404.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006025/0.3138, allocations: 417.4 kB / 404.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005637/0.3144, allocations: 396.5 kB / 405.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.3145, allocations: 86.94 kB / 405.4 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.3147, allocations: 90.88 kB / 405.4 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.3149, allocations: 190.9 kB / 405.6 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004461/0.3153, allocations: 396.3 kB / 406 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.3167, allocations: 1.096 MB / 407.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3167, allocations: 0 / 407.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3167, allocations: 0 / 407.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.395e-05/0.3167, allocations: 1.938 kB / 407.1 MB, free: 3.305 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.002307/0.319, allocations: 1.169 MB / 408.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.319, allocations: 17.52 kB / 408.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.3192, allocations: 102.7 kB / 408.4 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.3203, allocations: 466.3 kB / 408.9 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.3204, allocations: 152.8 kB / 409 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.3205, allocations: 54.88 kB / 409.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.3221, allocations: 1.545 MB / 410.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.3221, allocations: 1.375 kB / 410.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.3222, allocations: 31.48 kB / 410.6 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.3222, allocations: 12.62 kB / 410.6 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.3234, allocations: 0.4971 MB / 411.1 MB, free: 244 kB / 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.003565/0.3269, allocations: 1.676 MB / 412.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.3283, allocations: 0.4904 MB / 413.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006147/0.3289, allocations: 228 kB / 413.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.143e-05/0.329, allocations: 12.02 kB / 413.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000809/0.3298, allocations: 323.2 kB / 413.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 3.707e-06/0.3298, allocations: 0 / 413.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.005159/0.3349, allocations: 1.324 MB / 415.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006016/0.3355, allocations: 0.8226 MB / 416 MB, free: 12.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009029/0.3364, allocations: 0.5593 MB / 416.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.3366, allocations: 40.45 kB / 416.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.3369, allocations: 338.7 kB / 416.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.3371, allocations: 202.2 kB / 417.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.3374, allocations: 133.5 kB / 417.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002432/0.3376, allocations: 373.7 kB / 417.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006367/0.3382, allocations: 271.5 kB / 417.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.3397, allocations: 1.328 MB / 419.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.341, allocations: 0.5708 MB / 419.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.341, allocations: 1.094 kB / 419.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002559/0.3436, allocations: 0.9386 MB / 420.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.097e-05/0.3436, allocations: 62.91 kB / 420.8 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3436, allocations: 3.156 kB / 420.8 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007955/0.3444, allocations: 221.7 kB / 421 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006492/0.3451, allocations: 119.1 kB / 421.1 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007203/0.3523, allocations: 4.275 MB / 425.4 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.3533, allocations: 88.95 kB / 425.5 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.3534, allocations: 27.89 kB / 425.5 MB, free: 4.934 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.0004464/0.3539, allocations: 213.2 kB / 425.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.354, allocations: 83.19 kB / 425.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.3542, allocations: 71.62 kB / 425.9 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3542, allocations: 5.156 kB / 425.9 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.3542, allocations: 0 / 425.9 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002259/0.3564, allocations: 1.056 MB / 426.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.3595, allocations: 1.316 MB / 428.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3595, allocations: 4 kB / 428.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006292/0.3601, allocations: 107.9 kB / 428.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005871/0.3607, allocations: 169.6 kB / 428.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.3607, allocations: 12 kB / 428.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005443/0.3662, allocations: 3.661 MB / 432.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3662, allocations: 0 / 432.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.3688, allocations: 1.018 MB / 433.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005359/0.3694, allocations: 135.3 kB / 433.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.3695, allocations: 20.06 kB / 433.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006368/0.3702, allocations: 43.95 kB / 433.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.3704, allocations: 56.39 kB / 433.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.3704, allocations: 12 kB / 433.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005833/0.371, allocations: 394.8 kB / 433.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.371, allocations: 0 / 433.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001021/0.372, allocations: 255.7 kB / 434.1 MB, free: 12.11 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.0002109/0.3722, allocations: 123.2 kB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002487/0.3747, allocations: 1.04 MB / 435.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3747, allocations: 0 / 435.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.3758, allocations: 0.524 MB / 435.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.3769, allocations: 199 kB / 436 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.3804, allocations: 1.328 MB / 437.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.3808, allocations: 315.9 kB / 437.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000475/0.3813, allocations: 85.06 kB / 437.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.3815, allocations: 55.41 kB / 437.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of SimCode: time 1.563e-06/0.3815, allocations: 0 / 437.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of Templates: time 0.0325/0.414, allocations: 17.79 MB / 455.6 MB, free: 6.453 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/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.568097023293376]