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.0007608/0.0007608, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.001817, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000746/0.000746, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009913/0.001737, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9897/0.9897, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1066/1.096, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.01634/0.01634, allocations: 4.102 MB / 248.1 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003751/0.02009, allocations: 1.598 MB / 249.7 MB, free: 9.25 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 2.755e-06/2.755e-06, allocations: 0 / 251 MB, free: 7.895 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.735e-05, allocations: 2.312 kB / 251 MB, free: 7.891 MB / 250.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.00769/0.007718, allocations: 7.728 MB / 258.7 MB, free: 132 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004433/0.01215, allocations: 3.628 MB / 262.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004874/0.01264, allocations: 43.81 kB / 262.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.01426, allocations: 1.14 MB / 263.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.01588, allocations: 1.419 MB / 265 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007096/0.01659, allocations: 0.5807 MB / 265.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.01867, allocations: 3.089 MB / 268.6 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.02028, allocations: 1.548 MB / 270.2 MB, free: 4.621 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.02158, allocations: 1.513 MB / 271.7 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.02277, allocations: 1.36 MB / 273.1 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.02297, allocations: 180 kB / 273.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009354/0.02391, allocations: 0.8696 MB / 274.1 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1396/0.1635, allocations: 1.037 MB / 275.1 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.1651, allocations: 0.6016 MB / 275.7 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004352/0.1695, allocations: 2.763 MB / 278.5 MB, free: 6.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.557e-05/0.1695, allocations: 0 / 278.5 MB, free: 6.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1695, allocations: 1.188 kB / 278.5 MB, free: 6.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001832/0.1697, allocations: 0.5312 kB / 278.5 MB, free: 6.227 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: 996 * Number of variables: 996 Notification: Performance of Generate backend data structure: time 0.007866/0.1776, allocations: 3.515 MB / 282 MB, free: 4.836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1776, allocations: 10.75 kB / 282 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/0.1803, allocations: 0.8203 MB / 282.8 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.1822, allocations: 1.129 MB / 284 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.303e-05/0.1823, allocations: 136.2 kB / 284.1 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.1825, allocations: 180.5 kB / 284.3 MB, free: 4.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004911/0.1875, allocations: 3.316 MB / 287.6 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-05/0.1875, allocations: 36.56 kB / 287.6 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/0.1877, allocations: 87.45 kB / 287.7 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001265/0.189, allocations: 1.239 MB / 289 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003479/0.1925, allocations: 1.665 MB / 290.6 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01991/0.2124, allocations: 21.74 MB / 312.4 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.2141, allocations: 0.7549 MB / 313.1 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.2144, allocations: 170.2 kB / 313.3 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003262/0.2176, allocations: 2.034 MB / 315.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.2177, allocations: 38.8 kB / 315.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=81): time 3.436e-06/0.2177, allocations: 0 / 315.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=84): time 0.005312/0.223, allocations: 1.946 MB / 317.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.223, allocations: 136.5 kB / 317.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/0.2258, allocations: 2.35 MB / 319.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.2258, allocations: 33.7 kB / 319.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001358/0.2272, allocations: 2.242 MB / 322.1 MB, free: 9.109 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/0.2275, allocations: 380.4 kB / 322.4 MB, free: 8.758 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008714/0.2283, allocations: 0.8464 MB / 323.3 MB, free: 7.996 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2285, allocations: 358.7 kB / 323.6 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.2296, allocations: 0.5256 MB / 324.2 MB, free: 7.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002568/0.2321, allocations: 3.385 MB / 327.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/0.236, allocations: 4.276 MB / 331.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.98e-05/0.236, allocations: 28 kB / 331.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.004666/0.2407, allocations: 2.991 MB / 334.8 MB, free: 9.934 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.422e-05/0.2408, allocations: 55.94 kB / 334.9 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/0.2409, allocations: 106.6 kB / 335 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001097/0.241, allocations: 136 kB / 335.1 MB, free: 9.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/0.2436, allocations: 1.129 MB / 336.3 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001536/0.2438, allocations: 211.2 kB / 336.5 MB, free: 8.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/0.2462, allocations: 207.9 kB / 336.7 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.2464, allocations: 253.4 kB / 336.9 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001983/0.2484, allocations: 0.6732 MB / 337.6 MB, free: 7.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002475/0.2509, allocations: 3.385 MB / 341 MB, free: 2.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003954/0.2549, allocations: 4.264 MB / 345.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.322e-05/0.2549, allocations: 28 kB / 345.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=575) (initialization_lambda0): time 0.004604/0.2595, allocations: 2.992 MB / 348.3 MB, free: 9.773 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/0.2596, allocations: 52.84 kB / 348.3 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.976e-05/0.2597, allocations: 111.9 kB / 348.4 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001057/0.2598, allocations: 136 kB / 348.6 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/0.2623, allocations: 1.134 MB / 349.7 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001306/0.2624, allocations: 203.2 kB / 349.9 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.2648, allocations: 211.7 kB / 350.1 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002891/0.265, allocations: 244 kB / 350.3 MB, free: 7.703 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.0008232/0.2659, allocations: 0.5466 MB / 350.9 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003589/0.2662, allocations: 143.1 kB / 351 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006237/0.2668, allocations: 354.2 kB / 351.4 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.2669, allocations: 12 kB / 351.4 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2669, allocations: 0 / 351.4 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.2669, allocations: 7.469 kB / 351.4 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/0.2708, allocations: 2.042 MB / 353.4 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2708, allocations: 0 / 353.4 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.2713, allocations: 135.9 kB / 353.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004344/0.2718, allocations: 267.9 kB / 353.8 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/0.2718, allocations: 4 kB / 353.8 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.2718, allocations: 16.75 kB / 353.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.2718, allocations: 7.938 kB / 353.8 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2718, allocations: 4.219 kB / 353.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.2728, allocations: 1.066 MB / 354.9 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.273, allocations: 19.94 kB / 354.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.2735, allocations: 30.48 kB / 355 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.2736, allocations: 43.86 kB / 355 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/0.2737, allocations: 20 kB / 355 MB, free: 3.277 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001148/0.2748, allocations: 0.9533 MB / 356 MB, free: 2.414 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2748, allocations: 0 / 356 MB, free: 2.414 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.005474/0.2803, allocations: 1.182 MB / 357.2 MB, free: 1.234 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.0003853/0.2807, allocations: 138.9 kB / 357.3 MB, free: 1.094 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004746/0.2854, allocations: 3.11 MB / 360.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000146/0.2856, allocations: 72.81 kB / 360.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.2858, allocations: 180.7 kB / 360.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.2876, allocations: 0.5284 MB / 361.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009238/0.2969, allocations: 4.65 MB / 365.8 MB, free: 8.625 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007931/0.2977, allocations: 0.766 MB / 366.6 MB, free: 7.832 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00132/0.299, allocations: 445.4 kB / 367 MB, free: 7.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007016/0.2997, allocations: 374.8 kB / 367.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of SimCode: time 1.704e-06/0.2997, allocations: 0 / 367.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of Templates: time 0.03347/0.3332, allocations: 18.89 MB / 386.3 MB, free: 4.457 MB / 362.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.3601722177118063]