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.001739/0.001739, allocations: 88.72 kB / 19.44 MB, free: 356 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.001981/0.001981, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.521/1.521, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.03805/0.03805, allocations: 4.08 MB / 263.6 MB, free: 9.09 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.855e-06/2.855e-06, allocations: 3.938 kB / 334.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.707e-05/3.993e-05, allocations: 6.141 kB / 334.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.008786/0.008826, allocations: 7.073 MB / 341.2 MB, free: 7.633 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006549/0.01537, allocations: 3.294 MB / 344.5 MB, free: 4.328 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.01694, allocations: 47.81 kB / 344.6 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002669/0.01961, allocations: 1.136 MB / 345.7 MB, free: 3.141 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004146/0.02376, allocations: 1.431 MB / 347.1 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.0252, allocations: 0.5845 MB / 347.7 MB, free: 1.117 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004949/0.03015, allocations: 3.109 MB / 350.8 MB, free: 14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003775/0.03393, allocations: 1.708 MB / 352.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003899/0.03783, allocations: 1.383 MB / 353.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003196/0.04102, allocations: 1.407 MB / 355.3 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009255/0.04195, allocations: 176 kB / 355.5 MB, free: 9.297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.04459, allocations: 0.8501 MB / 356.4 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001926/0.04652, allocations: 1.149 MB / 357.5 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002219/0.04874, allocations: 0.728 MB / 358.2 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008384/0.05712, allocations: 4.364 MB / 362.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.05713, allocations: 0 / 362.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.05713, allocations: 4 kB / 362.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001318/0.05726, allocations: 3.938 kB / 362.6 MB, free: 2.176 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.008209/0.06547, allocations: 3.154 MB / 365.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.06552, allocations: 8.031 kB / 365.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007319/0.07284, allocations: 2.105 MB / 367.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/0.07613, allocations: 1.399 MB / 369.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.07628, allocations: 135.7 kB / 369.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004205/0.0767, allocations: 176.2 kB / 369.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/0.08874, allocations: 6.727 MB / 376.3 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.222e-05/0.08882, allocations: 39.69 kB / 376.3 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/0.0891, allocations: 87.89 kB / 376.4 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002818/0.09192, allocations: 1.456 MB / 377.9 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01175/0.1037, allocations: 5.966 MB / 383.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03743/0.1411, allocations: 25.98 MB / 409.8 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1545/0.2956, allocations: 1.895 MB / 411.7 MB, free: 82.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.2972, allocations: 0.9855 MB / 412.7 MB, free: 81.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/0.2972, allocations: 19.02 kB / 412.7 MB, free: 81.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.2973, allocations: 46.3 kB / 412.8 MB, free: 81.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=101): time 2.725e-06/0.2973, allocations: 0 / 412.8 MB, free: 81.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=109): time 0.01684/0.3141, allocations: 8.143 MB / 420.9 MB, free: 78.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.3141, allocations: 136.6 kB / 421 MB, free: 78.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.317, allocations: 2.809 MB / 423.9 MB, free: 77.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.396e-05/0.317, allocations: 42.47 kB / 423.9 MB, free: 77.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009098/0.318, allocations: 2.267 MB / 426.2 MB, free: 76.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002805/0.3182, allocations: 470.6 kB / 426.6 MB, free: 75.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008374/0.3191, allocations: 0.8829 MB / 427.5 MB, free: 74.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.3192, allocations: 357.1 kB / 427.9 MB, free: 74.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.3208, allocations: 1.467 MB / 429.3 MB, free: 73.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002748/0.3236, allocations: 4.311 MB / 433.6 MB, free: 67.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/0.3342, allocations: 8.095 MB / 441.7 MB, free: 58.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-05/0.3342, allocations: 28 kB / 441.8 MB, free: 58.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.006932/0.3411, allocations: 5.808 MB / 447.6 MB, free: 52.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/0.3412, allocations: 49 kB / 447.6 MB, free: 52.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-05/0.3413, allocations: 104 kB / 447.7 MB, free: 52.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001056/0.3414, allocations: 139.9 kB / 447.9 MB, free: 52.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003393/0.3448, allocations: 1.236 MB / 449.1 MB, free: 50.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001223/0.3449, allocations: 203.2 kB / 449.3 MB, free: 50.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/0.3481, allocations: 294.8 kB / 449.6 MB, free: 50.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/0.3484, allocations: 287.9 kB / 449.9 MB, free: 50.11 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.001664/0.35, allocations: 1.45 MB / 451.3 MB, free: 48.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/0.3504, allocations: 254.5 kB / 451.6 MB, free: 48.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.3521, allocations: 1.244 MB / 452.8 MB, free: 47.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.3521, allocations: 15.94 kB / 452.8 MB, free: 47.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.3521, allocations: 4 kB / 452.8 MB, free: 47.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.3522, allocations: 3.984 kB / 452.8 MB, free: 47.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005036/0.3572, allocations: 3.641 MB / 456.5 MB, free: 43.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.3572, allocations: 0 / 456.5 MB, free: 43.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.3588, allocations: 367.4 kB / 456.8 MB, free: 43.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.3588, allocations: 4 kB / 456.8 MB, free: 43.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.888e-05/0.3589, allocations: 24.03 kB / 456.8 MB, free: 43.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.3589, allocations: 7.938 kB / 456.9 MB, free: 43.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3589, allocations: 0 / 456.9 MB, free: 43.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003143/0.3621, allocations: 3.169 MB / 460 MB, free: 39.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/0.3625, allocations: 230.3 kB / 460.2 MB, free: 39.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.3627, allocations: 19.62 kB / 460.3 MB, free: 39.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009855/0.3637, allocations: 99.78 kB / 460.4 MB, free: 39.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.3638, allocations: 52.41 kB / 460.4 MB, free: 39.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-05/0.3639, allocations: 39.92 kB / 460.5 MB, free: 39.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001888/0.3658, allocations: 1.615 MB / 462.1 MB, free: 37.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3658, allocations: 0 / 462.1 MB, free: 37.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003167/0.369, allocations: 0.6757 MB / 462.7 MB, free: 37.14 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.0003567/0.3693, allocations: 166.9 kB / 462.9 MB, free: 36.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004125/0.3734, allocations: 3.2 MB / 466.1 MB, free: 33.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.3735, allocations: 0 / 466.1 MB, free: 33.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009449/0.3744, allocations: 0.7536 MB / 466.9 MB, free: 33.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.376, allocations: 258.5 kB / 467.1 MB, free: 32.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008035/0.384, allocations: 5.773 MB / 472.9 MB, free: 26.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/0.3857, allocations: 1.725 MB / 474.6 MB, free: 25.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002753/0.3884, allocations: 1.432 MB / 476 MB, free: 23.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004768/0.3889, allocations: 164.4 kB / 476.2 MB, free: 23.63 MB / 330.7 MB Notification: Performance of SimCode: time 2.335e-06/0.3889, allocations: 0 / 476.2 MB, free: 23.63 MB / 330.7 MB Notification: Performance of Templates: time 0.04181/0.4307, allocations: 17.54 MB / 493.7 MB, free: 6.484 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=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.954281909973361]