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.001045/0.001045, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001243/0.001243, allocations: 177.3 kB / 23.36 MB, free: 1.129 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.109/1.109, allocations: 177.1 MB / 203.8 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.01765/0.01765, allocations: 4.099 MB / 264.4 MB, free: 8.914 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 3.306e-06/3.306e-06, allocations: 4 kB / 282.1 MB, free: 7.156 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.483e-05, allocations: 2.312 kB / 282.1 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.1349/0.1349, allocations: 7.61 MB / 289.7 MB, free: 19.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006764/0.1417, allocations: 3.512 MB / 293.2 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.1431, allocations: 42.5 kB / 293.3 MB, free: 19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.1454, allocations: 1.152 MB / 294.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.1489, allocations: 1.409 MB / 295.8 MB, free: 18.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.1502, allocations: 0.5741 MB / 296.4 MB, free: 18.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004205/0.1544, allocations: 3.122 MB / 299.5 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002653/0.1571, allocations: 1.65 MB / 301.2 MB, free: 16.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.1601, allocations: 1.388 MB / 302.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002441/0.1625, allocations: 1.348 MB / 303.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005918/0.1631, allocations: 174.2 kB / 304.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.1646, allocations: 0.8669 MB / 305 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007017/0.1653, allocations: 1.157 MB / 306.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008162/0.1662, allocations: 0.7186 MB / 306.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002799/0.169, allocations: 2.968 MB / 309.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.169, allocations: 0 / 309.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.169, allocations: 0 / 309.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.862e-05/0.1691, allocations: 0 / 309.8 MB, free: 10.38 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: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.003298/0.1724, allocations: 2.877 MB / 312.7 MB, free: 7.469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1724, allocations: 8.031 kB / 312.7 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.1745, allocations: 0.8279 MB / 313.5 MB, free: 6.633 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.1756, allocations: 1.099 MB / 314.6 MB, free: 5.504 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/0.1757, allocations: 131.7 kB / 314.7 MB, free: 5.375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.1759, allocations: 176.3 kB / 314.9 MB, free: 5.203 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.1786, allocations: 3.284 MB / 318.2 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.024e-05/0.1786, allocations: 35.69 kB / 318.2 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.1788, allocations: 87.89 kB / 318.3 MB, free: 1.273 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008573/0.1796, allocations: 1.222 MB / 319.5 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00269/0.1823, allocations: 1.663 MB / 321.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01673/0.1991, allocations: 21.73 MB / 342.9 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.2008, allocations: 0.77 MB / 343.7 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.201, allocations: 174.3 kB / 343.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002896/0.2039, allocations: 2.018 MB / 345.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.2039, allocations: 42.66 kB / 345.9 MB, free: 4.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=80): time 5.33e-06/0.2039, allocations: 3.938 kB / 345.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=83): time 0.003917/0.2078, allocations: 1.942 MB / 347.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.2079, allocations: 136.5 kB / 348 MB, free: 2.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.2098, allocations: 2.339 MB / 350.3 MB, free: 204 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.2099, allocations: 37.7 kB / 350.4 MB, free: 160 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.2111, allocations: 2.241 MB / 352.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.2113, allocations: 369.3 kB / 353 MB, free: 13.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006096/0.2119, allocations: 0.8421 MB / 353.8 MB, free: 12.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.212, allocations: 357.8 kB / 354.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006927/0.2127, allocations: 0.5044 MB / 354.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/0.215, allocations: 3.347 MB / 358 MB, free: 6.957 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/0.2181, allocations: 4.317 MB / 362.3 MB, free: 1.148 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.478e-05/0.2181, allocations: 28 kB / 362.4 MB, free: 1.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.00362/0.2217, allocations: 2.972 MB / 365.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/0.2218, allocations: 60.59 kB / 365.4 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.899e-05/0.2219, allocations: 104 kB / 365.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.725e-05/0.2219, allocations: 144 kB / 365.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.2238, allocations: 1.049 MB / 366.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001111/0.2239, allocations: 207.2 kB / 366.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.2255, allocations: 204.4 kB / 367.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/0.2257, allocations: 240 kB / 367.3 MB, free: 12.15 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.0008993/0.2266, allocations: 0.5057 MB / 367.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/0.2269, allocations: 135.8 kB / 368 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.2273, allocations: 338.3 kB / 368.3 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.2273, allocations: 12 kB / 368.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2273, allocations: 3.984 kB / 368.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.2274, allocations: 0 / 368.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.2301, allocations: 2.03 MB / 370.3 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.2301, allocations: 4 kB / 370.3 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.2305, allocations: 131.8 kB / 370.5 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.2305, allocations: 12.22 kB / 370.5 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.2306, allocations: 15.92 kB / 370.5 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.2306, allocations: 4.625 kB / 370.5 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.2306, allocations: 11.88 kB / 370.5 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.2318, allocations: 1.061 MB / 371.6 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.232, allocations: 206.3 kB / 371.8 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.2321, allocations: 16 kB / 371.8 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.2325, allocations: 16 kB / 371.8 MB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.2326, allocations: 47.8 kB / 371.9 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.2326, allocations: 27.98 kB / 371.9 MB, free: 7.484 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008213/0.2334, allocations: 0.9418 MB / 372.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2334, allocations: 0 / 372.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002194/0.2356, allocations: 0.6327 MB / 373.5 MB, free: 5.895 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.0002918/0.2359, allocations: 128.2 kB / 373.6 MB, free: 5.758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.2379, allocations: 1.611 MB / 375.2 MB, free: 4.152 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-05/0.238, allocations: 59.94 kB / 375.3 MB, free: 4.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.2382, allocations: 176 kB / 375.4 MB, free: 3.914 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.2394, allocations: 390.4 kB / 375.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005626/0.245, allocations: 4.476 MB / 380.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006167/0.2456, allocations: 0.756 MB / 381 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008368/0.2465, allocations: 337.7 kB / 381.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004583/0.2469, allocations: 377.2 kB / 381.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of SimCode: time 2.665e-06/0.2469, allocations: 0 / 381.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of Templates: time 0.02881/0.2757, allocations: 16.33 MB / 398.1 MB, free: 13.45 MB / 362.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4063850389793515]