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.001799/0.001799, allocations: 88.16 kB / 19.44 MB, free: 188 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.001861/0.001861, allocations: 165.3 kB / 22.77 MB, free: 1.512 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.528/1.528, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.06262/0.06262, allocations: 8.704 MB / 268.3 MB, free: 4.586 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.313e-06/1.313e-06, allocations: 0 / 340.1 MB, free: 8.426 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.163e-05, allocations: 2.312 kB / 340.1 MB, free: 8.422 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.003296/0.003318, allocations: 3.333 MB / 343.5 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.004573, allocations: 0.9366 MB / 344.4 MB, free: 4.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.004712, allocations: 7.938 kB / 344.4 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.004881, allocations: 67.36 kB / 344.5 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.005268, allocations: 198.5 kB / 344.7 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.005492, allocations: 119.7 kB / 344.8 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.005907, allocations: 0.6567 MB / 345.4 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.006123, allocations: 154.5 kB / 345.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.006452, allocations: 351.2 kB / 345.9 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.006713, allocations: 223.4 kB / 346.1 MB, free: 2.363 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.522e-05/0.006768, allocations: 40 kB / 346.2 MB, free: 2.324 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.006899, allocations: 59.98 kB / 346.2 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.507e-05/0.006974, allocations: 111.6 kB / 346.3 MB, free: 2.156 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.007131, allocations: 195.5 kB / 346.5 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.007563, allocations: 0.5374 MB / 347.1 MB, free: 1.426 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.007566, allocations: 3.984 kB / 347.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.007567, allocations: 0 / 347.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.007574, allocations: 0 / 347.1 MB, free: 1.422 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.0008593/0.008433, allocations: 0.7645 MB / 347.8 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.008462, allocations: 12.03 kB / 347.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.008728, allocations: 104.5 kB / 348 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.00908, allocations: 291.3 kB / 348.2 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.009102, allocations: 29.38 kB / 348.3 MB, free: 172 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.00915, allocations: 36.38 kB / 348.3 MB, free: 136 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006374/0.009787, allocations: 354.5 kB / 348.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.009809, allocations: 4 kB / 348.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.009845, allocations: 12 kB / 348.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.009858, allocations: 12 kB / 348.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005679/0.01043, allocations: 259.8 kB / 348.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.01273, allocations: 1.201 MB / 350.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.01311, allocations: 151.2 kB / 350.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.01333, allocations: 79.64 kB / 350.4 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.01336, allocations: 7.938 kB / 350.4 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.0134, allocations: 37.39 kB / 350.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 3.938e-06/0.0134, allocations: 4 kB / 350.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005256/0.01393, allocations: 213.3 kB / 350.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.01397, allocations: 51.41 kB / 350.7 MB, free: 13.67 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/0.01443, allocations: 386.2 kB / 351 MB, free: 13.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.01446, allocations: 33.64 kB / 351.1 MB, free: 13.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.01472, allocations: 310.7 kB / 351.4 MB, free: 12.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.63e-05/0.01478, allocations: 63.48 kB / 351.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.0149, allocations: 75.3 kB / 351.5 MB, free: 12.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003167/0.01522, allocations: 0.5157 MB / 352 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.01541, allocations: 88.56 kB / 352.1 MB, free: 12.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.0157, allocations: 217.1 kB / 352.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.01618, allocations: 293.8 kB / 352.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01618, allocations: 0 / 352.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005501/0.01673, allocations: 289.5 kB / 352.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.01675, allocations: 8 kB / 352.9 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.01676, allocations: 4 kB / 352.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.01677, allocations: 4 kB / 352.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.01707, allocations: 75.83 kB / 353 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.01708, allocations: 4 kB / 353 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.01728, allocations: 35.73 kB / 353 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.01733, allocations: 15.98 kB / 353 MB, free: 11.1 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.0002633/0.0176, allocations: 222.8 kB / 353.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.01767, allocations: 35.8 kB / 353.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.01809, allocations: 191.5 kB / 353.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01809, allocations: 0 / 353.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.0181, allocations: 0 / 353.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.0181, allocations: 0 / 353.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.01926, allocations: 0.6794 MB / 354.2 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.01926, allocations: 4 kB / 354.2 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.01946, allocations: 40.11 kB / 354.2 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01946, allocations: 0 / 354.2 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.01948, allocations: 11.98 kB / 354.2 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.01949, allocations: 3.938 kB / 354.2 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.01949, allocations: 4 kB / 354.2 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006156/0.02011, allocations: 425.8 kB / 354.6 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.02021, allocations: 43.78 kB / 354.7 MB, free: 9.352 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.02025, allocations: 0 / 354.7 MB, free: 9.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.02039, allocations: 8 kB / 354.7 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.02045, allocations: 27.88 kB / 354.7 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.02046, allocations: 8 kB / 354.7 MB, free: 9.309 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002851/0.02075, allocations: 254.9 kB / 355 MB, free: 9.062 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02075, allocations: 0 / 355 MB, free: 9.062 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004393/0.02118, allocations: 115.7 kB / 355.1 MB, free: 8.949 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 0.0001602/0.02134, allocations: 107.2 kB / 355.2 MB, free: 8.836 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003965/0.02174, allocations: 177.3 kB / 355.4 MB, free: 8.664 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.02174, allocations: 8 kB / 355.4 MB, free: 8.656 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.02189, allocations: 75.59 kB / 355.4 MB, free: 8.578 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.02235, allocations: 67.69 kB / 355.5 MB, free: 8.508 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.02383, allocations: 0.6989 MB / 356.2 MB, free: 7.758 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.02409, allocations: 218.7 kB / 356.4 MB, free: 7.527 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.02423, allocations: 34.95 kB / 356.5 MB, free: 7.492 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.02429, allocations: 24.5 kB / 356.5 MB, free: 7.469 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02429, allocations: 0 / 356.5 MB, free: 7.469 MB / 282.7 MB Notification: Performance of Templates: time 0.008412/0.03271, allocations: 3.067 MB / 359.6 MB, free: 4.469 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: 4.4621790029341355]