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.001177/0.001178, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001109/0.00111, allocations: 191 kB / 17.29 MB, free: 5.516 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02501/0.02501, allocations: 5.224 MB / 296.4 MB, free: 9.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 55.91 kB / 358.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2018, allocations: 50.56 MB / 409.2 MB, free: 30.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.007333/0.2091, allocations: 7.927 MB / 417.1 MB, free: 22.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005098/0.2143, allocations: 3.475 MB / 420.6 MB, free: 18.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007513/0.2151, allocations: 39.88 kB / 420.6 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.2169, allocations: 1.101 MB / 421.7 MB, free: 17.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.2194, allocations: 1.374 MB / 423.1 MB, free: 16.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008723/0.2203, allocations: 0.5418 MB / 423.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002286/0.2226, allocations: 2.725 MB / 426.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.2239, allocations: 1.634 MB / 428 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008173/0.2247, allocations: 0.8834 MB / 428.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.2258, allocations: 1.242 MB / 430.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002282/0.226, allocations: 172 kB / 430.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.2272, allocations: 0.9204 MB / 431.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006126/0.2278, allocations: 1.091 MB / 432.3 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007582/0.2286, allocations: 1.343 MB / 433.6 MB, free: 5.535 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.2314, allocations: 4.387 MB / 438 MB, free: 1.133 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2314, allocations: 0 / 438 MB, free: 1.133 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2314, allocations: 0 / 438 MB, free: 1.133 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.254e-05/0.2315, allocations: 0 / 438 MB, free: 1.133 MB / 302.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.004825/0.2363, allocations: 3.145 MB / 441.2 MB, free: 13.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2364, allocations: 8.031 kB / 441.2 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005538/0.2419, allocations: 1.662 MB / 442.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003269/0.2452, allocations: 1.477 MB / 444.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.2454, allocations: 135.7 kB / 444.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003498/0.2457, allocations: 183.9 kB / 444.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009537/0.2553, allocations: 6.718 MB / 451.4 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.606e-05/0.2554, allocations: 31.66 kB / 451.4 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/0.2556, allocations: 87.89 kB / 451.5 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002269/0.2579, allocations: 1.456 MB / 452.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.2684, allocations: 5.963 MB / 458.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03564/0.3041, allocations: 27.39 MB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004758/0.309, allocations: 2.387 MB / 488.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.3105, allocations: 1.068 MB / 489.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.206e-05/0.3106, allocations: 11.94 kB / 489.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.3107, allocations: 50.34 kB / 489.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.546e-06/0.3107, allocations: 0 / 489.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.02018/0.3308, allocations: 7.844 MB / 497.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.331, allocations: 141 kB / 497.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004599/0.3356, allocations: 2.914 MB / 0.489 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002802/0.3359, allocations: 41.7 kB / 0.489 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001737/0.3377, allocations: 2.172 MB / 0.4911 GB, free: 14.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000642/0.3383, allocations: 454.5 kB / 0.4915 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/0.3397, allocations: 0.8926 MB / 0.4924 GB, free: 13.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3398, allocations: 305.1 kB / 0.4927 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/0.3421, allocations: 1.461 MB / 0.4941 GB, free: 11.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004353/0.3465, allocations: 4.303 MB / 0.4983 GB, free: 5.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2125/0.559, allocations: 8.076 MB / 0.5062 GB, free: 87.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.23e-05/0.5591, allocations: 28.88 kB / 0.5063 GB, free: 87.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.008917/0.5681, allocations: 5.561 MB / 0.5117 GB, free: 85.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.285e-05/0.5682, allocations: 48.91 kB / 0.5117 GB, free: 85.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.044e-05/0.5682, allocations: 102.1 kB / 0.5118 GB, free: 85.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001027/0.5684, allocations: 137.2 kB / 0.512 GB, free: 85.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003517/0.5719, allocations: 1.231 MB / 0.5132 GB, free: 85.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.957e-05/0.572, allocations: 195.2 kB / 0.5133 GB, free: 85.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.5746, allocations: 244.3 kB / 0.5136 GB, free: 84.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002609/0.5748, allocations: 281.3 kB / 0.5139 GB, free: 84.92 MB / 382.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.001535/0.5764, allocations: 1.458 MB / 0.5153 GB, free: 84.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/0.5767, allocations: 241.7 kB / 0.5155 GB, free: 84.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.5784, allocations: 1.272 MB / 0.5167 GB, free: 83.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.5784, allocations: 12.31 kB / 0.5168 GB, free: 83.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5784, allocations: 7.375 kB / 0.5168 GB, free: 83.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.5784, allocations: 11.5 kB / 0.5168 GB, free: 83.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005277/0.5837, allocations: 4.232 MB / 0.5209 GB, free: 82.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5837, allocations: 1.875 kB / 0.5209 GB, free: 82.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.5854, allocations: 373.9 kB / 0.5213 GB, free: 81.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.5855, allocations: 4 kB / 0.5213 GB, free: 81.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.881e-05/0.5855, allocations: 20 kB / 0.5213 GB, free: 81.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.5855, allocations: 4 kB / 0.5213 GB, free: 81.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5856, allocations: 6.125 kB / 0.5213 GB, free: 81.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003014/0.5886, allocations: 3.171 MB / 0.5244 GB, free: 79.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/0.589, allocations: 303.9 kB / 0.5247 GB, free: 78.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.5893, allocations: 12 kB / 0.5247 GB, free: 78.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008591/0.5902, allocations: 62.83 kB / 0.5248 GB, free: 78.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.5903, allocations: 57.39 kB / 0.5248 GB, free: 78.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/0.5904, allocations: 29.41 kB / 0.5248 GB, free: 78.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001922/0.5923, allocations: 1.812 MB / 0.5266 GB, free: 76.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5923, allocations: 0 / 0.5266 GB, free: 76.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002861/0.5952, allocations: 0.6469 MB / 0.5272 GB, free: 76.31 MB / 382.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.0002979/0.5955, allocations: 145.1 kB / 0.5274 GB, free: 76.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00381/0.5993, allocations: 3.318 MB / 0.5306 GB, free: 72.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5993, allocations: 0 / 0.5306 GB, free: 72.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000827/0.6002, allocations: 0.8187 MB / 0.5314 GB, free: 72.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.6016, allocations: 271.4 kB / 0.5317 GB, free: 71.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006333/0.6079, allocations: 5.719 MB / 0.5373 GB, free: 66.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/0.6095, allocations: 2.291 MB / 0.5395 GB, free: 63.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002407/0.6119, allocations: 1.47 MB / 0.5409 GB, free: 62.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/0.6123, allocations: 167.4 kB / 0.5411 GB, free: 62.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6123, allocations: 0 / 0.5411 GB, free: 62.11 MB / 382.1 MB Notification: Performance of Templates: time 0.03014/0.6425, allocations: 17.53 MB / 0.5582 GB, free: 44.79 MB / 382.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 -s cvode -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1)