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.001511/0.001511, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001777/0.001777, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.501/1.501, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.001755/0.001755, allocations: 51.92 kB / 347.7 MB, free: 9.641 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3231, allocations: 49.16 MB / 396.8 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005597/0.3287, allocations: 4.877 MB / 401.7 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.3316, allocations: 1.41 MB / 403.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000434/0.332, allocations: 12.19 kB / 403.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004349/0.3324, allocations: 160 kB / 403.3 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007603/0.3332, allocations: 344.3 kB / 403.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.3337, allocations: 217.9 kB / 403.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.3349, allocations: 1.029 MB / 404.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.3353, allocations: 205.6 kB / 405.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007275/0.3361, allocations: 408.1 kB / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006263/0.3367, allocations: 454.6 kB / 405.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.3368, allocations: 91.44 kB / 406 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.337, allocations: 89.56 kB / 406.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.3372, allocations: 195.8 kB / 406.3 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004461/0.3377, allocations: 477.3 kB / 406.8 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.339, allocations: 1.082 MB / 407.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.339, allocations: 0 / 407.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.339, allocations: 1.375 kB / 407.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.386e-05/0.339, allocations: 0 / 407.8 MB, free: 2.625 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.002094/0.3411, allocations: 1.169 MB / 409 MB, free: 1.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3412, allocations: 14.92 kB / 409 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.3413, allocations: 105.4 kB / 409.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007924/0.3421, allocations: 466.9 kB / 409.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.3423, allocations: 150.8 kB / 409.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-05/0.3424, allocations: 55.77 kB / 409.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.3437, allocations: 0.7924 MB / 410.6 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.3437, allocations: 0.6094 kB / 410.6 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.314e-05/0.3438, allocations: 24.41 kB / 410.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.3438, allocations: 12.62 kB / 410.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.3449, allocations: 0.5051 MB / 411.1 MB, free: 0.5195 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.003505/0.3484, allocations: 2.088 MB / 413.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.3497, allocations: 499.2 kB / 413.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005844/0.3503, allocations: 224.1 kB / 413.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-05/0.3503, allocations: 17.72 kB / 413.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007822/0.3511, allocations: 326.6 kB / 414.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 2.655e-06/0.3511, allocations: 0 / 414.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.005309/0.3564, allocations: 1.317 MB / 415.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005699/0.357, allocations: 0.8225 MB / 416.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009537/0.3579, allocations: 0.5997 MB / 417 MB, free: 12.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.031e-05/0.358, allocations: 40.08 kB / 417 MB, free: 12.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.3584, allocations: 334.8 kB / 417.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.3586, allocations: 209.2 kB / 417.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.3589, allocations: 131.3 kB / 417.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.3591, allocations: 377.1 kB / 418.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006223/0.3597, allocations: 206.7 kB / 418.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009209/0.3606, allocations: 0.5207 MB / 418.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.362, allocations: 0.5643 MB / 419.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.371e-06/0.362, allocations: 1.094 kB / 419.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002649/0.3647, allocations: 0.8912 MB / 420.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.777e-05/0.3647, allocations: 67.27 kB / 420.3 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3647, allocations: 2.875 kB / 420.3 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008246/0.3656, allocations: 217.9 kB / 420.5 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.3662, allocations: 119.6 kB / 420.6 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006998/0.3732, allocations: 4.392 MB / 425 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009602/0.3742, allocations: 88.67 kB / 425.1 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.3742, allocations: 28.39 kB / 425.1 MB, free: 5.754 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.0004539/0.3747, allocations: 207.6 kB / 425.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.3748, allocations: 81.22 kB / 425.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.375, allocations: 75.77 kB / 425.5 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.375, allocations: 10.25 kB / 425.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.375, allocations: 3.938 kB / 425.5 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002346/0.3774, allocations: 1.046 MB / 426.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/0.3803, allocations: 1.51 MB / 428.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3803, allocations: 0 / 428.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006122/0.3809, allocations: 111.8 kB / 428.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/0.3815, allocations: 169.5 kB / 428.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3815, allocations: 15.98 kB / 428.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005241/0.3867, allocations: 3.722 MB / 432.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3867, allocations: 0 / 432.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.3892, allocations: 1.022 MB / 433.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/0.3896, allocations: 143.3 kB / 433.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.3897, allocations: 16 kB / 433.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005855/0.3903, allocations: 47.89 kB / 433.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.3904, allocations: 52.41 kB / 433.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.3905, allocations: 15.98 kB / 433.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005904/0.391, allocations: 423.1 kB / 433.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.391, allocations: 0 / 433.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008898/0.3919, allocations: 255.7 kB / 434 MB, free: 12.72 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.0001878/0.3921, allocations: 115.2 kB / 434.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002256/0.3944, allocations: 0.9827 MB / 435.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3944, allocations: 4.188 kB / 435.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.3954, allocations: 0.5195 MB / 435.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009272/0.3963, allocations: 215.4 kB / 435.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.3993, allocations: 1.335 MB / 437.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006111/0.3999, allocations: 0.9121 MB / 438.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003652/0.4003, allocations: 85.22 kB / 438.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.4004, allocations: 59.42 kB / 438.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4004, allocations: 0 / 438.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of Templates: time 0.03492/0.4354, allocations: 16.84 MB / 455.1 MB, free: 7.477 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.616475898073986]