Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_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.0009445/0.0009445, allocations: 81.95 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.0009433/0.0009433, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9451/0.9451, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.01611/0.01611, allocations: 4.096 MB / 264.4 MB, free: 8.871 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.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") translateModel(DeltaRobot.Tests.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 335.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.431e-05, allocations: 12.03 kB / 335.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.004985/0.005, allocations: 7.626 MB / 343 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00369/0.008689, allocations: 3.483 MB / 346.4 MB, free: 2.949 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004708/0.00916, allocations: 43.75 kB / 346.5 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.01037, allocations: 1.152 MB / 347.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.01182, allocations: 1.454 MB / 349.1 MB, free: 296 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006523/0.01248, allocations: 0.6236 MB / 349.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002203/0.01468, allocations: 3.176 MB / 352.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.01581, allocations: 1.759 MB / 354.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.01691, allocations: 1.442 MB / 356.1 MB, free: 9.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.0183, allocations: 1.43 MB / 357.5 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.01849, allocations: 180 kB / 357.7 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008265/0.01931, allocations: 0.8501 MB / 358.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005923/0.01991, allocations: 1.161 MB / 359.7 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004889/0.02039, allocations: 0.7358 MB / 360.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.02241, allocations: 2.981 MB / 363.4 MB, free: 1.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.02241, allocations: 0 / 363.4 MB, free: 1.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02241, allocations: 0 / 363.4 MB, free: 1.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.473e-05/0.02244, allocations: 0 / 363.4 MB, free: 1.895 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: 996 * Number of variables: 996 Notification: Performance of Generate backend data structure: time 0.003557/0.026, allocations: 3.347 MB / 366.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.02604, allocations: 12.03 kB / 366.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/0.02836, allocations: 1.123 MB / 367.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.02946, allocations: 1.228 MB / 369.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.606e-05/0.02952, allocations: 131.7 kB / 369.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.02972, allocations: 184.2 kB / 369.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003287/0.03301, allocations: 3.765 MB / 373.2 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.664e-05/0.03306, allocations: 31.7 kB / 373.2 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.03321, allocations: 91.89 kB / 373.3 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009488/0.03416, allocations: 1.226 MB / 374.6 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.03626, allocations: 1.648 MB / 376.2 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01559/0.05185, allocations: 30.53 MB / 406.7 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.05344, allocations: 0.7435 MB / 407.5 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.05367, allocations: 218.6 kB / 407.7 MB, free: 3.652 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00224/0.05591, allocations: 2.445 MB / 410.1 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.05593, allocations: 49.5 kB / 410.2 MB, free: 1.117 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 2.194e-06/0.05593, allocations: 4 kB / 410.2 MB, free: 1.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.126/0.1819, allocations: 2.113 MB / 412.3 MB, free: 76.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.1819, allocations: 163.3 kB / 412.5 MB, free: 75.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.1839, allocations: 2.645 MB / 415.1 MB, free: 75.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.1839, allocations: 36.77 kB / 415.1 MB, free: 75.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007618/0.1847, allocations: 2.504 MB / 417.7 MB, free: 74.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.1848, allocations: 388.4 kB / 418 MB, free: 74.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006877/0.1855, allocations: 0.9895 MB / 419 MB, free: 73.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.1856, allocations: 0.5433 MB / 419.6 MB, free: 73.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/0.1862, allocations: 393.7 kB / 419.9 MB, free: 73.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.1879, allocations: 4.813 MB / 424.8 MB, free: 67.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/0.1909, allocations: 5.663 MB / 430.4 MB, free: 61.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.024e-05/0.1909, allocations: 35.69 kB / 430.5 MB, free: 61.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.003258/0.1942, allocations: 3.502 MB / 434 MB, free: 60.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.1942, allocations: 52 kB / 434 MB, free: 60.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.465e-05/0.1943, allocations: 107.3 kB / 434.1 MB, free: 60.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.619e-05/0.1944, allocations: 141 kB / 434.3 MB, free: 60.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.1958, allocations: 1.017 MB / 435.3 MB, free: 60.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-05/0.1959, allocations: 204.6 kB / 435.5 MB, free: 60.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.1971, allocations: 206.8 kB / 435.7 MB, free: 60.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.1973, allocations: 250.2 kB / 435.9 MB, free: 60.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007864/0.1981, allocations: 0.5674 MB / 436.5 MB, free: 59.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001367/0.1994, allocations: 4.814 MB / 441.3 MB, free: 53.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002418/0.2019, allocations: 5.662 MB / 447 MB, free: 45.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.799e-05/0.2019, allocations: 32 kB / 447 MB, free: 45.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=575) (initialization_lambda0): time 0.002775/0.2047, allocations: 3.498 MB / 450.5 MB, free: 42.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.2047, allocations: 54.03 kB / 450.5 MB, free: 42.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.963e-05/0.2048, allocations: 104 kB / 450.6 MB, free: 42.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.285e-05/0.2048, allocations: 143.5 kB / 450.8 MB, free: 42.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.2061, allocations: 1.016 MB / 451.8 MB, free: 41.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.206e-05/0.2061, allocations: 201.8 kB / 452 MB, free: 41.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.2073, allocations: 207.7 kB / 452.2 MB, free: 40.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.2074, allocations: 247.7 kB / 452.4 MB, free: 40.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 482 * Number of states: 0 () * Number of discrete variables: 18 (idealActuatorPos.revolute.cylinderColor[1],idealActuatorPos.revolute.cylinderColor[2],idealActuatorPos.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 (551): * Single equations (assignments): 548 * 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.0003151/0.2078, allocations: 0.6394 MB / 453.1 MB, free: 40.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.2079, allocations: 246.5 kB / 453.3 MB, free: 39.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.2083, allocations: 384.7 kB / 453.7 MB, free: 39.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.2083, allocations: 8 kB / 453.7 MB, free: 39.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2083, allocations: 8 kB / 453.7 MB, free: 39.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2083, allocations: 3.656 kB / 453.7 MB, free: 39.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.2106, allocations: 2.418 MB / 456.1 MB, free: 37.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.2106, allocations: 4.219 kB / 456.1 MB, free: 37.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.2109, allocations: 127 kB / 456.3 MB, free: 37.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.2109, allocations: 7.938 kB / 456.3 MB, free: 37.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.2109, allocations: 16 kB / 456.3 MB, free: 37.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.211, allocations: 4 kB / 456.3 MB, free: 37.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.211, allocations: 10.81 kB / 456.3 MB, free: 37.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007086/0.2117, allocations: 1.276 MB / 457.6 MB, free: 35.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.2119, allocations: 282.2 kB / 457.9 MB, free: 35.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.212, allocations: 19.98 kB / 457.9 MB, free: 35.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.2124, allocations: 19.98 kB / 457.9 MB, free: 35.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.2124, allocations: 47.92 kB / 457.9 MB, free: 35.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.2125, allocations: 20 kB / 458 MB, free: 35.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005981/0.2131, allocations: 1.051 MB / 459 MB, free: 34.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2131, allocations: 0 / 459 MB, free: 34.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002746/0.2158, allocations: 1.18 MB / 460.2 MB, free: 33.34 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (idealActuatorPos.revolute.phi,idealActuatorPos.revolute.w,idealActuatorPos.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 (63): * Single equations (assignments): 60 * 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.0002125/0.216, allocations: 166.5 kB / 460.4 MB, free: 33.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002373/0.2184, allocations: 3.347 MB / 463.7 MB, free: 29.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2184, allocations: 5.812 kB / 463.7 MB, free: 29.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.2186, allocations: 205.3 kB / 463.9 MB, free: 29.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007757/0.2193, allocations: 256.8 kB / 464.2 MB, free: 29.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.2231, allocations: 4.619 MB / 468.8 MB, free: 24.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.2235, allocations: 0.7689 MB / 469.5 MB, free: 23.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009069/0.2244, allocations: 443.9 kB / 470 MB, free: 23.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.2248, allocations: 414.1 kB / 470.4 MB, free: 23.07 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2248, allocations: 4 kB / 470.4 MB, free: 23.06 MB / 330.7 MB Notification: Performance of Templates: time 0.02423/0.249, allocations: 18.5 MB / 488.9 MB, free: 4.812 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.makefile [Timeout 660] (rm -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.sim & ./DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2530887122265995]