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.0009301/0.0009301, allocations: 92.22 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.000992/0.000992, allocations: 165 kB / 23.02 MB, free: 1.551 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.966/0.966, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.03625/0.03625, allocations: 8.718 MB / 268.7 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.873e-06/1.873e-06, allocations: 4 kB / 340.9 MB, free: 8.07 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.534e-05, allocations: 6.141 kB / 340.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.003111/0.003126, allocations: 3.374 MB / 344.2 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.00428, allocations: 0.935 MB / 345.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.004427, allocations: 11.94 kB / 345.2 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.0046, allocations: 59.38 kB / 345.2 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.005003, allocations: 214.4 kB / 345.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.005218, allocations: 111.8 kB / 345.6 MB, free: 3.344 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004355/0.005653, allocations: 0.6606 MB / 346.2 MB, free: 2.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.005874, allocations: 150.5 kB / 346.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.006189, allocations: 347.2 kB / 346.7 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.00643, allocations: 223.4 kB / 346.9 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/0.006478, allocations: 44 kB / 347 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.006591, allocations: 63.92 kB / 347 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.84e-05/0.006659, allocations: 111.6 kB / 347.1 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.0068, allocations: 195.5 kB / 347.3 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.007152, allocations: 370.7 kB / 347.7 MB, free: 1.199 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.007154, allocations: 4 kB / 347.7 MB, free: 1.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007155, allocations: 0 / 347.7 MB, free: 1.195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.00716, allocations: 0 / 347.7 MB, free: 1.195 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.0006789/0.007839, allocations: 0.7531 MB / 348.4 MB, free: 416 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.007871, allocations: 8.031 kB / 348.5 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.008093, allocations: 96.58 kB / 348.5 MB, free: 312 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.008396, allocations: 291.3 kB / 348.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.008423, allocations: 29.38 kB / 348.9 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.008482, allocations: 36.38 kB / 348.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.0089, allocations: 271.3 kB / 349.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.008916, allocations: 4 kB / 349.2 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.008944, allocations: 16 kB / 349.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.008961, allocations: 12 kB / 349.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.009237, allocations: 137.9 kB / 349.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.01063, allocations: 1.036 MB / 350.4 MB, free: 14.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.01085, allocations: 107.3 kB / 350.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.01096, allocations: 49.7 kB / 350.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.01098, allocations: 11.94 kB / 350.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.01101, allocations: 45.31 kB / 350.6 MB, free: 14.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.01101, allocations: 3.938 kB / 350.6 MB, free: 14.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002873/0.0113, allocations: 141.4 kB / 350.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.01132, allocations: 55.41 kB / 350.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.01156, allocations: 322.2 kB / 351.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.01158, allocations: 25.7 kB / 351.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.01172, allocations: 302.7 kB / 351.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.01176, allocations: 71.45 kB / 351.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.667e-05/0.01184, allocations: 63.31 kB / 351.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.01198, allocations: 0.504 MB / 352 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.01206, allocations: 52.59 kB / 352.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.0122, allocations: 176.3 kB / 352.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.01242, allocations: 230.7 kB / 352.5 MB, free: 12.05 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.01243, allocations: 0 / 352.5 MB, free: 12.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003185/0.01274, allocations: 241.3 kB / 352.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.01276, allocations: 4 kB / 352.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.01276, allocations: 4 kB / 352.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.01278, allocations: 4 kB / 352.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.01298, allocations: 67.89 kB / 352.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.01299, allocations: 4 kB / 352.8 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.01311, allocations: 27.84 kB / 352.8 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.01313, allocations: 12 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.0001378/0.01326, allocations: 190 kB / 353 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.01331, allocations: 35.75 kB / 353.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.01355, allocations: 147.6 kB / 353.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.01355, allocations: 4 kB / 353.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01356, allocations: 0 / 353.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01356, allocations: 0 / 353.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006338/0.01419, allocations: 0.5739 MB / 353.8 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.0142, allocations: 0 / 353.8 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.01433, allocations: 48.03 kB / 353.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01433, allocations: 4 kB / 353.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.01434, allocations: 4 kB / 353.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01435, allocations: 4 kB / 353.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.01435, allocations: 0 / 353.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.01466, allocations: 353.2 kB / 354.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.01472, allocations: 39.73 kB / 354.2 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.01475, allocations: 7.938 kB / 354.2 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.01486, allocations: 8 kB / 354.2 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.0149, allocations: 19.94 kB / 354.3 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.01491, allocations: 8 kB / 354.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.01506, allocations: 223 kB / 354.5 MB, free: 9.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01506, allocations: 0 / 354.5 MB, free: 9.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003685/0.01543, allocations: 103.7 kB / 354.6 MB, free: 9.828 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.0001103/0.01554, allocations: 111.1 kB / 354.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.01575, allocations: 120 kB / 354.8 MB, free: 9.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01575, allocations: 4.312 kB / 354.8 MB, free: 9.586 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.442e-05/0.01583, allocations: 55.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.0003855/0.01621, allocations: 56.94 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.001278/0.01749, allocations: 0.6987 MB / 355.6 MB, free: 8.715 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.177e-05/0.01757, allocations: 112.3 kB / 355.7 MB, free: 8.586 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.01768, allocations: 42.92 kB / 355.8 MB, free: 8.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.01774, allocations: 32.5 kB / 355.8 MB, free: 8.512 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01774, allocations: 0 / 355.8 MB, free: 8.512 MB / 282.7 MB Notification: Performance of Templates: time 0.005838/0.02358, allocations: 3.07 MB / 358.9 MB, free: 5.516 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.758283351082355]