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.0007233/0.0007233, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009963/0.00172, allocations: 440 kB / 10.41 MB, free: 284 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.0007118/0.0007118, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009647/0.001677, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9869/0.9869, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/1.09, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.01726/0.01726, allocations: 4.079 MB / 248.2 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004012/0.02128, allocations: 1.617 MB / 249.8 MB, free: 9.133 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.364e-06/2.364e-06, allocations: 0 / 251.2 MB, free: 7.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.981e-05, allocations: 10.31 kB / 251.2 MB, free: 7.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01147/0.0115, allocations: 7.674 MB / 258.9 MB, free: 52 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00909/0.02059, allocations: 3.55 MB / 262.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001758/0.02235, allocations: 43.81 kB / 262.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003047/0.0254, allocations: 1.128 MB / 263.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004308/0.0297, allocations: 1.412 MB / 265 MB, free: 9.891 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.03085, allocations: 0.53 MB / 265.5 MB, free: 9.359 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003092/0.03394, allocations: 3.034 MB / 268.6 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.03552, allocations: 1.505 MB / 270.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.03715, allocations: 1.49 MB / 271.6 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.0386, allocations: 1.333 MB / 272.9 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.03887, allocations: 172 kB / 273.1 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.04006, allocations: 0.8697 MB / 273.9 MB, free: 0.918 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1336/0.1736, allocations: 1.031 MB / 275 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.175, allocations: 0.5941 MB / 275.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003123/0.1781, allocations: 2.738 MB / 278.3 MB, free: 6.172 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.1781, allocations: 0 / 278.3 MB, free: 6.172 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1781, allocations: 0 / 278.3 MB, free: 6.172 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.552e-05/0.1782, allocations: 1.406 kB / 278.3 MB, free: 6.172 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.004762/0.183, allocations: 3.482 MB / 281.8 MB, free: 4.793 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.183, allocations: 9.656 kB / 281.8 MB, free: 4.793 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.1854, allocations: 0.819 MB / 282.6 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.1868, allocations: 1.105 MB / 283.7 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/0.1868, allocations: 137.4 kB / 283.9 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.1871, allocations: 172.4 kB / 284 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003457/0.1905, allocations: 3.268 MB / 287.3 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.923e-05/0.1906, allocations: 39.39 kB / 287.3 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.1908, allocations: 89.56 kB / 287.4 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009636/0.1917, allocations: 1.15 MB / 288.6 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/0.1943, allocations: 1.663 MB / 290.2 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/0.207, allocations: 21.71 MB / 312 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.2085, allocations: 0.7507 MB / 312.7 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.2088, allocations: 169.9 kB / 312.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0028/0.2116, allocations: 2.014 MB / 314.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.2116, allocations: 48.52 kB / 314.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=80): time 2.174e-06/0.2116, allocations: 4 kB / 314.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=83): time 0.004591/0.2162, allocations: 1.945 MB / 316.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.2162, allocations: 140.1 kB / 317 MB, free: 13.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.2184, allocations: 2.34 MB / 319.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.2184, allocations: 33.7 kB / 319.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.2196, allocations: 2.234 MB / 321.6 MB, free: 9.559 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.2198, allocations: 374.8 kB / 322 MB, free: 9.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000795/0.2206, allocations: 0.8431 MB / 322.8 MB, free: 8.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2207, allocations: 362.8 kB / 323.2 MB, free: 8.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008954/0.2216, allocations: 0.5028 MB / 323.7 MB, free: 7.605 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.2242, allocations: 3.344 MB / 327 MB, free: 2.941 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004018/0.2282, allocations: 4.653 MB / 331.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.026e-05/0.2282, allocations: 28 kB / 331.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.004077/0.2323, allocations: 2.968 MB / 334.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.2324, allocations: 56.91 kB / 334.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/0.2325, allocations: 112 kB / 334.8 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000111/0.2326, allocations: 140 kB / 335 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/0.235, allocations: 1.127 MB / 336.1 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001551/0.2352, allocations: 207.2 kB / 336.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.237, allocations: 201.4 kB / 336.5 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002843/0.2373, allocations: 248 kB / 336.7 MB, free: 8.035 MB / 314.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.0009347/0.2383, allocations: 0.4913 MB / 337.2 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.2385, allocations: 127.8 kB / 337.4 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.239, allocations: 347.5 kB / 337.7 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.239, allocations: 11.98 kB / 337.7 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.239, allocations: 0 / 337.7 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.239, allocations: 0 / 337.7 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.2418, allocations: 2.028 MB / 339.7 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.2418, allocations: 9.25 kB / 339.8 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.2423, allocations: 135.8 kB / 339.9 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005169/0.2428, allocations: 211.7 kB / 340.1 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.2428, allocations: 4 kB / 340.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.2428, allocations: 17.53 kB / 340.1 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.2428, allocations: 16.89 kB / 340.1 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.2428, allocations: 4 kB / 340.1 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009691/0.2438, allocations: 1.067 MB / 341.2 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.244, allocations: 17.86 kB / 341.2 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.2445, allocations: 16 kB / 341.2 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.2446, allocations: 47.8 kB / 341.3 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.2447, allocations: 20 kB / 341.3 MB, free: 3.746 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001079/0.2457, allocations: 0.949 MB / 342.3 MB, free: 2.883 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2457, allocations: 4 kB / 342.3 MB, free: 2.879 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002656/0.2484, allocations: 0.6224 MB / 342.9 MB, free: 2.258 MB / 314.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.0003068/0.2487, allocations: 140.8 kB / 343 MB, free: 2.117 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.2507, allocations: 1.699 MB / 344.7 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001349/0.2508, allocations: 59.94 kB / 344.8 MB, free: 0.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.2511, allocations: 211.1 kB / 345 MB, free: 308 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.2531, allocations: 1.876 MB / 346.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00958/0.2627, allocations: 4.566 MB / 351.4 MB, free: 9.586 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007957/0.2635, allocations: 0.749 MB / 352.2 MB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009241/0.2644, allocations: 343.3 kB / 352.5 MB, free: 8.473 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/0.265, allocations: 361.3 kB / 352.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.265, allocations: 0 / 352.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of Templates: time 0.02611/0.2911, allocations: 15.08 MB / 367.9 MB, free: 9.176 MB / 346.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: 2.9599212678149343]