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.001274/0.001274, allocations: 80.75 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.001096/0.001096, allocations: 181 kB / 23.36 MB, free: 1.133 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.904/0.904, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.01673/0.01673, allocations: 4.102 MB / 264.4 MB, free: 8.926 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 1.523e-06/1.523e-06, allocations: 3.938 kB / 282.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.715e-05, allocations: 6.312 kB / 282.1 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.1147/0.1147, allocations: 7.554 MB / 289.6 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005106/0.1198, allocations: 3.51 MB / 293.1 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006591/0.1205, allocations: 46.16 kB / 293.2 MB, free: 19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.1221, allocations: 1.161 MB / 294.3 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.1244, allocations: 1.448 MB / 295.8 MB, free: 18.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008752/0.1253, allocations: 0.5788 MB / 296.4 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002688/0.128, allocations: 3.118 MB / 299.5 MB, free: 17.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.1297, allocations: 1.764 MB / 301.3 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.1312, allocations: 1.416 MB / 302.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.1326, allocations: 1.342 MB / 304 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003391/0.1329, allocations: 173.5 kB / 304.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.1339, allocations: 0.8396 MB / 305 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005985/0.1345, allocations: 1.155 MB / 306.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005776/0.1351, allocations: 0.7257 MB / 306.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.1371, allocations: 2.967 MB / 309.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1371, allocations: 0 / 309.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1371, allocations: 0 / 309.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.944e-05/0.1371, allocations: 0 / 309.9 MB, free: 10.33 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.002328/0.1394, allocations: 2.877 MB / 312.7 MB, free: 7.414 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.1395, allocations: 8.031 kB / 312.8 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/0.1414, allocations: 0.824 MB / 313.6 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009688/0.1423, allocations: 1.096 MB / 314.7 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.1424, allocations: 131.7 kB / 314.8 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.1426, allocations: 180.3 kB / 315 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.1449, allocations: 3.285 MB / 318.3 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.546e-05/0.145, allocations: 31.7 kB / 318.3 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.1451, allocations: 95.81 kB / 318.4 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008767/0.146, allocations: 1.226 MB / 319.6 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.1484, allocations: 1.669 MB / 321.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/0.1618, allocations: 21.71 MB / 343 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.1631, allocations: 0.7769 MB / 343.8 MB, free: 6.953 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.1633, allocations: 183.3 kB / 343.9 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002111/0.1655, allocations: 2.017 MB / 346 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1655, allocations: 46.48 kB / 346 MB, free: 4.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=80): time 1.913e-06/0.1655, allocations: 4 kB / 346 MB, free: 4.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=83): time 0.003425/0.1689, allocations: 1.941 MB / 347.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.169, allocations: 140.5 kB / 348.1 MB, free: 2.512 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.1707, allocations: 2.335 MB / 350.4 MB, free: 148 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.1707, allocations: 33.7 kB / 350.5 MB, free: 108 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008393/0.1715, allocations: 2.241 MB / 352.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.1717, allocations: 365.3 kB / 353.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005783/0.1723, allocations: 0.8421 MB / 353.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.1724, allocations: 361.8 kB / 354.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/0.1731, allocations: 0.5028 MB / 354.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/0.175, allocations: 3.344 MB / 358.1 MB, free: 6.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003105/0.1781, allocations: 4.322 MB / 362.4 MB, free: 1.098 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.144e-05/0.1782, allocations: 32 kB / 362.4 MB, free: 1.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.002883/0.181, allocations: 2.966 MB / 365.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.1811, allocations: 57.5 kB / 365.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.721e-05/0.1811, allocations: 108 kB / 365.6 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.423e-05/0.1812, allocations: 136 kB / 365.7 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.1827, allocations: 1.018 MB / 366.7 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.951e-05/0.1828, allocations: 207.2 kB / 366.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.1841, allocations: 203.8 kB / 367.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.1842, allocations: 244 kB / 367.4 MB, free: 12.14 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.0007967/0.185, allocations: 0.4973 MB / 367.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.1852, allocations: 139.8 kB / 368 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.1855, allocations: 342.3 kB / 368.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.1855, allocations: 8 kB / 368.3 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1855, allocations: 4 kB / 368.3 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1856, allocations: 3.984 kB / 368.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.1876, allocations: 2.03 MB / 370.4 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1876, allocations: 4 kB / 370.4 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.1879, allocations: 111.9 kB / 370.5 MB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1879, allocations: 4.219 kB / 370.5 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.188, allocations: 16 kB / 370.5 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.188, allocations: 15.92 kB / 370.5 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.188, allocations: 0 / 370.5 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007157/0.1887, allocations: 1.063 MB / 371.6 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.1889, allocations: 210.3 kB / 371.8 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.189, allocations: 8 kB / 371.8 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.1893, allocations: 16 kB / 371.8 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.1894, allocations: 51.8 kB / 371.9 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.1894, allocations: 20 kB / 371.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007036/0.1901, allocations: 0.9535 MB / 372.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1901, allocations: 0 / 372.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001638/0.1918, allocations: 0.6249 MB / 373.5 MB, free: 5.902 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.000214/0.192, allocations: 132.1 kB / 373.6 MB, free: 5.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.1935, allocations: 1.611 MB / 375.2 MB, free: 4.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.498e-05/0.1936, allocations: 63.88 kB / 375.3 MB, free: 4.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.1938, allocations: 175.8 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.0008947/0.1947, allocations: 376.5 kB / 375.8 MB, free: 3.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.1988, allocations: 4.499 MB / 380.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.1994, allocations: 0.7482 MB / 381.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006697/0.2, allocations: 341.6 kB / 381.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/0.2004, allocations: 369.2 kB / 381.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2004, allocations: 0 / 381.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of Templates: time 0.02447/0.2249, allocations: 16.24 MB / 398 MB, free: 13.54 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 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1052379119209945]