Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.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.0009004/0.0009004, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009329/0.0009329, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.9155/0.9155, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.01637/0.01637, allocations: 4.087 MB / 264.4 MB, free: 9.121 MB / 250.7 MB " [Timeout remaining time 180] Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/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(DeltaRobot.Tests.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") translateModel(DeltaRobot.Tests.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 4 kB / 334.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.579e-05, allocations: 5.406 kB / 334.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.004965/0.004981, allocations: 7.677 MB / 342.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003597/0.008578, allocations: 3.425 MB / 346 MB, free: 3.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004592/0.009037, allocations: 47.75 kB / 346 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.01031, allocations: 1.152 MB / 347.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.01197, allocations: 1.435 MB / 348.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.01258, allocations: 0.5845 MB / 349.2 MB, free: 368 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002123/0.0147, allocations: 3.107 MB / 352.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.01615, allocations: 1.712 MB / 354 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.01733, allocations: 1.391 MB / 355.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.01852, allocations: 1.426 MB / 356.9 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.0187, allocations: 176 kB / 357 MB, free: 8.508 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009602/0.01966, allocations: 0.8462 MB / 357.9 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006157/0.02028, allocations: 1.157 MB / 359 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005226/0.0208, allocations: 0.7397 MB / 359.8 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.02312, allocations: 2.969 MB / 362.7 MB, free: 2.777 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.02312, allocations: 0 / 362.7 MB, free: 2.777 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.02312, allocations: 0 / 362.7 MB, free: 2.777 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.02314, allocations: 0 / 362.7 MB, free: 2.777 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.003384/0.02653, allocations: 3.441 MB / 366.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.02656, allocations: 12.03 kB / 366.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003465/0.03003, allocations: 2.023 MB / 368.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.03154, allocations: 1.289 MB / 369.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.069e-05/0.03161, allocations: 135.7 kB / 369.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.03182, allocations: 180.2 kB / 369.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003748/0.03557, allocations: 4.082 MB / 373.9 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.143e-05/0.03562, allocations: 31.7 kB / 373.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.03579, allocations: 91.89 kB / 374 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001768/0.03756, allocations: 1.464 MB / 375.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003398/0.04096, allocations: 2.173 MB / 377.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01646/0.05742, allocations: 31.47 MB / 409.1 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.05937, allocations: 0.9635 MB / 410.1 MB, free: 1.527 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/0.0598, allocations: 331.4 kB / 410.4 MB, free: 1.188 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.05984, allocations: 23.98 kB / 410.4 MB, free: 1.164 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.05986, allocations: 41.39 kB / 410.5 MB, free: 1.113 MB / 330.7 MB Notification: Performance of pre-optimization done (n=101): time 2.675e-06/0.05986, allocations: 0 / 410.5 MB, free: 1.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=109): time 0.1094/0.1692, allocations: 5.513 MB / 416 MB, free: 80.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.1693, allocations: 143 kB / 416.1 MB, free: 80.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.1717, allocations: 2.562 MB / 418.7 MB, free: 80 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.1717, allocations: 36.92 kB / 418.7 MB, free: 79.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007551/0.1725, allocations: 2.41 MB / 421.1 MB, free: 78.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.1727, allocations: 484.1 kB / 421.6 MB, free: 78.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006104/0.1733, allocations: 0.9709 MB / 422.6 MB, free: 77.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.1734, allocations: 0.5353 MB / 423.1 MB, free: 77.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006571/0.174, allocations: 467 kB / 423.6 MB, free: 77.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.1754, allocations: 4.681 MB / 428.3 MB, free: 71.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002717/0.1781, allocations: 5.803 MB / 434.1 MB, free: 64.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.291e-05/0.1782, allocations: 26.56 kB / 434.1 MB, free: 64.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.003475/0.1816, allocations: 3.802 MB / 437.9 MB, free: 61.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.1817, allocations: 48 kB / 437.9 MB, free: 61.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-05/0.1817, allocations: 104.1 kB / 438 MB, free: 61.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-05/0.1818, allocations: 136 kB / 438.2 MB, free: 61.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.1838, allocations: 1.231 MB / 439.4 MB, free: 60.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.716e-05/0.1839, allocations: 196.4 kB / 439.6 MB, free: 60.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.1852, allocations: 276.4 kB / 439.9 MB, free: 59.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.1854, allocations: 279.9 kB / 440.1 MB, free: 59.71 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: idealActuatorVel.revolute.phi:VARIABLE(start = idealActuatorVel.actuatorParameters.initialAngle unit = \"rad\" fixed = true stateSelect=StateSelect.prefer ) \"Relative rotation angle from frame_a to frame_b\" type: Real idealActuatorVel.revolute.w:VARIABLE(start = 0.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.prefer ) \"First derivative of angle phi (relative angular velocity)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],idealActuatorVel.revolute.cylinderColor[3],idealActuatorVel.revolute.cylinderColor[2],idealActuatorVel.revolute.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (556): * Single equations (assignments): 553 * Array equations: 3 * 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.0005787/0.186, allocations: 0.5387 MB / 440.7 MB, free: 59.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.1862, allocations: 250.5 kB / 440.9 MB, free: 58.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006689/0.1869, allocations: 0.6326 MB / 441.5 MB, free: 58.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.1869, allocations: 12 kB / 441.6 MB, free: 58.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1869, allocations: 0 / 441.6 MB, free: 58.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1869, allocations: 7.938 kB / 441.6 MB, free: 58.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/0.1897, allocations: 3.042 MB / 444.6 MB, free: 55.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1897, allocations: 2.875 kB / 444.6 MB, free: 55.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008772/0.1906, allocations: 367.4 kB / 445 MB, free: 55.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1906, allocations: 7.891 kB / 445 MB, free: 55.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.1907, allocations: 16 kB / 445 MB, free: 54.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1907, allocations: 8 kB / 445 MB, free: 54.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1907, allocations: 0 / 445 MB, free: 54.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.1919, allocations: 1.557 MB / 446.6 MB, free: 53.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.192, allocations: 230.3 kB / 446.8 MB, free: 53.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.1922, allocations: 16 kB / 446.8 MB, free: 53.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/0.1927, allocations: 91.45 kB / 446.9 MB, free: 53.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.1928, allocations: 56.34 kB / 446.9 MB, free: 53.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.1928, allocations: 31.98 kB / 447 MB, free: 52.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008215/0.1936, allocations: 1.084 MB / 448.1 MB, free: 51.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1936, allocations: 0 / 448.1 MB, free: 51.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001567/0.1952, allocations: 0.6718 MB / 448.7 MB, free: 51.21 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (idealActuatorVel.revolute.phi,idealActuatorVel.revolute.w,idealActuatorVel.firstOrder.y) * 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 (87): * Single equations (assignments): 84 * Array equations: 3 * 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.0002366/0.1954, allocations: 170.8 kB / 448.9 MB, free: 51.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.1971, allocations: 1.959 MB / 450.9 MB, free: 49.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1971, allocations: 0 / 450.9 MB, free: 49.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.1975, allocations: 328 kB / 451.2 MB, free: 48.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008814/0.1983, allocations: 249.6 kB / 451.4 MB, free: 48.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.2023, allocations: 4.646 MB / 456.1 MB, free: 43.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.2027, allocations: 0.774 MB / 456.8 MB, free: 43.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001369/0.2041, allocations: 1.221 MB / 458.1 MB, free: 41.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.2044, allocations: 164.5 kB / 458.2 MB, free: 41.66 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2044, allocations: 0 / 458.2 MB, free: 41.66 MB / 330.7 MB Notification: Performance of Templates: time 0.02188/0.2263, allocations: 17.48 MB / 475.7 MB, free: 24.58 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.makefile [Timeout 660] (rm -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.sim & ./DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.167093330062926]