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.002496/0.002496, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.003261/0.003261, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.62/1.62, allocations: 177.1 MB / 203.1 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] 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.091/0.091, allocations: 8.698 MB / 268.3 MB, free: 4.605 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.733e-06/1.733e-06, allocations: 0 / 340.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.69e-05, allocations: 2.312 kB / 340.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTest): time 0.007556/0.007583, allocations: 5.097 MB / 345.2 MB, free: 3.281 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003594/0.01118, allocations: 1.561 MB / 346.8 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005899/0.01177, allocations: 15.94 kB / 346.8 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004577/0.01223, allocations: 134.7 kB / 346.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.01352, allocations: 420.8 kB / 347.3 MB, free: 1.156 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007447/0.01426, allocations: 331.5 kB / 347.7 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002245/0.01651, allocations: 1.638 MB / 349.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009069/0.01741, allocations: 312.1 kB / 349.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.01944, allocations: 0.8693 MB / 350.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.02096, allocations: 0.565 MB / 351.1 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000399/0.02136, allocations: 136 kB / 351.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005551/0.02192, allocations: 156 kB / 351.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004745/0.02239, allocations: 303 kB / 351.6 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.02342, allocations: 467 kB / 352.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.02623, allocations: 1.527 MB / 353.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.02623, allocations: 0 / 353.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02623, allocations: 0 / 353.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.403e-05/0.02627, allocations: 0 / 353.6 MB, free: 10.85 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.004395/0.03066, allocations: 1.419 MB / 355 MB, free: 9.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.03071, allocations: 12.03 kB / 355 MB, free: 9.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006998/0.03141, allocations: 184.2 kB / 355.2 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.03306, allocations: 0.5636 MB / 355.8 MB, free: 8.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.03316, allocations: 62 kB / 355.8 MB, free: 8.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.0334, allocations: 91.88 kB / 355.9 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/0.0366, allocations: 1.076 MB / 357 MB, free: 7.355 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.558e-05/0.03665, allocations: 3.953 kB / 357 MB, free: 7.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.0368, allocations: 36 kB / 357.1 MB, free: 7.316 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.03683, allocations: 20 kB / 357.1 MB, free: 7.297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/0.03946, allocations: 0.7496 MB / 357.8 MB, free: 6.547 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009777/0.04924, allocations: 3.66 MB / 361.5 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.05051, allocations: 464.5 kB / 361.9 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006029/0.05111, allocations: 241.1 kB / 362.2 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.492e-05/0.05117, allocations: 8.375 kB / 362.2 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.05121, allocations: 41.77 kB / 362.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=45): time 1.903e-06/0.05121, allocations: 0 / 362.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.002686/0.0539, allocations: 0.8048 MB / 363 MB, free: 1.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.05395, allocations: 59.16 kB / 363.1 MB, free: 1.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.05507, allocations: 0.7055 MB / 363.8 MB, free: 408 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/0.05514, allocations: 49.69 kB / 363.8 MB, free: 352 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005024/0.05564, allocations: 0.5071 MB / 364.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.05584, allocations: 174.7 kB / 364.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.05613, allocations: 155.9 kB / 364.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003726/0.0565, allocations: 0.5859 MB / 365.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006223/0.05712, allocations: 282.2 kB / 365.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007265/0.05785, allocations: 456.7 kB / 366 MB, free: 14.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.05889, allocations: 0.5872 MB / 366.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.0589, allocations: 0 / 366.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001804/0.0607, allocations: 0.7817 MB / 367.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.06073, allocations: 14.12 kB / 367.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.06074, allocations: 4 kB / 367.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005387/0.06128, allocations: 263.2 kB / 367.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/0.06186, allocations: 127.8 kB / 367.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004951/0.06681, allocations: 4.524 MB / 372.3 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006598/0.06747, allocations: 95.62 kB / 372.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.06754, allocations: 28 kB / 372.4 MB, free: 7.332 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.0005299/0.06807, allocations: 311.1 kB / 372.7 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.06825, allocations: 75.62 kB / 372.8 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.06968, allocations: 0.5704 MB / 373.3 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.06969, allocations: 4 kB / 373.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.06969, allocations: 0 / 373.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.0697, allocations: 4 kB / 373.3 MB, free: 6.352 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00341/0.07311, allocations: 1.593 MB / 374.9 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.07312, allocations: 8 kB / 374.9 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.07349, allocations: 71.91 kB / 375 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/0.07392, allocations: 235 kB / 375.2 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/0.07398, allocations: 15.97 kB / 375.3 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004222/0.0782, allocations: 3.984 MB / 379.2 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.07821, allocations: 3.984 kB / 379.2 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.08017, allocations: 0.9974 MB / 380.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.08051, allocations: 123.5 kB / 380.4 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.08064, allocations: 27.94 kB / 380.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.08112, allocations: 43.95 kB / 380.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005736/0.08169, allocations: 251.5 kB / 380.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/0.08175, allocations: 20.02 kB / 380.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006425/0.08239, allocations: 458.8 kB / 381.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08239, allocations: 0 / 381.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001017/0.08341, allocations: 259.4 kB / 381.4 MB, free: 13.88 MB / 314.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.0002463/0.08365, allocations: 129.2 kB / 381.5 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.08548, allocations: 0.8883 MB / 382.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.08548, allocations: 0 / 382.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008921/0.08637, allocations: 0.5697 MB / 383 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/0.08718, allocations: 161.9 kB / 383.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.09108, allocations: 1.568 MB / 384.7 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.0916, allocations: 396.3 kB / 385.1 MB, free: 9.992 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003329/0.09193, allocations: 81.02 kB / 385.2 MB, free: 9.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.09212, allocations: 52.48 kB / 385.2 MB, free: 9.859 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.09212, allocations: 0 / 385.2 MB, free: 9.859 MB / 314.7 MB Notification: Performance of Templates: time 0.02291/0.115, allocations: 11.07 MB / 396.3 MB, free: 14.91 MB / 330.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: 5.0230679649394006]