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.001342/0.001342, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001478/0.001478, allocations: 173 kB / 23.49 MB, free: 1.055 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.9011/0.9011, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.03468/0.03468, allocations: 8.714 MB / 269 MB, free: 4.602 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.233e-06/1.233e-06, allocations: 0 / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.878e-06/1.111e-05, allocations: 2.312 kB / 340.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTest): time 0.003235/0.003246, allocations: 5.128 MB / 346 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.00481, allocations: 1.559 MB / 347.6 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.00502, allocations: 11.94 kB / 347.6 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.005222, allocations: 142.6 kB / 347.7 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005019/0.005724, allocations: 424.8 kB / 348.1 MB, free: 1.098 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.006031, allocations: 323.5 kB / 348.4 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008942/0.006925, allocations: 1.631 MB / 350.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.007292, allocations: 316.1 kB / 350.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007997/0.008091, allocations: 0.8732 MB / 351.3 MB, free: 13.94 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004765/0.008568, allocations: 0.565 MB / 351.8 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.008681, allocations: 136 kB / 352 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.008848, allocations: 156 kB / 352.1 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.009012, allocations: 299 kB / 352.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.009426, allocations: 471 kB / 352.9 MB, free: 12.33 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004438/0.01386, allocations: 0.9229 MB / 353.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.01387, allocations: 0 / 353.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.01387, allocations: 0 / 353.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.615e-05/0.01394, allocations: 4 kB / 353.8 MB, free: 11.4 MB / 282.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.002828/0.01677, allocations: 1.317 MB / 355.1 MB, free: 10.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.01682, allocations: 8.031 kB / 355.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005398/0.01736, allocations: 184.2 kB / 355.3 MB, free: 9.859 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.01841, allocations: 0.5518 MB / 355.8 MB, free: 9.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.01852, allocations: 66 kB / 355.9 MB, free: 9.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.01867, allocations: 84 kB / 356 MB, free: 9.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.02032, allocations: 0.7521 MB / 356.7 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.02036, allocations: 3.953 kB / 356.7 MB, free: 8.344 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-05/0.02045, allocations: 36 kB / 356.8 MB, free: 8.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.02048, allocations: 23.94 kB / 356.8 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.02174, allocations: 407.6 kB / 357.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004695/0.02643, allocations: 2.863 MB / 360.1 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/0.02705, allocations: 294.1 kB / 360.4 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.02738, allocations: 137.1 kB / 360.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.02742, allocations: 12.36 kB / 360.5 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.02744, allocations: 37.77 kB / 360.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=45): time 2.023e-06/0.02745, allocations: 3.938 kB / 360.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.001196/0.02864, allocations: 0.5666 MB / 361.1 MB, free: 3.836 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.02867, allocations: 67.09 kB / 361.2 MB, free: 3.758 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.02907, allocations: 0.5297 MB / 361.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.02912, allocations: 49.62 kB / 361.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.02934, allocations: 487.2 kB / 362.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.488e-05/0.02944, allocations: 158.7 kB / 362.4 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.02958, allocations: 135.9 kB / 362.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.02972, allocations: 0.5352 MB / 363 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.02998, allocations: 158.2 kB / 363.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.03026, allocations: 328.7 kB / 363.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.03068, allocations: 413.4 kB / 363.9 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.03069, allocations: 4 kB / 363.9 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000708/0.0314, allocations: 0.5514 MB / 364.5 MB, free: 212 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.03141, allocations: 14.28 kB / 364.5 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.03142, allocations: 4 kB / 364.5 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002987/0.03172, allocations: 195.2 kB / 364.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.03199, allocations: 127.8 kB / 364.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.03408, allocations: 4.141 MB / 369 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.03438, allocations: 99.53 kB / 369.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.03441, allocations: 27.97 kB / 369.1 MB, free: 11.37 MB / 298.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: 20 * Number of states: 0 () * Number of discrete variables: 16 (variableDisplacementPump1.mechanicalPumpLosses.free,variableDisplacementPump.mechanicalPumpLosses.free,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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.0002268/0.03464, allocations: 208.4 kB / 369.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.03472, allocations: 75.62 kB / 369.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005926/0.03532, allocations: 424 kB / 369.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.03532, allocations: 8 kB / 369.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.03532, allocations: 0 / 369.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.03533, allocations: 3.984 kB / 369.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.03664, allocations: 1.159 MB / 370.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.03665, allocations: 4 kB / 370.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.03682, allocations: 79.83 kB / 371 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.03702, allocations: 191.1 kB / 371.2 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.03705, allocations: 16.27 kB / 371.2 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.03877, allocations: 3.714 MB / 374.9 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.03878, allocations: 3.984 kB / 374.9 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007591/0.03954, allocations: 0.6732 MB / 375.6 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.03969, allocations: 135.3 kB / 375.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.03976, allocations: 24.06 kB / 375.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.03997, allocations: 43.94 kB / 375.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/0.04026, allocations: 195.5 kB / 376 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.04028, allocations: 19.98 kB / 376 MB, free: 3.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002537/0.04053, allocations: 362.7 kB / 376.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04053, allocations: 0 / 376.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000523/0.04106, allocations: 259.4 kB / 376.6 MB, free: 3.375 MB / 298.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.0001575/0.04121, allocations: 141.1 kB / 376.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000725/0.04194, allocations: 0.674 MB / 377.4 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.04194, allocations: 384 / 377.4 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.04228, allocations: 491.5 kB / 377.9 MB, free: 2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.04273, allocations: 158 kB / 378.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.0451, allocations: 1.499 MB / 379.6 MB, free: 276 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.04523, allocations: 182.2 kB / 379.8 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000196/0.04542, allocations: 73.12 kB / 379.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.04554, allocations: 56.48 kB / 379.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of SimCode: time 9.01e-07/0.04554, allocations: 0 / 379.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of Templates: time 0.01216/0.05769, allocations: 11.08 MB / 391 MB, free: 4.977 MB / 314.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.8555119670927525]