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.0009204/0.0009204, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009285/0.0009285, allocations: 169 kB / 23.02 MB, free: 1.543 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.8761/0.8761, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.03317/0.03317, allocations: 8.717 MB / 268.7 MB, free: 4.531 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.473e-06/1.473e-06, allocations: 0 / 340.9 MB, free: 8.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.548e-05, allocations: 6.25 kB / 340.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTest): time 0.003528/0.003544, allocations: 5.134 MB / 346 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.00513, allocations: 1.567 MB / 347.6 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.005407, allocations: 15.88 kB / 347.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.005649, allocations: 134.7 kB / 347.7 MB, free: 1.168 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005624/0.006211, allocations: 424.8 kB / 348.1 MB, free: 0.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.00651, allocations: 331.5 kB / 348.5 MB, free: 436 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008729/0.007382, allocations: 1.627 MB / 350.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.007743, allocations: 316.1 kB / 350.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006475/0.008391, allocations: 0.8771 MB / 351.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000477/0.008868, allocations: 0.5767 MB / 351.8 MB, free: 13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.008976, allocations: 132 kB / 352 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.009162, allocations: 151.9 kB / 352.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.009321, allocations: 299 kB / 352.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002934/0.009615, allocations: 463 kB / 352.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006936/0.01031, allocations: 0.9268 MB / 353.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.01031, allocations: 0 / 353.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01031, allocations: 4 kB / 353.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.01032, allocations: 0 / 353.8 MB, free: 11.05 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.001298/0.01162, allocations: 1.314 MB / 355.1 MB, free: 9.695 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.01165, allocations: 8.031 kB / 355.1 MB, free: 9.688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/0.0119, allocations: 192.2 kB / 355.3 MB, free: 9.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/0.01244, allocations: 0.548 MB / 355.8 MB, free: 8.922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.01249, allocations: 66 kB / 355.9 MB, free: 8.855 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.541e-05/0.01257, allocations: 80 kB / 356 MB, free: 8.777 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009102/0.01348, allocations: 0.7599 MB / 356.8 MB, free: 7.988 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.01351, allocations: 7.953 kB / 356.8 MB, free: 7.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/0.01356, allocations: 32 kB / 356.8 MB, free: 7.949 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.01357, allocations: 20 kB / 356.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006517/0.01422, allocations: 411.6 kB / 357.2 MB, free: 7.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/0.01709, allocations: 2.855 MB / 360.1 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.0176, allocations: 301.2 kB / 360.4 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.01784, allocations: 141 kB / 360.5 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.01787, allocations: 4.375 kB / 360.5 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.01789, allocations: 45.75 kB / 360.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=45): time 1.342e-06/0.01789, allocations: 0 / 360.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.001108/0.019, allocations: 0.5704 MB / 361.1 MB, free: 3.473 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.01903, allocations: 67.09 kB / 361.2 MB, free: 3.395 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.01941, allocations: 0.5298 MB / 361.7 MB, free: 2.848 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.01945, allocations: 45.7 kB / 361.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.01965, allocations: 491.2 kB / 362.2 MB, free: 2.309 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/0.01975, allocations: 166.7 kB / 362.4 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.01989, allocations: 135.9 kB / 362.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.02003, allocations: 0.5313 MB / 363.1 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.02028, allocations: 162.2 kB / 363.2 MB, free: 1.297 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.02058, allocations: 352 kB / 363.6 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.02099, allocations: 432.8 kB / 364 MB, free: 356 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.021, allocations: 0 / 364 MB, free: 356 kB / 282.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0007035/0.0217, allocations: 0.5706 MB / 364.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.02171, allocations: 8 kB / 364.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.02172, allocations: 4 kB / 364.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/0.02199, allocations: 199.1 kB / 364.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.02226, allocations: 127.8 kB / 364.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.02424, allocations: 4.157 MB / 369 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.0245, allocations: 87.52 kB / 369.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.02453, allocations: 31.98 kB / 369.2 MB, free: 10.91 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: 22 * 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 (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.0002005/0.02473, allocations: 216.2 kB / 369.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.133e-05/0.02481, allocations: 83.67 kB / 369.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005821/0.02539, allocations: 416.1 kB / 369.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.0254, allocations: 4 kB / 369.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.01e-07/0.0254, allocations: 0 / 369.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.0254, allocations: 0 / 369.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.02669, allocations: 1.171 MB / 371 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.02669, allocations: 4 kB / 371 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.02687, allocations: 76.17 kB / 371.1 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001971/0.02707, allocations: 191.2 kB / 371.3 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.02709, allocations: 19.92 kB / 371.3 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.02879, allocations: 3.71 MB / 375 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.02879, allocations: 4 kB / 375 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007587/0.02955, allocations: 0.681 MB / 375.7 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.0297, allocations: 123.5 kB / 375.8 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.02976, allocations: 24 kB / 375.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.02998, allocations: 43.95 kB / 375.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/0.03025, allocations: 199.5 kB / 376.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.03028, allocations: 19.98 kB / 376.1 MB, free: 3.516 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002513/0.03053, allocations: 358.8 kB / 376.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03053, allocations: 4.031 kB / 376.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004632/0.03099, allocations: 259.4 kB / 376.7 MB, free: 2.91 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.0001266/0.03112, allocations: 133.1 kB / 376.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006792/0.0318, allocations: 0.6853 MB / 377.5 MB, free: 2.051 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.0318, allocations: 0 / 377.5 MB, free: 2.051 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.03214, allocations: 488.8 kB / 378 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.03257, allocations: 162.8 kB / 378.2 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.03467, allocations: 1.492 MB / 379.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.03478, allocations: 190.2 kB / 379.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.03496, allocations: 81.11 kB / 379.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.03507, allocations: 52.48 kB / 380 MB, free: 15.47 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.03507, allocations: 0 / 380 MB, free: 15.47 MB / 314.7 MB Notification: Performance of Templates: time 0.01272/0.04779, allocations: 11.69 MB / 391.7 MB, free: 3.906 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.6701756003312767]