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.0009507/0.0009507, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009587/0.0009587, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9074/0.9074, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.03433/0.03433, allocations: 8.716 MB / 269 MB, free: 4.418 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 2.054e-06/2.054e-06, allocations: 4 kB / 288.1 MB, free: 1.336 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079e-05/1.285e-05, allocations: 2.312 kB / 288.1 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTest): time 0.1011/0.1011, allocations: 5.069 MB / 293.1 MB, free: 17.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.1031, allocations: 1.612 MB / 294.7 MB, free: 16.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.1033, allocations: 16.78 kB / 294.8 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.1036, allocations: 132.5 kB / 294.9 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006529/0.1042, allocations: 425.1 kB / 295.3 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.1046, allocations: 328.9 kB / 295.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.1057, allocations: 1.624 MB / 297.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.1061, allocations: 335 kB / 297.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000971/0.1071, allocations: 0.8767 MB / 298.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006218/0.1077, allocations: 0.5717 MB / 299 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.1078, allocations: 133.4 kB / 299.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.1081, allocations: 150.9 kB / 299.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.1082, allocations: 303.8 kB / 299.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.1086, allocations: 465.4 kB / 300.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007481/0.1093, allocations: 0.9218 MB / 301 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1093, allocations: 0.7969 kB / 301 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1093, allocations: 0 / 301 MB, free: 13.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1093, allocations: 0 / 301 MB, free: 13.29 MB / 266.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.001262/0.1106, allocations: 1.168 MB / 302.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.1106, allocations: 11.91 kB / 302.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00024/0.1109, allocations: 158.8 kB / 302.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.1113, allocations: 395.2 kB / 302.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.1113, allocations: 64.94 kB / 302.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.429e-05/0.1114, allocations: 84.22 kB / 302.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.112, allocations: 0.6832 MB / 303.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.1121, allocations: 1.375 kB / 303.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/0.1121, allocations: 30.88 kB / 303.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.1121, allocations: 20.62 kB / 303.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.1125, allocations: 274.9 kB / 303.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.1147, allocations: 2.108 MB / 306 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.1151, allocations: 231 kB / 306.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.1153, allocations: 113.9 kB / 306.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.1153, allocations: 8.5 kB / 306.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.1153, allocations: 41.19 kB / 306.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.943e-06/0.1153, allocations: 0 / 306.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.0008258/0.1162, allocations: 445.5 kB / 306.8 MB, free: 9.785 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.627e-05/0.1162, allocations: 60.12 kB / 306.8 MB, free: 9.719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.1164, allocations: 470.9 kB / 307.3 MB, free: 9.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1164, allocations: 43.55 kB / 307.3 MB, free: 9.387 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1166, allocations: 404.2 kB / 307.7 MB, free: 9.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.297e-05/0.1166, allocations: 162.7 kB / 307.9 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.1167, allocations: 130.2 kB / 308 MB, free: 8.727 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.1168, allocations: 374.7 kB / 308.4 MB, free: 8.352 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1169, allocations: 111.4 kB / 308.5 MB, free: 8.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.1171, allocations: 241.8 kB / 308.7 MB, free: 7.934 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.1173, allocations: 350.4 kB / 309.1 MB, free: 7.531 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1173, allocations: 4 kB / 309.1 MB, free: 7.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0004009/0.1177, allocations: 403.7 kB / 309.5 MB, free: 7.117 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1177, allocations: 11.94 kB / 309.5 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1177, allocations: 8.5 kB / 309.5 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001912/0.1179, allocations: 180 kB / 309.7 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.1182, allocations: 143 kB / 309.8 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.1193, allocations: 2.785 MB / 312.6 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.1195, allocations: 95.5 kB / 312.7 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.1195, allocations: 16 kB / 312.7 MB, free: 3.734 MB / 266.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.0001713/0.1197, allocations: 174.3 kB / 312.9 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.1198, allocations: 47.89 kB / 312.9 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.1201, allocations: 319.2 kB / 313.2 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1201, allocations: 8 kB / 313.2 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.1201, allocations: 3.938 kB / 313.2 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1201, allocations: 3.984 kB / 313.2 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008492/0.121, allocations: 0.7604 MB / 314 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.121, allocations: 5.25 kB / 314 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.1211, allocations: 75.89 kB / 314.1 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001497/0.1213, allocations: 177.1 kB / 314.3 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.1213, allocations: 19.97 kB / 314.3 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009704/0.1223, allocations: 2.509 MB / 316.8 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1223, allocations: 7.938 kB / 316.8 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.1228, allocations: 479 kB / 317.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.1229, allocations: 79.47 kB / 317.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.347e-05/0.123, allocations: 24 kB / 317.4 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.1232, allocations: 47.94 kB / 317.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/0.1234, allocations: 198.6 kB / 317.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.1235, allocations: 27.92 kB / 317.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001616/0.1236, allocations: 212.4 kB / 317.8 MB, free: 14.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1236, allocations: 0 / 317.8 MB, free: 14.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00046/0.1241, allocations: 259.4 kB / 318.1 MB, free: 14.05 MB / 282.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.0001313/0.1242, allocations: 118.3 kB / 318.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005313/0.1247, allocations: 0.5232 MB / 318.7 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.1248, allocations: 8 kB / 318.7 MB, free: 13.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.125, allocations: 360 kB / 319.1 MB, free: 12.99 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1254, allocations: 141.9 kB / 319.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.1274, allocations: 1.478 MB / 320.7 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.1275, allocations: 170.2 kB / 320.9 MB, free: 11.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001872/0.1277, allocations: 81.58 kB / 320.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.1279, allocations: 177.2 kB / 321.1 MB, free: 10.87 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1279, allocations: 3.938 kB / 321.1 MB, free: 10.87 MB / 282.7 MB Notification: Performance of Templates: time 0.01442/0.1424, allocations: 11.87 MB / 333 MB, free: 15.22 MB / 298.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.7702447469346225]