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.002388/0.002388, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 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.002767/0.002767, allocations: 228.3 kB / 22.25 MB, free: 3.574 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 1.697/1.697, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.06652/0.06652, allocations: 11.33 MB / 323.7 MB, free: 6.781 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: OpenHydraulics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.005003/0.005003, allocations: 72.17 kB / 451.2 MB, free: 35.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.09986, allocations: 55.96 MB / 0.4953 GB, free: 11.18 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTest): time 0.00733/0.1072, allocations: 4.642 MB / 0.4998 GB, free: 6.516 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003436/0.1106, allocations: 1.532 MB / 0.5013 GB, free: 4.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000485/0.1111, allocations: 15.94 kB / 0.5013 GB, free: 4.965 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.1115, allocations: 134.7 kB / 0.5015 GB, free: 4.832 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.1128, allocations: 409.1 kB / 0.5019 GB, free: 4.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006845/0.1135, allocations: 323.6 kB / 0.5022 GB, free: 4.113 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001911/0.1154, allocations: 1.573 MB / 0.5037 GB, free: 2.531 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006092/0.116, allocations: 312.1 kB / 0.504 GB, free: 2.203 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009536/0.117, allocations: 0.5957 MB / 0.5046 GB, free: 1.605 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009938/0.118, allocations: 0.603 MB / 0.5052 GB, free: 1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.1182, allocations: 132 kB / 0.5053 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.1185, allocations: 152 kB / 0.5054 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003187/0.1188, allocations: 295.1 kB / 0.5057 GB, free: 444 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006334/0.1194, allocations: 0.5136 MB / 0.5062 GB, free: 15.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.1213, allocations: 1.491 MB / 0.5077 GB, free: 14.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1213, allocations: 0 / 0.5077 GB, free: 14.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1213, allocations: 0 / 0.5077 GB, free: 14.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.1213, allocations: 0 / 0.5077 GB, free: 14.42 MB / 378.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.003008/0.1243, allocations: 1.225 MB / 0.5089 GB, free: 13.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1243, allocations: 11.98 kB / 0.5089 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003074/0.1247, allocations: 116.3 kB / 0.509 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.1257, allocations: 0.5608 MB / 0.5096 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.1258, allocations: 62 kB / 0.5096 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.1259, allocations: 87.95 kB / 0.5097 GB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.128, allocations: 1.019 MB / 0.5107 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.128, allocations: 7.984 kB / 0.5107 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.415e-05/0.1281, allocations: 35.98 kB / 0.5107 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.1281, allocations: 20 kB / 0.5108 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.1298, allocations: 0.7925 MB / 0.5115 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006236/0.1361, allocations: 2.777 MB / 0.5142 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.1373, allocations: 448.5 kB / 0.5147 GB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/0.1378, allocations: 229.5 kB / 0.5149 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/0.1379, allocations: 4.375 kB / 0.5149 GB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.1379, allocations: 42.94 kB / 0.5149 GB, free: 6.805 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 2.204e-06/0.1379, allocations: 3.938 kB / 0.5149 GB, free: 6.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.002869/0.1408, allocations: 0.8396 MB / 0.5158 GB, free: 5.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.1408, allocations: 59.16 kB / 0.5158 GB, free: 5.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.1419, allocations: 0.5456 MB / 0.5163 GB, free: 5.324 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.142, allocations: 41.7 kB / 0.5164 GB, free: 5.277 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004375/0.1424, allocations: 444.5 kB / 0.5168 GB, free: 4.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.1426, allocations: 170.6 kB / 0.517 GB, free: 4.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/0.1429, allocations: 130.2 kB / 0.5171 GB, free: 4.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.1431, allocations: 362.7 kB / 0.5174 GB, free: 4.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/0.1437, allocations: 259.4 kB / 0.5177 GB, free: 3.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.1443, allocations: 373.8 kB / 0.518 GB, free: 3.492 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009573/0.1453, allocations: 0.5085 MB / 0.5185 GB, free: 2.922 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1453, allocations: 4 kB / 0.5185 GB, free: 2.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001592/0.1469, allocations: 0.7407 MB / 0.5193 GB, free: 2.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1469, allocations: 4 kB / 0.5193 GB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1469, allocations: 8 kB / 0.5193 GB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005336/0.1474, allocations: 249.4 kB / 0.5195 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/0.148, allocations: 123.8 kB / 0.5196 GB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004691/0.1527, allocations: 3.325 MB / 0.5229 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007479/0.1535, allocations: 103.5 kB / 0.523 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-05/0.1535, allocations: 27.98 kB / 0.523 GB, free: 14.12 MB / 394.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.0005457/0.1541, allocations: 281.7 kB / 0.5233 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.1542, allocations: 63.58 kB / 0.5233 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.1556, allocations: 0.5674 MB / 0.5239 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.1557, allocations: 4 kB / 0.5239 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1557, allocations: 0 / 0.5239 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.1557, allocations: 0 / 0.5239 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002828/0.1585, allocations: 1.288 MB / 0.5252 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1585, allocations: 0 / 0.5252 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.1589, allocations: 76.17 kB / 0.5252 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004255/0.1593, allocations: 221.5 kB / 0.5254 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.1594, allocations: 19.98 kB / 0.5255 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003764/0.1631, allocations: 2.95 MB / 0.5283 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1631, allocations: 0 / 0.5283 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.165, allocations: 0.8968 MB / 0.5292 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/0.1654, allocations: 123.5 kB / 0.5293 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.1655, allocations: 28.12 kB / 0.5294 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/0.166, allocations: 59.92 kB / 0.5294 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007999/0.1668, allocations: 247.5 kB / 0.5297 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.1669, allocations: 19.98 kB / 0.5297 GB, free: 6.941 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005833/0.1674, allocations: 382.8 kB / 0.53 GB, free: 6.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1674, allocations: 0 / 0.53 GB, free: 6.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001013/0.1685, allocations: 259.4 kB / 0.5303 GB, free: 6.316 MB / 394.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.0002443/0.1687, allocations: 145.2 kB / 0.5304 GB, free: 6.168 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.1703, allocations: 0.7115 MB / 0.5311 GB, free: 5.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1703, allocations: 0 / 0.5311 GB, free: 5.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009483/0.1713, allocations: 0.4972 MB / 0.5316 GB, free: 4.906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008001/0.1721, allocations: 138 kB / 0.5317 GB, free: 4.773 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.1762, allocations: 1.615 MB / 0.5333 GB, free: 3.098 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.1768, allocations: 408.3 kB / 0.5337 GB, free: 2.672 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003981/0.1772, allocations: 85.02 kB / 0.5338 GB, free: 2.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.1773, allocations: 51.42 kB / 0.5338 GB, free: 2.539 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1773, allocations: 0 / 0.5338 GB, free: 2.539 MB / 394.7 MB Notification: Performance of Templates: time 0.02416/0.2015, allocations: 12.18 MB / 0.5457 GB, free: 6.477 MB / 410.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.529911529039964]