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.0009196/0.0009196, allocations: 92.22 kB / 19.65 MB, free: 280 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.001252/0.001252, allocations: 169 kB / 23.02 MB, free: 1.547 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.8851/0.8851, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.01616/0.01616, allocations: 4.088 MB / 264 MB, free: 9.031 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.415e-06/2.415e-06, allocations: 0 / 334.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/2.083e-05, allocations: 4.844 kB / 334.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.007369/0.007389, allocations: 7.712 MB / 342.6 MB, free: 6.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005404/0.01279, allocations: 3.437 MB / 346 MB, free: 3.207 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006667/0.01346, allocations: 47.75 kB / 346.1 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.01525, allocations: 1.156 MB / 347.2 MB, free: 2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.01753, allocations: 1.439 MB / 348.7 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000995/0.01852, allocations: 0.5806 MB / 349.2 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003142/0.02166, allocations: 3.114 MB / 352.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/0.02356, allocations: 1.712 MB / 354.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.02523, allocations: 1.422 MB / 355.5 MB, free: 9.688 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.02689, allocations: 1.407 MB / 356.9 MB, free: 8.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.02712, allocations: 172 kB / 357.1 MB, free: 8.109 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000868/0.02799, allocations: 0.8462 MB / 357.9 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006071/0.0286, allocations: 1.157 MB / 359.1 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005626/0.02916, allocations: 0.7202 MB / 359.8 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.03138, allocations: 2.965 MB / 362.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.03138, allocations: 0 / 362.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.03138, allocations: 0 / 362.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.748e-05/0.03144, allocations: 0 / 362.8 MB, free: 2.402 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.003567/0.03501, allocations: 3.449 MB / 366.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.03505, allocations: 8.031 kB / 366.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003377/0.03842, allocations: 2.027 MB / 368.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.03976, allocations: 1.325 MB / 369.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.618e-05/0.03983, allocations: 131.7 kB / 369.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.04003, allocations: 176.2 kB / 369.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003798/0.04383, allocations: 4.066 MB / 373.9 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.176e-05/0.04388, allocations: 31.7 kB / 374 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.04404, allocations: 87.89 kB / 374.1 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001209/0.04525, allocations: 1.402 MB / 375.5 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/0.04857, allocations: 2.086 MB / 377.5 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01639/0.06497, allocations: 31.53 MB / 409.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.06666, allocations: 0.8453 MB / 409.9 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.06697, allocations: 254.8 kB / 410.2 MB, free: 1.039 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1202/0.1872, allocations: 2.544 MB / 412.7 MB, free: 74.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1873, allocations: 51.27 kB / 412.8 MB, free: 74.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=80): time 3.216e-06/0.1873, allocations: 1.156 kB / 412.8 MB, free: 74.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.004826/0.1921, allocations: 4.019 MB / 416.8 MB, free: 72.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.1921, allocations: 142.1 kB / 416.9 MB, free: 72.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/0.1943, allocations: 2.634 MB / 419.5 MB, free: 72.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.1944, allocations: 34.14 kB / 419.6 MB, free: 72.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.1955, allocations: 2.48 MB / 422.1 MB, free: 70.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.1957, allocations: 384.9 kB / 422.4 MB, free: 70.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008542/0.1966, allocations: 0.9667 MB / 423.4 MB, free: 70.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1967, allocations: 0.5366 MB / 423.9 MB, free: 69.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007152/0.1974, allocations: 409.2 kB / 424.3 MB, free: 69.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.1991, allocations: 4.79 MB / 429.1 MB, free: 64.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/0.2019, allocations: 5.775 MB / 434.9 MB, free: 58.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.901e-05/0.2019, allocations: 36.98 kB / 434.9 MB, free: 58.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.003564/0.2055, allocations: 3.74 MB / 438.7 MB, free: 56.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.2055, allocations: 52 kB / 438.7 MB, free: 56.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.797e-05/0.2056, allocations: 107.6 kB / 438.8 MB, free: 56.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.812e-05/0.2057, allocations: 140.8 kB / 439 MB, free: 55.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.2072, allocations: 1.045 MB / 440 MB, free: 55.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.333e-05/0.2073, allocations: 205.8 kB / 440.2 MB, free: 54.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.2087, allocations: 283.3 kB / 440.5 MB, free: 54.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.2089, allocations: 276 kB / 440.8 MB, free: 54.38 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 (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 (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.0005817/0.2095, allocations: 0.5392 MB / 441.3 MB, free: 53.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.2097, allocations: 249.9 kB / 441.6 MB, free: 53.6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.2101, allocations: 398.1 kB / 441.9 MB, free: 53.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.2101, allocations: 8 kB / 441.9 MB, free: 53.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2101, allocations: 4 kB / 442 MB, free: 53.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2101, allocations: 0 / 442 MB, free: 53.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.2124, allocations: 2.43 MB / 444.4 MB, free: 51.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2124, allocations: 0 / 444.4 MB, free: 51.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.2127, allocations: 141.7 kB / 444.5 MB, free: 50.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.2127, allocations: 7.656 kB / 444.5 MB, free: 50.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.2128, allocations: 13.75 kB / 444.5 MB, free: 50.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.2128, allocations: 8 kB / 444.5 MB, free: 50.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2128, allocations: 3.938 kB / 444.6 MB, free: 50.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009164/0.2137, allocations: 1.336 MB / 445.9 MB, free: 49.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.2139, allocations: 221.3 kB / 446.1 MB, free: 49.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.214, allocations: 8 kB / 446.1 MB, free: 49.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.2144, allocations: 67.48 kB / 446.2 MB, free: 49.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.2145, allocations: 54.53 kB / 446.2 MB, free: 49.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.2145, allocations: 29.58 kB / 446.3 MB, free: 49.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008388/0.2153, allocations: 1.111 MB / 447.4 MB, free: 48.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2153, allocations: 0 / 447.4 MB, free: 48.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00152/0.2169, allocations: 0.6249 MB / 448 MB, free: 47.74 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.0002371/0.2171, allocations: 166.1 kB / 448.2 MB, free: 47.58 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.2186, allocations: 1.829 MB / 450 MB, free: 45.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2186, allocations: 0 / 450 MB, free: 45.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.2188, allocations: 219.4 kB / 450.2 MB, free: 45.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007937/0.2196, allocations: 258.9 kB / 450.5 MB, free: 45.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.2235, allocations: 4.527 MB / 455 MB, free: 41.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.2239, allocations: 0.764 MB / 455.7 MB, free: 40.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001286/0.2252, allocations: 1.191 MB / 456.9 MB, free: 39.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.2254, allocations: 160.4 kB / 457.1 MB, free: 38.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.193e-06/0.2254, allocations: 0 / 457.1 MB, free: 38.95 MB / 330.7 MB Notification: Performance of Templates: time 0.02155/0.247, allocations: 15.08 MB / 472.2 MB, free: 24.3 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.200941818766296]