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.001813/0.001813, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00191/0.00191, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.585/1.585, allocations: 177.1 MB / 202.8 MB, free: 5.766 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.06259/0.06259, allocations: 8.694 MB / 267.9 MB, free: 4.777 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 395.4 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.899e-05, allocations: 9.031 kB / 395.5 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTest): time 0.007171/0.0072, allocations: 4.645 MB / 400.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.01026, allocations: 1.536 MB / 401.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.01054, allocations: 19.88 kB / 401.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.01088, allocations: 134.7 kB / 401.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.01188, allocations: 424.9 kB / 402.2 MB, free: 9.953 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006291/0.01251, allocations: 331.4 kB / 402.5 MB, free: 9.629 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002056/0.01456, allocations: 1.631 MB / 404.2 MB, free: 7.988 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000571/0.01513, allocations: 312.1 kB / 404.5 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.01638, allocations: 0.8654 MB / 405.3 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000883/0.01726, allocations: 0.5415 MB / 405.9 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.01746, allocations: 139.9 kB / 406 MB, free: 6.117 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.01777, allocations: 152 kB / 406.2 MB, free: 5.969 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.01808, allocations: 295 kB / 406.4 MB, free: 5.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005949/0.01868, allocations: 459 kB / 406.9 MB, free: 5.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.0205, allocations: 1.515 MB / 408.4 MB, free: 3.711 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.0205, allocations: 0 / 408.4 MB, free: 3.711 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.0205, allocations: 0 / 408.4 MB, free: 3.711 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.02052, allocations: 4 kB / 408.4 MB, free: 3.707 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002545/0.02306, allocations: 1.214 MB / 409.6 MB, free: 2.457 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.02311, allocations: 12.03 kB / 409.6 MB, free: 2.445 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002787/0.02339, allocations: 112.3 kB / 409.7 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.0244, allocations: 0.5569 MB / 410.3 MB, free: 1.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-05/0.02448, allocations: 66 kB / 410.4 MB, free: 1.688 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.02464, allocations: 84 kB / 410.4 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.02686, allocations: 1.023 MB / 411.5 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.02689, allocations: 7.953 kB / 411.5 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/0.02698, allocations: 32 kB / 411.5 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.027, allocations: 20 kB / 411.5 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1617/0.1887, allocations: 0.7877 MB / 412.3 MB, free: 28.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005315/0.194, allocations: 2.772 MB / 415.1 MB, free: 27.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.1951, allocations: 451.2 kB / 415.5 MB, free: 27.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/0.1955, allocations: 224.8 kB / 415.7 MB, free: 27.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.1956, allocations: 5.5 kB / 415.8 MB, free: 27.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.1956, allocations: 43.08 kB / 415.8 MB, free: 27.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=45): time 2.014e-06/0.1956, allocations: 2.188 kB / 415.8 MB, free: 27.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.002553/0.1982, allocations: 0.8349 MB / 416.6 MB, free: 26.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.1982, allocations: 60.61 kB / 416.7 MB, free: 26.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006246/0.1988, allocations: 0.546 MB / 417.2 MB, free: 26.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.1989, allocations: 47.91 kB / 417.3 MB, free: 26.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.1991, allocations: 442.8 kB / 417.7 MB, free: 26.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.1992, allocations: 161.8 kB / 417.9 MB, free: 25.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.1994, allocations: 124.4 kB / 418 MB, free: 25.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.534e-05/0.1995, allocations: 367.2 kB / 418.4 MB, free: 25.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.2, allocations: 259.4 kB / 418.6 MB, free: 25.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.2005, allocations: 380 kB / 419 MB, free: 25.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007315/0.2012, allocations: 0.5005 MB / 419.5 MB, free: 24.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2012, allocations: 3.281 kB / 419.5 MB, free: 24.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001289/0.2025, allocations: 0.7362 MB / 420.2 MB, free: 24.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.2025, allocations: 8.078 kB / 420.2 MB, free: 24.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.2025, allocations: 4.188 kB / 420.2 MB, free: 24.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004385/0.203, allocations: 250.8 kB / 420.5 MB, free: 24.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/0.2035, allocations: 138.4 kB / 420.6 MB, free: 24.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.2065, allocations: 3.312 MB / 423.9 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000669/0.2072, allocations: 112.5 kB / 424 MB, free: 21.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.2072, allocations: 25.98 kB / 424.1 MB, free: 21.29 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: 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.0003997/0.2076, allocations: 279.4 kB / 424.3 MB, free: 21.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2077, allocations: 67.16 kB / 424.4 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.2089, allocations: 0.5623 MB / 425 MB, free: 20.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2089, allocations: 4.469 kB / 425 MB, free: 20.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2089, allocations: 5.156 kB / 425 MB, free: 20.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.2089, allocations: 1.922 kB / 425 MB, free: 20.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.2112, allocations: 1.286 MB / 426.3 MB, free: 20.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2112, allocations: 3.188 kB / 426.3 MB, free: 20.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.2116, allocations: 75.17 kB / 426.3 MB, free: 20.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003659/0.2119, allocations: 221.9 kB / 426.5 MB, free: 19.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.684e-05/0.212, allocations: 21.42 kB / 426.6 MB, free: 19.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.2144, allocations: 2.946 MB / 429.5 MB, free: 17.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2144, allocations: 2.281 kB / 429.5 MB, free: 17.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.2159, allocations: 0.8905 MB / 430.4 MB, free: 16.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.2162, allocations: 122.5 kB / 430.5 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.2163, allocations: 27.69 kB / 430.6 MB, free: 16.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005295/0.2168, allocations: 58.08 kB / 430.6 MB, free: 16.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005161/0.2173, allocations: 247 kB / 430.9 MB, free: 16.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.2173, allocations: 24.12 kB / 430.9 MB, free: 16.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004658/0.2178, allocations: 386 kB / 431.3 MB, free: 16.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2178, allocations: 0 / 431.3 MB, free: 16.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008968/0.2187, allocations: 265.3 kB / 431.5 MB, free: 16.28 MB / 330.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.0001883/0.2189, allocations: 131.9 kB / 431.6 MB, free: 16.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.2202, allocations: 0.715 MB / 432.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2202, allocations: 1.094 kB / 432.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007275/0.221, allocations: 498.8 kB / 432.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007576/0.2217, allocations: 144.9 kB / 433 MB, free: 15.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.2252, allocations: 1.567 MB / 434.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.2256, allocations: 410.9 kB / 435 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003257/0.2259, allocations: 84 kB / 435 MB, free: 14.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.2261, allocations: 54.48 kB / 435.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.342e-06/0.2261, allocations: 0 / 435.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of Templates: time 0.0156/0.2417, allocations: 10.94 MB / 446 MB, free: 6.07 MB / 330.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.335382336983457]