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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) 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=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") translateModel(DeltaRobot.Tests.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 108.6 kB / 16.42 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 187.9 kB / 17.35 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02596/0.02596, allocations: 5.227 MB / 296.4 MB, free: 9.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.89 kB / 409.7 MB, free: 26.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0753/0.07658, allocations: 50.58 MB / 460.3 MB, free: 7.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.008754/0.08537, allocations: 7.912 MB / 468.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006045/0.09145, allocations: 3.485 MB / 471.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009516/0.09243, allocations: 39.88 kB / 471.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002312/0.09475, allocations: 1.097 MB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.09792, allocations: 1.397 MB / 474.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.09911, allocations: 0.5302 MB / 474.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003449/0.1026, allocations: 2.733 MB / 477.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.1047, allocations: 1.626 MB / 479.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.106, allocations: 0.8913 MB / 480 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.1079, allocations: 1.238 MB / 481.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004745/0.1084, allocations: 172 kB / 481.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.1101, allocations: 0.9243 MB / 482.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.1113, allocations: 1.091 MB / 483.5 MB, free: 368 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.1129, allocations: 1.339 MB / 484.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00465/0.1176, allocations: 4.411 MB / 489.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1176, allocations: 0 / 489.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1176, allocations: 0 / 489.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.725e-05/0.1177, allocations: 4 kB / 489.2 MB, free: 10.58 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.004877/0.1226, allocations: 3.225 MB / 492.4 MB, free: 7.289 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1226, allocations: 8.031 kB / 492.4 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005647/0.1283, allocations: 1.684 MB / 494.1 MB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.1306, allocations: 1.477 MB / 495.6 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.1307, allocations: 139.7 kB / 495.7 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003345/0.1311, allocations: 180 kB / 495.9 MB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00863/0.1397, allocations: 6.722 MB / 0.4909 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-05/0.1398, allocations: 27.75 kB / 0.4909 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.1401, allocations: 87.89 kB / 0.491 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002319/0.1424, allocations: 1.46 MB / 0.4924 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009781/0.1522, allocations: 5.974 MB / 0.4982 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1982/0.3504, allocations: 27.42 MB / 0.525 GB, free: 27.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004354/0.3548, allocations: 2.388 MB / 0.5273 GB, free: 26.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.3562, allocations: 1.064 MB / 0.5284 GB, free: 26.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.64e-05/0.3563, allocations: 22.36 kB / 0.5284 GB, free: 26.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.3563, allocations: 46.53 kB / 0.5284 GB, free: 26.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 4.569e-06/0.3563, allocations: 3.609 kB / 0.5285 GB, free: 26.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.0154/0.3717, allocations: 7.984 MB / 0.5362 GB, free: 22.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.3718, allocations: 139.9 kB / 0.5364 GB, free: 22.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/0.3747, allocations: 2.924 MB / 0.5392 GB, free: 20.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.747e-05/0.3748, allocations: 45.39 kB / 0.5393 GB, free: 20.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008561/0.3756, allocations: 2.266 MB / 0.5415 GB, free: 18.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.3759, allocations: 465.4 kB / 0.5419 GB, free: 18.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008241/0.3768, allocations: 0.9047 MB / 0.5428 GB, free: 18.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.768e-05/0.3768, allocations: 309 kB / 0.5431 GB, free: 17.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.3785, allocations: 1.451 MB / 0.5445 GB, free: 16.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/0.381, allocations: 4.312 MB / 0.5487 GB, free: 10.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/0.3918, allocations: 8.074 MB / 0.5566 GB, free: 1.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-05/0.3918, allocations: 28 kB / 0.5567 GB, free: 1.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.007883/0.3997, allocations: 5.571 MB / 0.5621 GB, free: 11.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/0.3998, allocations: 48.22 kB / 0.5621 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.86e-05/0.3999, allocations: 104 kB / 0.5622 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001162/0.4, allocations: 135.9 kB / 0.5624 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003925/0.404, allocations: 1.236 MB / 0.5636 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001524/0.4041, allocations: 200.5 kB / 0.5638 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/0.4067, allocations: 251.5 kB / 0.564 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003249/0.4071, allocations: 285.9 kB / 0.5643 GB, free: 9.516 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.001853/0.4089, allocations: 1.447 MB / 0.5657 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/0.4093, allocations: 254.3 kB / 0.5659 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.4114, allocations: 1.273 MB / 0.5672 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.4114, allocations: 7.969 kB / 0.5672 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4114, allocations: 0 / 0.5672 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/0.4118, allocations: 315.1 kB / 0.5675 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.4121, allocations: 23.88 kB / 0.5675 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008785/0.4129, allocations: 59.92 kB / 0.5676 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.4131, allocations: 48.36 kB / 0.5676 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003793/0.4169, allocations: 2.134 MB / 0.5697 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004006/0.4209, allocations: 3.274 MB / 0.5729 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001022/0.422, allocations: 0.7661 MB / 0.5736 GB, free: 15.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002515/0.4245, allocations: 1.815 MB / 0.5754 GB, free: 14.07 MB / 414.1 MB Notification: Performance of Backend: time 3.4e-07/0.4245, allocations: 4 kB / 0.5754 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005342/0.4299, allocations: 2.846 MB / 0.5782 GB, free: 11.25 MB / 414.1 MB Notification: Performance of SimCode: time 0.008332/0.4382, allocations: 6.078 MB / 0.5841 GB, free: 5.137 MB / 414.1 MB Notification: Performance of Templates: time 0.05047/0.4887, allocations: 29.31 MB / 0.6128 GB, free: 7.957 MB / 446.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.makefile (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)