Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.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.001251/0.001251, allocations: 93.06 kB / 19.65 MB, free: 280 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.001397/0.001397, allocations: 173 kB / 23.02 MB, free: 1.547 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.8865/0.8865, allocations: 177.1 MB / 203.4 MB, free: 5.566 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.03347/0.03347, allocations: 8.713 MB / 268.6 MB, free: 4.539 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.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") translateModel(OpenHydraulics.DevelopmentTests.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 340.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.403e-05, allocations: 6.312 kB / 340.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.002425/0.002439, allocations: 3.378 MB / 344.2 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.003535, allocations: 0.9311 MB / 345.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.003659, allocations: 7.938 kB / 345.2 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.003808, allocations: 71.36 kB / 345.2 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.00415, allocations: 206.4 kB / 345.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.00433, allocations: 111.8 kB / 345.6 MB, free: 3.344 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.004676, allocations: 0.6645 MB / 346.2 MB, free: 2.676 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.004855, allocations: 154.5 kB / 346.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.005115, allocations: 347.2 kB / 346.7 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.005312, allocations: 227.4 kB / 346.9 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.005348, allocations: 40 kB / 347 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-05/0.005434, allocations: 55.94 kB / 347 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.005489, allocations: 119.6 kB / 347.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.826e-05/0.005587, allocations: 191.5 kB / 347.3 MB, free: 1.559 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.00585, allocations: 370.8 kB / 347.7 MB, free: 1.195 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.005853, allocations: 4 kB / 347.7 MB, free: 1.191 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005854, allocations: 0 / 347.7 MB, free: 1.191 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.00586, allocations: 4 kB / 347.7 MB, free: 1.188 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0005589/0.006419, allocations: 0.7531 MB / 348.4 MB, free: 408 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.006448, allocations: 8.031 kB / 348.5 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.006619, allocations: 96.58 kB / 348.6 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.006863, allocations: 287.3 kB / 348.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.006884, allocations: 33.31 kB / 348.9 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.006923, allocations: 40.38 kB / 348.9 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.007243, allocations: 263.3 kB / 349.2 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.007257, allocations: 4 kB / 349.2 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.007279, allocations: 16 kB / 349.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.00729, allocations: 12 kB / 349.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.007488, allocations: 137.9 kB / 349.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.008629, allocations: 1.04 MB / 350.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.008802, allocations: 103.3 kB / 350.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.87e-05/0.00889, allocations: 51.66 kB / 350.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.008908, allocations: 7.938 kB / 350.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.008926, allocations: 37.33 kB / 350.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.008928, allocations: 3.938 kB / 350.6 MB, free: 14.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002324/0.00916, allocations: 141.4 kB / 350.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.009186, allocations: 51.41 kB / 350.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.009432, allocations: 330.2 kB / 351.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.009445, allocations: 29.7 kB / 351.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.009553, allocations: 306.7 kB / 351.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.009586, allocations: 63.47 kB / 351.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.009644, allocations: 63.31 kB / 351.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.009751, allocations: 0.504 MB / 352 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.009819, allocations: 52.58 kB / 352.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.009927, allocations: 176.3 kB / 352.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.0101, allocations: 237.8 kB / 352.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.0101, allocations: 0 / 352.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003415/0.01044, allocations: 229 kB / 352.7 MB, free: 11.81 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.01046, allocations: 4 kB / 352.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01046, allocations: 7.984 kB / 352.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.01047, allocations: 4 kB / 352.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01062, allocations: 67.91 kB / 352.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.01063, allocations: 4.438 kB / 352.8 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.004e-05/0.01071, allocations: 35.83 kB / 352.8 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.01072, allocations: 11.98 kB / 352.8 MB, free: 11.68 MB / 282.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: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.01083, allocations: 177.4 kB / 353 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.01087, allocations: 39.75 kB / 353.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.01105, allocations: 154.6 kB / 353.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01106, allocations: 4 kB / 353.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.01106, allocations: 0 / 353.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01106, allocations: 3.984 kB / 353.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.01153, allocations: 0.5778 MB / 353.8 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01153, allocations: 0 / 353.8 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.01162, allocations: 39.92 kB / 353.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01162, allocations: 0 / 353.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.01164, allocations: 7.984 kB / 353.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.01164, allocations: 4 kB / 353.8 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.01164, allocations: 0 / 353.8 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.01187, allocations: 349.3 kB / 354.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.01192, allocations: 51.75 kB / 354.2 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.01194, allocations: 7.938 kB / 354.2 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.466e-05/0.01201, allocations: 8 kB / 354.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.01204, allocations: 11.92 kB / 354.3 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.01205, allocations: 7.984 kB / 354.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.01216, allocations: 223 kB / 354.5 MB, free: 9.926 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01216, allocations: 0 / 354.5 MB, free: 9.926 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002332/0.01239, allocations: 107.7 kB / 354.6 MB, free: 9.82 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.03e-05/0.01248, allocations: 103.1 kB / 354.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.01265, allocations: 127.4 kB / 354.8 MB, free: 9.582 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01265, allocations: 0 / 354.8 MB, free: 9.582 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.01271, allocations: 51.59 kB / 354.9 MB, free: 9.527 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.01298, allocations: 58.08 kB / 354.9 MB, free: 9.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009916/0.01397, allocations: 0.7062 MB / 355.6 MB, free: 8.707 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.308e-05/0.01404, allocations: 116.3 kB / 355.7 MB, free: 8.574 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.123e-05/0.01412, allocations: 42.94 kB / 355.8 MB, free: 8.531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.01416, allocations: 28.48 kB / 355.8 MB, free: 8.504 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01416, allocations: 0 / 355.8 MB, free: 8.504 MB / 282.7 MB Notification: Performance of Templates: time 0.004945/0.01911, allocations: 3.265 MB / 359.1 MB, free: 5.324 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5397746269591153]