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.0006591/0.0006591, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009181/0.001577, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006678/0.0006678, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009036/0.001571, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9432/0.9432, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08829/1.031, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo): time 0.03377/0.03377, allocations: 8.721 MB / 252.9 MB, free: 6.293 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006686/0.04045, allocations: 3.02 MB / 255.9 MB, free: 3.273 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-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.913e-06/1.913e-06, allocations: 0 / 257.2 MB, free: 1.949 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.305e-05, allocations: 2.312 kB / 257.2 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTest): time 0.009457/0.00948, allocations: 5.141 MB / 262.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005859/0.01534, allocations: 1.625 MB / 264 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003438/0.01568, allocations: 19.94 kB / 264 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.01595, allocations: 138.7 kB / 264.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.01978, allocations: 428.7 kB / 264.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.02035, allocations: 331.5 kB / 264.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.02163, allocations: 1.631 MB / 266.5 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004263/0.02206, allocations: 328.1 kB / 266.8 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/0.02619, allocations: 0.9445 MB / 267.8 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006444/0.02684, allocations: 0.5689 MB / 268.3 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.02698, allocations: 136 kB / 268.5 MB, free: 6.609 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.02724, allocations: 155.9 kB / 268.6 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.02741, allocations: 219.4 kB / 268.8 MB, free: 6.242 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003623/0.02777, allocations: 383.4 kB / 269.2 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003914/0.03169, allocations: 0.845 MB / 270 MB, free: 5.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.529e-05/0.0317, allocations: 7.938 kB / 270.1 MB, free: 5.012 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.03171, allocations: 0 / 270.1 MB, free: 5.012 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.03172, allocations: 0 / 270.1 MB, free: 5.012 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.001705/0.03343, allocations: 1.388 MB / 271.4 MB, free: 3.594 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.03346, allocations: 15.97 kB / 271.5 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/0.03377, allocations: 229.9 kB / 271.7 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005975/0.03436, allocations: 394.5 kB / 272.1 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.603e-05/0.03442, allocations: 66 kB / 272.1 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.03453, allocations: 80 kB / 272.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.03522, allocations: 0.6795 MB / 272.9 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.03524, allocations: 11.89 kB / 272.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.03529, allocations: 32 kB / 272.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.0353, allocations: 20 kB / 273 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.03565, allocations: 273.8 kB / 273.2 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1171/0.1527, allocations: 2.105 MB / 275.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/0.1532, allocations: 238.2 kB / 275.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1534, allocations: 110.6 kB / 275.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.1534, allocations: 8 kB / 275.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.1535, allocations: 39.27 kB / 275.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.204e-06/0.1535, allocations: 0 / 275.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.0009677/0.1544, allocations: 434.5 kB / 276.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.881e-05/0.1544, allocations: 60 kB / 276.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.1549, allocations: 473.8 kB / 276.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.1549, allocations: 41.11 kB / 276.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.1551, allocations: 402.2 kB / 277.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.1552, allocations: 168 kB / 277.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.1554, allocations: 130.8 kB / 277.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.1555, allocations: 370.4 kB / 277.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.1557, allocations: 115 kB / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.1559, allocations: 253.2 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.1564, allocations: 364 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1564, allocations: 1.156 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008515/0.1573, allocations: 411.1 kB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.1573, allocations: 8.312 kB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.1573, allocations: 12.34 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/0.1576, allocations: 183.5 kB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/0.1582, allocations: 165.6 kB / 279.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.1597, allocations: 2.791 MB / 282 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.1601, allocations: 92.38 kB / 282.1 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.1601, allocations: 20.44 kB / 282.1 MB, free: 8.875 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.0002666/0.1604, allocations: 171.1 kB / 282.3 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.1605, allocations: 46.05 kB / 282.3 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.1609, allocations: 331.1 kB / 282.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1609, allocations: 7.219 kB / 282.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.161, allocations: 4.734 kB / 282.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.161, allocations: 2.109 kB / 282.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.1622, allocations: 0.7629 MB / 283.4 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1622, allocations: 2.594 kB / 283.4 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.1625, allocations: 100.9 kB / 283.5 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.1626, allocations: 73.52 kB / 283.6 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001964/0.1628, allocations: 174.1 kB / 283.8 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.1629, allocations: 20.36 kB / 283.8 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.164, allocations: 2.503 MB / 286.3 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.164, allocations: 4.828 kB / 286.3 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/0.1646, allocations: 488.6 kB / 286.8 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.777e-05/0.1647, allocations: 30.67 kB / 286.8 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.1649, allocations: 46.2 kB / 286.9 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003191/0.1652, allocations: 201.7 kB / 287.1 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.1652, allocations: 14.84 kB / 287.1 MB, free: 5.805 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002197/0.1655, allocations: 214.1 kB / 287.3 MB, free: 5.785 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1655, allocations: 1.156 kB / 287.3 MB, free: 5.785 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006799/0.1661, allocations: 260.3 kB / 287.5 MB, free: 5.742 MB / 266.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.0001518/0.1663, allocations: 117.3 kB / 287.7 MB, free: 5.672 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006082/0.1669, allocations: 0.5271 MB / 288.2 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.442e-05/0.1669, allocations: 11.09 kB / 288.2 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.1673, allocations: 387.3 kB / 288.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006955/0.1679, allocations: 1.521 MB / 290.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.18, allocations: 1.54 MB / 291.6 MB, free: 2.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.1802, allocations: 174.6 kB / 291.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003308/0.1805, allocations: 79.45 kB / 291.9 MB, free: 2.828 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.1808, allocations: 194.5 kB / 292.1 MB, free: 2.781 MB / 266.7 MB Notification: Performance of SimCode: time 1.864e-06/0.1808, allocations: 0 / 292.1 MB, free: 2.781 MB / 266.7 MB Notification: Performance of Templates: time 0.01534/0.1962, allocations: 12.77 MB / 304.8 MB, free: 10.11 MB / 282.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.8281753277406096]