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.0009506/0.0009506, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001473/0.001473, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9685/0.9685, allocations: 177.1 MB / 203.7 MB, free: 5.48 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.01591/0.01591, allocations: 4.096 MB / 264.3 MB, free: 8.859 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.965e-06/2.965e-06, allocations: 0 / 335.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.858e-05, allocations: 8.422 kB / 335.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.007664/0.007693, allocations: 7.568 MB / 342.9 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006152/0.01384, allocations: 3.397 MB / 346.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.01523, allocations: 43.81 kB / 346.3 MB, free: 3.066 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.01718, allocations: 1.148 MB / 347.5 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003149/0.02033, allocations: 1.439 MB / 348.9 MB, free: 480 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.02143, allocations: 0.5768 MB / 349.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003593/0.02502, allocations: 3.122 MB / 352.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002708/0.02773, allocations: 1.719 MB / 354.3 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002545/0.03028, allocations: 1.411 MB / 355.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002189/0.03247, allocations: 1.418 MB / 357.2 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004738/0.03294, allocations: 176 kB / 357.3 MB, free: 8.008 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.03441, allocations: 0.8423 MB / 358.2 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000976/0.03538, allocations: 1.157 MB / 359.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.0364, allocations: 0.724 MB / 360.1 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003959/0.04036, allocations: 2.954 MB / 363 MB, free: 2.312 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.04037, allocations: 0 / 363 MB, free: 2.312 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.04037, allocations: 0 / 363 MB, free: 2.312 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.128e-05/0.04045, allocations: 4 kB / 363 MB, free: 2.309 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.005296/0.04574, allocations: 3.312 MB / 366.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.04579, allocations: 11.97 kB / 366.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003509/0.0493, allocations: 1.123 MB / 367.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.0513, allocations: 1.192 MB / 368.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-05/0.0514, allocations: 131.7 kB / 368.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002887/0.05168, allocations: 180.2 kB / 369 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004958/0.05664, allocations: 3.722 MB / 372.7 MB, free: 7.848 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.228e-05/0.05672, allocations: 39.67 kB / 372.7 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/0.05693, allocations: 91.89 kB / 372.8 MB, free: 7.719 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001523/0.05845, allocations: 1.226 MB / 374 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004383/0.06284, allocations: 1.636 MB / 375.7 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02562/0.08845, allocations: 30.49 MB / 406.2 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.09001, allocations: 0.7377 MB / 406.9 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.09028, allocations: 222.9 kB / 407.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002842/0.09312, allocations: 2.435 MB / 409.6 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.09315, allocations: 41.39 kB / 409.6 MB, free: 1.742 MB / 330.7 MB Notification: Performance of pre-optimization done (n=80): time 2.765e-06/0.09316, allocations: 0 / 409.6 MB, free: 1.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.1294/0.2225, allocations: 2.101 MB / 411.7 MB, free: 76.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.2226, allocations: 136.1 kB / 411.8 MB, free: 76.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/0.2251, allocations: 2.632 MB / 414.5 MB, free: 76.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.2252, allocations: 35.7 kB / 414.5 MB, free: 76.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008978/0.2261, allocations: 2.499 MB / 417 MB, free: 74.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002796/0.2264, allocations: 391.2 kB / 417.4 MB, free: 74.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000706/0.2271, allocations: 0.983 MB / 418.4 MB, free: 74.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.2272, allocations: 0.5392 MB / 418.9 MB, free: 73.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006547/0.2278, allocations: 368 kB / 419.3 MB, free: 73.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.2298, allocations: 4.766 MB / 424 MB, free: 68.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003871/0.2337, allocations: 5.695 MB / 429.7 MB, free: 62.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/0.2338, allocations: 34.69 kB / 429.8 MB, free: 62.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.004651/0.2385, allocations: 3.503 MB / 433.3 MB, free: 61.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/0.2385, allocations: 52.69 kB / 433.3 MB, free: 61.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/0.2386, allocations: 109.3 kB / 433.4 MB, free: 61.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.2388, allocations: 141.6 kB / 433.5 MB, free: 61.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.2404, allocations: 1.015 MB / 434.6 MB, free: 61.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.748e-05/0.2405, allocations: 209.8 kB / 434.8 MB, free: 61.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.2425, allocations: 196.8 kB / 435 MB, free: 61.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/0.2427, allocations: 248.6 kB / 435.2 MB, free: 61 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: 482 * Number of states: 0 () * Number of discrete variables: 18 (idealActuatorVel.revolute.cylinderColor[1],idealActuatorVel.revolute.cylinderColor[2],idealActuatorVel.revolute.cylinderColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (550): * Single equations (assignments): 547 * 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.0008204/0.2435, allocations: 0.5435 MB / 435.7 MB, free: 60.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.2438, allocations: 238.5 kB / 436 MB, free: 60.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/0.2442, allocations: 378.4 kB / 436.3 MB, free: 59.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.2442, allocations: 13.97 kB / 436.4 MB, free: 59.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2442, allocations: 0 / 436.4 MB, free: 59.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.2442, allocations: 5.969 kB / 436.4 MB, free: 59.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.2471, allocations: 2.399 MB / 438.8 MB, free: 58.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.2471, allocations: 3.656 kB / 438.8 MB, free: 58.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.2474, allocations: 110.5 kB / 438.9 MB, free: 58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2474, allocations: 8 kB / 438.9 MB, free: 57.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.2475, allocations: 16.22 kB / 438.9 MB, free: 57.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2475, allocations: 11.94 kB / 438.9 MB, free: 57.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.2475, allocations: 7.938 kB / 438.9 MB, free: 57.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009194/0.2484, allocations: 1.263 MB / 440.2 MB, free: 56.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/0.2487, allocations: 202.2 kB / 440.4 MB, free: 56.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.2488, allocations: 19.94 kB / 440.4 MB, free: 56.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.2492, allocations: 18.91 kB / 440.4 MB, free: 56.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.2493, allocations: 51.41 kB / 440.5 MB, free: 56.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.2493, allocations: 24 kB / 440.5 MB, free: 56.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007681/0.2501, allocations: 1.043 MB / 441.5 MB, free: 55.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2501, allocations: 0 / 441.5 MB, free: 55.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002951/0.253, allocations: 0.6288 MB / 442.2 MB, free: 54.92 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (62): * Single equations (assignments): 59 * 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.000298/0.2533, allocations: 154.2 kB / 442.3 MB, free: 54.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.2554, allocations: 1.733 MB / 444.1 MB, free: 53.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.2554, allocations: 5.875 kB / 444.1 MB, free: 53.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.2556, allocations: 206.9 kB / 444.3 MB, free: 53.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.2567, allocations: 252.4 kB / 444.5 MB, free: 52.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005565/0.2622, allocations: 4.524 MB / 449 MB, free: 48.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.2628, allocations: 0.7654 MB / 449.8 MB, free: 47.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008392/0.2637, allocations: 339.3 kB / 450.1 MB, free: 47.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/0.2641, allocations: 398.1 kB / 450.5 MB, free: 47.04 MB / 330.7 MB Notification: Performance of SimCode: time 1.894e-06/0.2641, allocations: 0 / 450.5 MB, free: 47.04 MB / 330.7 MB Notification: Performance of Templates: time 0.02456/0.2886, allocations: 16.36 MB / 466.9 MB, free: 30.96 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.2361282808706164]