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.0009617/0.0009617, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001067/0.001067, allocations: 181 kB / 23.36 MB, free: 1.133 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.9686/0.9686, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.0433/0.0433, allocations: 8.719 MB / 269 MB, free: 4.395 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.232e-06/1.232e-06, allocations: 0 / 288.1 MB, free: 1.273 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.125e-05, allocations: 2.312 kB / 288.1 MB, free: 1.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTest): time 0.1111/0.1112, allocations: 5.118 MB / 293.2 MB, free: 17.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003671/0.1148, allocations: 1.611 MB / 294.8 MB, free: 16.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006809/0.1155, allocations: 20.44 kB / 294.8 MB, free: 16.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.1159, allocations: 136.2 kB / 295 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.1173, allocations: 418.5 kB / 295.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008317/0.1181, allocations: 328.5 kB / 295.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001944/0.1201, allocations: 1.626 MB / 297.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000643/0.1207, allocations: 342.8 kB / 297.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.1225, allocations: 0.8682 MB / 298.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.1238, allocations: 0.5727 MB / 299.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004124/0.1242, allocations: 133.4 kB / 299.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004989/0.1247, allocations: 156.1 kB / 299.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.1249, allocations: 301.8 kB / 299.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.126, allocations: 462.8 kB / 300.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.1275, allocations: 0.9193 MB / 301.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1275, allocations: 3.875 kB / 301.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1275, allocations: 0 / 301.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.632e-05/0.1275, allocations: 0 / 301.1 MB, free: 13.18 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.002259/0.1298, allocations: 1.172 MB / 302.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1298, allocations: 9.031 kB / 302.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.1301, allocations: 157.3 kB / 302.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/0.1307, allocations: 393 kB / 302.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.537e-05/0.1307, allocations: 69.41 kB / 302.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.299e-05/0.1308, allocations: 81.75 kB / 302.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007889/0.1316, allocations: 0.6848 MB / 303.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.1316, allocations: 1.375 kB / 303.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.1317, allocations: 36.44 kB / 303.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.1317, allocations: 20.44 kB / 303.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/0.1321, allocations: 269.2 kB / 303.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/0.1347, allocations: 2.105 MB / 306 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.1351, allocations: 234.4 kB / 306.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.1353, allocations: 110.2 kB / 306.4 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.1354, allocations: 12.44 kB / 306.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.1354, allocations: 33.94 kB / 306.4 MB, free: 9.875 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.884e-06/0.1354, allocations: 4 kB / 306.4 MB, free: 9.871 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.0008847/0.1363, allocations: 442.7 kB / 306.8 MB, free: 9.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.685e-05/0.1363, allocations: 56.69 kB / 306.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.1366, allocations: 475.3 kB / 307.4 MB, free: 9.324 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.1366, allocations: 44.64 kB / 307.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1367, allocations: 405.2 kB / 307.8 MB, free: 8.891 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/0.1368, allocations: 162.7 kB / 308 MB, free: 8.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.1369, allocations: 130.2 kB / 308.1 MB, free: 8.598 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.137, allocations: 370.7 kB / 308.5 MB, free: 8.227 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.1371, allocations: 111.4 kB / 308.6 MB, free: 8.109 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.1373, allocations: 249.8 kB / 308.8 MB, free: 7.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.1375, allocations: 346.4 kB / 309.1 MB, free: 7.402 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1375, allocations: 0 / 309.1 MB, free: 7.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.000436/0.138, allocations: 418.7 kB / 309.6 MB, free: 6.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.138, allocations: 11.94 kB / 309.6 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.138, allocations: 4.656 kB / 309.6 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/0.1382, allocations: 179.3 kB / 309.7 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.1385, allocations: 155.8 kB / 309.9 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.1398, allocations: 2.793 MB / 312.7 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.1401, allocations: 91.64 kB / 312.8 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.1401, allocations: 27.98 kB / 312.8 MB, free: 3.57 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.0002285/0.1403, allocations: 160.5 kB / 313 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/0.1404, allocations: 56.12 kB / 313 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/0.1408, allocations: 322.5 kB / 313.3 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1408, allocations: 7.938 kB / 313.3 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1408, allocations: 4 kB / 313.3 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1408, allocations: 3.984 kB / 313.4 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009679/0.1418, allocations: 0.7603 MB / 314.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1418, allocations: 0 / 314.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.142, allocations: 90.31 kB / 314.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001747/0.1422, allocations: 176 kB / 314.4 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.1422, allocations: 23.2 kB / 314.4 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.1433, allocations: 2.514 MB / 316.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1433, allocations: 4 kB / 316.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005703/0.1439, allocations: 479.1 kB / 317.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.1441, allocations: 83.45 kB / 317.5 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.062e-05/0.1442, allocations: 28.06 kB / 317.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.1444, allocations: 47.88 kB / 317.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002868/0.1446, allocations: 187.6 kB / 317.7 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.1447, allocations: 19.98 kB / 317.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001867/0.1449, allocations: 220.3 kB / 318 MB, free: 14.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1449, allocations: 0 / 318 MB, free: 14.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007002/0.1456, allocations: 259.4 kB / 318.2 MB, free: 13.88 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.0001491/0.1457, allocations: 122.2 kB / 318.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006063/0.1463, allocations: 0.5202 MB / 318.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/0.1463, allocations: 8.312 kB / 318.9 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.1466, allocations: 350.2 kB / 319.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.147, allocations: 172.5 kB / 319.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.1494, allocations: 1.467 MB / 320.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.1495, allocations: 166.2 kB / 321 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002399/0.1498, allocations: 81.72 kB / 321.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.1501, allocations: 189.2 kB / 321.3 MB, free: 10.69 MB / 282.7 MB Notification: Performance of SimCode: time 1.463e-06/0.1501, allocations: 0 / 321.3 MB, free: 10.69 MB / 282.7 MB Notification: Performance of Templates: time 0.0164/0.1665, allocations: 12.1 MB / 333.4 MB, free: 14.82 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8475660998374224]