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.002076/0.002076, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.002539/0.002539, allocations: 165.9 kB / 22.45 MB, free: 2.105 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 1.56/1.56, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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.06226/0.06226, allocations: 8.691 MB / 267.9 MB, free: 4.758 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.794e-06/1.794e-06, allocations: 0 / 395.4 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.301e-05/3.481e-05, allocations: 14.22 kB / 395.4 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.008437/0.008472, allocations: 3.101 MB / 398.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00326/0.01173, allocations: 0.9231 MB / 399.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002735/0.01201, allocations: 11.94 kB / 399.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.0123, allocations: 59.42 kB / 399.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.01334, allocations: 202.4 kB / 399.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.01383, allocations: 111.8 kB / 399.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.01508, allocations: 0.6606 MB / 400.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004579/0.01554, allocations: 146.5 kB / 400.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007624/0.0163, allocations: 359.2 kB / 401 MB, free: 11.15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005713/0.01688, allocations: 207.4 kB / 401.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.01699, allocations: 40 kB / 401.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.01724, allocations: 59.98 kB / 401.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.01745, allocations: 107.6 kB / 401.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.01784, allocations: 191.6 kB / 401.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.01891, allocations: 0.5296 MB / 402.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.01892, allocations: 0 / 402.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01892, allocations: 0 / 402.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.01892, allocations: 0 / 402.1 MB, free: 10.02 MB / 330.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.001722/0.02065, allocations: 0.6377 MB / 402.8 MB, free: 9.355 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.02069, allocations: 8.031 kB / 402.8 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004298/0.02112, allocations: 64.64 kB / 402.8 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007929/0.02192, allocations: 292.4 kB / 403.1 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/0.02198, allocations: 33.38 kB / 403.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.0221, allocations: 44.38 kB / 403.2 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.02354, allocations: 382.6 kB / 403.6 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.02356, allocations: 0 / 403.6 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.023e-05/0.02362, allocations: 16 kB / 403.6 MB, free: 8.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.02365, allocations: 12 kB / 403.6 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.02466, allocations: 291.8 kB / 403.9 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/0.02794, allocations: 1.01 MB / 404.9 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.02855, allocations: 146.7 kB / 405 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.02891, allocations: 87.14 kB / 405.1 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.02894, allocations: 7.875 kB / 405.1 MB, free: 6.898 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.02899, allocations: 34.56 kB / 405.2 MB, free: 6.855 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.714e-06/0.02899, allocations: 0 / 405.2 MB, free: 6.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008554/0.02985, allocations: 205.4 kB / 405.4 MB, free: 6.648 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.02992, allocations: 59.34 kB / 405.4 MB, free: 6.578 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005733/0.0305, allocations: 288.1 kB / 405.7 MB, free: 6.285 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.03054, allocations: 29.7 kB / 405.7 MB, free: 6.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.03085, allocations: 259.9 kB / 406 MB, free: 5.992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.03096, allocations: 59.44 kB / 406 MB, free: 5.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.03112, allocations: 53.7 kB / 406.1 MB, free: 5.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002754/0.03139, allocations: 334.8 kB / 406.4 MB, free: 5.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.03169, allocations: 81.73 kB / 406.5 MB, free: 5.453 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.03213, allocations: 166.8 kB / 406.7 MB, free: 5.246 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007121/0.03284, allocations: 249.7 kB / 406.9 MB, free: 4.957 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/0.03286, allocations: 8 kB / 406.9 MB, free: 4.949 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009353/0.03379, allocations: 283.8 kB / 407.2 MB, free: 4.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.03382, allocations: 4.438 kB / 407.2 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.03383, allocations: 4 kB / 407.2 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.03386, allocations: 8 kB / 407.2 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.03435, allocations: 67.89 kB / 407.3 MB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/0.03437, allocations: 8 kB / 407.3 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.0347, allocations: 35.77 kB / 407.3 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.03475, allocations: 15.94 kB / 407.3 MB, free: 4.527 MB / 330.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.0002543/0.03501, allocations: 173.8 kB / 407.5 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.03507, allocations: 35.75 kB / 407.5 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.03551, allocations: 205.5 kB / 407.7 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.03552, allocations: 4 kB / 407.7 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.03552, allocations: 0 / 407.7 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.03553, allocations: 0 / 407.7 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.03653, allocations: 0.548 MB / 408.3 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.03653, allocations: 0 / 408.3 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.03675, allocations: 43.91 kB / 408.3 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.03676, allocations: 8.125 kB / 408.3 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.03677, allocations: 4 kB / 408.3 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.03678, allocations: 4 kB / 408.3 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.03678, allocations: 0 / 408.3 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005745/0.03735, allocations: 362.2 kB / 408.7 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-05/0.03744, allocations: 43.8 kB / 408.7 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.03748, allocations: 4 kB / 408.7 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.03763, allocations: 8 kB / 408.8 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.03769, allocations: 19.84 kB / 408.8 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.0377, allocations: 12.06 kB / 408.8 MB, free: 2.984 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002416/0.03794, allocations: 199.1 kB / 409 MB, free: 2.789 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03794, allocations: 0 / 409 MB, free: 2.789 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000449/0.03839, allocations: 111.7 kB / 409.1 MB, free: 2.68 MB / 330.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 0.000192/0.03858, allocations: 111.2 kB / 409.2 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003939/0.03898, allocations: 168.5 kB / 409.4 MB, free: 2.395 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.03898, allocations: 4.062 kB / 409.4 MB, free: 2.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.03912, allocations: 59.91 kB / 409.4 MB, free: 2.332 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.03959, allocations: 55.45 kB / 409.5 MB, free: 2.277 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.04102, allocations: 0.698 MB / 410.2 MB, free: 1.539 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.04153, allocations: 218.8 kB / 410.4 MB, free: 1.305 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.04167, allocations: 42.94 kB / 410.4 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.735e-05/0.04174, allocations: 32.48 kB / 410.5 MB, free: 1.234 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.04174, allocations: 4 kB / 410.5 MB, free: 1.23 MB / 330.7 MB Notification: Performance of Templates: time 0.1649/0.2066, allocations: 3.007 MB / 413.5 MB, free: 28.04 MB / 330.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: 4.943012745818123]