Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.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.001464/0.001464, allocations: 77.14 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001225/0.001225, allocations: 173 kB / 23.28 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.945/0.945, allocations: 177.1 MB / 203.7 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.03443/0.03443, allocations: 8.705 MB / 269 MB, free: 4.363 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(OpenHydraulics.DevelopmentTests.PumpTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest") translateModel(OpenHydraulics.DevelopmentTests.PumpTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 341.3 MB, free: 8.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.245e-05, allocations: 2.312 kB / 341.3 MB, free: 8.832 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTest): time 0.00606/0.006083, allocations: 5.091 MB / 346.4 MB, free: 3.715 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003333/0.009415, allocations: 1.567 MB / 347.9 MB, free: 2.145 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004192/0.009835, allocations: 15.94 kB / 348 MB, free: 2.129 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.01015, allocations: 134.7 kB / 348.1 MB, free: 1.996 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009857/0.01114, allocations: 428.8 kB / 348.5 MB, free: 1.574 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006412/0.01178, allocations: 331.5 kB / 348.8 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00169/0.01347, allocations: 1.619 MB / 350.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005737/0.01404, allocations: 328 kB / 350.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.01532, allocations: 0.8771 MB / 351.7 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006863/0.01601, allocations: 0.565 MB / 352.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.01617, allocations: 135.9 kB / 352.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.01642, allocations: 152 kB / 352.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.01658, allocations: 303 kB / 352.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.01695, allocations: 459 kB / 353.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008263/0.01778, allocations: 0.9229 MB / 354.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01778, allocations: 0 / 354.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01778, allocations: 4 kB / 354.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.0178, allocations: 0 / 354.2 MB, free: 11.88 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00181/0.01961, allocations: 1.313 MB / 355.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.01966, allocations: 8.031 kB / 355.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002955/0.01995, allocations: 192.2 kB / 355.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.02055, allocations: 0.5401 MB / 356.2 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/0.02059, allocations: 66 kB / 356.3 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.028e-05/0.02068, allocations: 95.94 kB / 356.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007465/0.02143, allocations: 0.6856 MB / 357.1 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.02145, allocations: 0 / 357.1 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.02149, allocations: 35.94 kB / 357.1 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.02151, allocations: 20 kB / 357.1 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/0.02193, allocations: 321.6 kB / 357.4 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/0.02488, allocations: 2.742 MB / 360.2 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.02532, allocations: 264.6 kB / 360.4 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.0255, allocations: 129.1 kB / 360.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.02553, allocations: 8.375 kB / 360.6 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.02555, allocations: 37.77 kB / 360.6 MB, free: 5.223 MB / 330.7 MB Notification: Performance of pre-optimization done (n=45): time 1.924e-06/0.02556, allocations: 0 / 360.6 MB, free: 5.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.0009648/0.02652, allocations: 0.5313 MB / 361.1 MB, free: 4.676 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.02655, allocations: 59.16 kB / 361.2 MB, free: 4.605 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006594/0.02721, allocations: 0.5255 MB / 361.7 MB, free: 4.062 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.02725, allocations: 45.7 kB / 361.8 MB, free: 4.012 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.02747, allocations: 494.5 kB / 362.2 MB, free: 3.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.376e-05/0.02756, allocations: 166.6 kB / 362.4 MB, free: 3.355 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.0277, allocations: 139.8 kB / 362.5 MB, free: 3.211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.02786, allocations: 0.539 MB / 363.1 MB, free: 2.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.02804, allocations: 138.1 kB / 363.2 MB, free: 2.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.02828, allocations: 316 kB / 363.5 MB, free: 2.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.02863, allocations: 408.7 kB / 363.9 MB, free: 1.629 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.02863, allocations: 4 kB / 363.9 MB, free: 1.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0005797/0.02921, allocations: 0.5079 MB / 364.4 MB, free: 1.102 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.02923, allocations: 8 kB / 364.4 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.02923, allocations: 4 kB / 364.4 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.02946, allocations: 191.1 kB / 364.6 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.02972, allocations: 136.2 kB / 364.8 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.03205, allocations: 4.095 MB / 368.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.03235, allocations: 95.5 kB / 369 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.03237, allocations: 20 kB / 369 MB, free: 12.33 MB / 346.7 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 16 (variableDisplacementPump1.mechanicalPumpLosses.mode,$PRE.variableDisplacementPump1.mechanicalPumpLosses.mode,variableDisplacementPump1.mechanicalPumpLosses.locked,variableDisplacementPump1.mechanicalPumpLosses.startBackward,$PRE.variableDisplacementPump1.mechanicalPumpLosses.startBackward,variableDisplacementPump1.mechanicalPumpLosses.startForward,$PRE.variableDisplacementPump1.mechanicalPumpLosses.startForward,variableDisplacementPump.mechanicalPumpLosses.mode,$PRE.variableDisplacementPump.mechanicalPumpLosses.mode,variableDisplacementPump.mechanicalPumpLosses.locked,variableDisplacementPump.mechanicalPumpLosses.startBackward,$PRE.variableDisplacementPump.mechanicalPumpLosses.startBackward,variableDisplacementPump.mechanicalPumpLosses.startForward,$PRE.variableDisplacementPump.mechanicalPumpLosses.startForward,variableDisplacementPump.mechanicalPumpLosses.free,variableDisplacementPump1.mechanicalPumpLosses.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.03259, allocations: 216.4 kB / 369.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.348e-05/0.03267, allocations: 75.7 kB / 369.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004944/0.03316, allocations: 384.1 kB / 369.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.03317, allocations: 11.94 kB / 369.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.03317, allocations: 0 / 369.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.03317, allocations: 0 / 369.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.03435, allocations: 1.027 MB / 370.7 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.03435, allocations: 4.266 kB / 370.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.03451, allocations: 75.91 kB / 370.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/0.0347, allocations: 183.2 kB / 370.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.03472, allocations: 15.98 kB / 370.9 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.03644, allocations: 3.668 MB / 374.6 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.03644, allocations: 4 kB / 374.6 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006793/0.03712, allocations: 0.6338 MB / 375.3 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.03728, allocations: 123.5 kB / 375.4 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.03734, allocations: 28 kB / 375.4 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.03753, allocations: 47.88 kB / 375.4 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/0.03782, allocations: 191.6 kB / 375.6 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.03784, allocations: 15.98 kB / 375.7 MB, free: 5.242 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005276/0.03837, allocations: 342.6 kB / 376 MB, free: 4.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.03837, allocations: 0 / 376 MB, free: 4.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006276/0.039, allocations: 263.4 kB / 376.2 MB, free: 4.652 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 8 (variableDisplacementPump.mechanicalPumpLosses.startForward,variableDisplacementPump.mechanicalPumpLosses.startBackward,variableDisplacementPump.mechanicalPumpLosses.locked,variableDisplacementPump.mechanicalPumpLosses.mode,variableDisplacementPump1.mechanicalPumpLosses.startForward,variableDisplacementPump1.mechanicalPumpLosses.startBackward,variableDisplacementPump1.mechanicalPumpLosses.locked,variableDisplacementPump1.mechanicalPumpLosses.mode) * Number of discrete states: 6 (variableDisplacementPump.mechanicalPumpLosses.mode,variableDisplacementPump.mechanicalPumpLosses.startBackward,variableDisplacementPump.mechanicalPumpLosses.startForward,variableDisplacementPump1.mechanicalPumpLosses.mode,variableDisplacementPump1.mechanicalPumpLosses.startBackward,variableDisplacementPump1.mechanicalPumpLosses.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001718/0.03917, allocations: 133.1 kB / 376.4 MB, free: 4.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006689/0.03984, allocations: 0.6506 MB / 377 MB, free: 3.828 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.03984, allocations: 0 / 377 MB, free: 3.828 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.04018, allocations: 479.4 kB / 377.5 MB, free: 3.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.04064, allocations: 158.6 kB / 377.6 MB, free: 3.172 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.0429, allocations: 1.49 MB / 379.1 MB, free: 1.602 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.04303, allocations: 182.2 kB / 379.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.04322, allocations: 81.11 kB / 379.4 MB, free: 1.324 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.04349, allocations: 214.1 kB / 379.6 MB, free: 1.113 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.04349, allocations: 4 kB / 379.6 MB, free: 1.109 MB / 346.7 MB Notification: Performance of Templates: time 0.01449/0.05798, allocations: 11.88 MB / 391.5 MB, free: 5.402 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9504368738271296]