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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 103.2 kB / 16.4 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 195.7 kB / 19.35 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 245 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] 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.02895/0.02895, allocations: 5.23 MB / 302.4 MB, free: 7.516 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001961/0.001961, allocations: 68.08 kB / 417.8 MB, free: 25.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.103, allocations: 50.57 MB / 468.3 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.009989/0.113, allocations: 7.905 MB / 476.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007093/0.1201, allocations: 3.481 MB / 479.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.1214, allocations: 39.88 kB / 479.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.1239, allocations: 1.101 MB / 480.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003612/0.1276, allocations: 1.38 MB / 482.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.129, allocations: 0.5341 MB / 482.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004077/0.1331, allocations: 2.722 MB / 485.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.1353, allocations: 1.638 MB / 487.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.1367, allocations: 0.8718 MB / 488 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.1384, allocations: 1.25 MB / 489.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003553/0.1388, allocations: 172 kB / 489.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.1406, allocations: 0.9204 MB / 490.4 MB, free: 412 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.1418, allocations: 1.095 MB / 491.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.1431, allocations: 1.339 MB / 492.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005326/0.1485, allocations: 4.404 MB / 497.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1485, allocations: 4 kB / 497.2 MB, free: 9.531 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.1485, allocations: 0 / 497.2 MB, free: 9.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001145/0.1486, allocations: 3.938 kB / 497.2 MB, free: 9.527 MB / 366.1 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.006324/0.155, allocations: 3.221 MB / 0.4887 GB, free: 6.242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.155, allocations: 12.03 kB / 0.4887 GB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005912/0.161, allocations: 1.688 MB / 0.4903 GB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/0.164, allocations: 1.481 MB / 0.4918 GB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.1641, allocations: 135.7 kB / 0.4919 GB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003712/0.1645, allocations: 176 kB / 0.4921 GB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.1758, allocations: 6.722 MB / 0.4987 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.243e-05/0.1759, allocations: 27.75 kB / 0.4987 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002606/0.1762, allocations: 87.89 kB / 0.4988 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002676/0.1789, allocations: 1.456 MB / 0.5002 GB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.1909, allocations: 5.962 MB / 0.506 GB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2775/0.4684, allocations: 27.44 MB / 0.5328 GB, free: 27.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004338/0.4728, allocations: 2.382 MB / 0.5351 GB, free: 26.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.4741, allocations: 1.077 MB / 0.5362 GB, free: 25.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.045e-05/0.4742, allocations: 15.75 kB / 0.5362 GB, free: 25.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.4742, allocations: 42.84 kB / 0.5362 GB, free: 25.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.006e-06/0.4742, allocations: 4 kB / 0.5362 GB, free: 25.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01593/0.4902, allocations: 7.991 MB / 0.544 GB, free: 21.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.4903, allocations: 144.1 kB / 0.5442 GB, free: 21.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002989/0.4933, allocations: 2.918 MB / 0.547 GB, free: 20.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.194e-05/0.4934, allocations: 40.33 kB / 0.5471 GB, free: 20.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009443/0.4943, allocations: 2.272 MB / 0.5493 GB, free: 18.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.4946, allocations: 468.2 kB / 0.5497 GB, free: 18.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008011/0.4954, allocations: 0.9043 MB / 0.5506 GB, free: 17.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.4954, allocations: 303 kB / 0.5509 GB, free: 17.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/0.4971, allocations: 1.454 MB / 0.5523 GB, free: 15.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002544/0.4997, allocations: 4.311 MB / 0.5565 GB, free: 10.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/0.5107, allocations: 8.07 MB / 0.5644 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-05/0.5108, allocations: 32 kB / 0.5645 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01062/0.5214, allocations: 5.573 MB / 0.5699 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.563e-05/0.5215, allocations: 52.03 kB / 0.5699 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/0.5216, allocations: 102.7 kB / 0.57 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.5218, allocations: 139.9 kB / 0.5702 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004179/0.526, allocations: 1.236 MB / 0.5714 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001629/0.5262, allocations: 195.2 kB / 0.5716 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/0.5291, allocations: 243.7 kB / 0.5718 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003586/0.5294, allocations: 288 kB / 0.5721 GB, free: 8.723 MB / 398.1 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: 462 * 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 (556): * Single equations (assignments): 553 * 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.002129/0.5316, allocations: 1.444 MB / 0.5735 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004541/0.532, allocations: 254.3 kB / 0.5737 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.5342, allocations: 1.28 MB / 0.575 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/0.5342, allocations: 17.83 kB / 0.575 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.5343, allocations: 6.531 kB / 0.575 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.5343, allocations: 3.984 kB / 0.575 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006846/0.5411, allocations: 4.23 MB / 0.5791 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.5412, allocations: 0 / 0.5791 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/0.5431, allocations: 368.2 kB / 0.5795 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/0.5431, allocations: 7.938 kB / 0.5795 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/0.5432, allocations: 23.98 kB / 0.5795 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.5432, allocations: 7.938 kB / 0.5795 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5432, allocations: 0 / 0.5795 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004358/0.5476, allocations: 3.184 MB / 0.5826 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007649/0.5484, allocations: 311.3 kB / 0.5829 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/0.5486, allocations: 22.06 kB / 0.583 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008703/0.5495, allocations: 67.84 kB / 0.583 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.5497, allocations: 52.38 kB / 0.5831 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.716e-05/0.5498, allocations: 24 kB / 0.5831 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002617/0.5524, allocations: 1.815 MB / 0.5849 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5524, allocations: 3.938 kB / 0.5849 GB, free: 11.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002995/0.5554, allocations: 0.6405 MB / 0.5855 GB, free: 10.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (87): * Single equations (assignments): 84 * 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.0003033/0.5557, allocations: 151.8 kB / 0.5856 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005168/0.5609, allocations: 3.312 MB / 0.5889 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.5609, allocations: 8.125 kB / 0.5889 GB, free: 7.445 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.5621, allocations: 0.8163 MB / 0.5897 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.5638, allocations: 289.8 kB / 0.59 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009327/0.5731, allocations: 5.801 MB / 0.5956 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/0.5755, allocations: 2.291 MB / 0.5979 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003234/0.5787, allocations: 1.455 MB / 0.5993 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/0.5792, allocations: 167.4 kB / 0.5994 GB, free: 12.57 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5793, allocations: 0 / 0.5994 GB, free: 12.57 MB / 430.1 MB Notification: Performance of Templates: time 0.04107/0.6203, allocations: 19 MB / 0.618 GB, free: 9.711 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.896946957334876]