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.001185/0.001185, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001432/0.001432, allocations: 193.8 kB / 16.13 MB, free: 6.66 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1306/0.1306, allocations: 5.201 MB / 295.2 MB, free: 3.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 59.91 kB / 356.5 MB, free: 2.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1074, allocations: 50.56 MB / 407.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01695/0.1244, allocations: 14.88 MB / 422 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2417/0.3661, allocations: 4.712 MB / 426.7 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003011/0.3692, allocations: 61.36 kB / 426.7 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002346/0.3715, allocations: 1.069 MB / 427.8 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003217/0.3748, allocations: 1.28 MB / 429.1 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.3761, allocations: 0.4913 MB / 429.6 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003696/0.3798, allocations: 3.677 MB / 433.2 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002035/0.3818, allocations: 1.582 MB / 434.8 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.3832, allocations: 0.7699 MB / 435.6 MB, free: 33.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.3848, allocations: 1.333 MB / 436.9 MB, free: 33.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003043/0.3851, allocations: 116 kB / 437 MB, free: 33.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.3867, allocations: 0.927 MB / 438 MB, free: 33.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008194/0.3876, allocations: 1.069 MB / 439 MB, free: 32.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.3886, allocations: 1.303 MB / 440.3 MB, free: 31.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003662/0.3922, allocations: 4.174 MB / 444.5 MB, free: 30.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3923, allocations: 0 / 444.5 MB, free: 30.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.3923, allocations: 0 / 444.5 MB, free: 30.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.147e-05/0.3924, allocations: 2.938 kB / 444.5 MB, free: 30.54 MB / 350.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.005964/0.3983, allocations: 3.142 MB / 447.7 MB, free: 28.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3984, allocations: 9.719 kB / 447.7 MB, free: 28.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005193/0.4036, allocations: 1.673 MB / 449.3 MB, free: 28.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.406, allocations: 1.451 MB / 450.8 MB, free: 27.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.205e-05/0.4061, allocations: 140.8 kB / 450.9 MB, free: 27.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000328/0.4064, allocations: 181.8 kB / 451.1 MB, free: 27.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008299/0.4147, allocations: 6.707 MB / 457.8 MB, free: 24.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-05/0.4148, allocations: 38.97 kB / 457.9 MB, free: 24.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/0.4151, allocations: 90.83 kB / 457.9 MB, free: 24.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002416/0.4175, allocations: 1.453 MB / 459.4 MB, free: 24.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/0.4318, allocations: 5.967 MB / 465.4 MB, free: 22.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0317/0.4635, allocations: 27.49 MB / 492.9 MB, free: 17.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004376/0.468, allocations: 2.39 MB / 495.2 MB, free: 16.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.4691, allocations: 1.06 MB / 496.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.407e-05/0.4692, allocations: 21 kB / 496.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.4692, allocations: 42.55 kB / 496.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.196e-06/0.4693, allocations: 4 kB / 496.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.01703/0.4863, allocations: 7.851 MB / 0.4924 GB, free: 7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/0.4864, allocations: 137 kB / 0.4925 GB, free: 6.836 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003689/0.4901, allocations: 2.911 MB / 0.4954 GB, free: 3.914 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.4903, allocations: 37.7 kB / 0.4954 GB, free: 3.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.4916, allocations: 2.177 MB / 0.4975 GB, free: 1.699 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/0.4921, allocations: 453 kB / 0.498 GB, free: 1.262 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/0.4931, allocations: 0.8926 MB / 0.4988 GB, free: 364 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.4932, allocations: 305.1 kB / 0.4991 GB, free: 56 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/0.4953, allocations: 1.457 MB / 0.5006 GB, free: 14.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004072/0.4994, allocations: 4.307 MB / 0.5048 GB, free: 8.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01346/0.5129, allocations: 8.079 MB / 0.5126 GB, free: 15.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.168e-05/0.513, allocations: 32 kB / 0.5127 GB, free: 15.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.009137/0.5222, allocations: 5.568 MB / 0.5181 GB, free: 9.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.341e-05/0.5223, allocations: 52.22 kB / 0.5182 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.174e-05/0.5224, allocations: 100 kB / 0.5183 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001323/0.5225, allocations: 136 kB / 0.5184 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003788/0.5263, allocations: 1.228 MB / 0.5196 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001465/0.5265, allocations: 195.2 kB / 0.5198 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/0.5293, allocations: 247.6 kB / 0.52 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003799/0.5297, allocations: 282.6 kB / 0.5203 GB, free: 7.52 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.002087/0.5318, allocations: 1.458 MB / 0.5217 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004255/0.5322, allocations: 248.8 kB / 0.5219 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.5344, allocations: 1.269 MB / 0.5232 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/0.5344, allocations: 16 kB / 0.5232 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/0.5344, allocations: 4 kB / 0.5232 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.5344, allocations: 7.969 kB / 0.5232 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006706/0.5411, allocations: 4.241 MB / 0.5274 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5412, allocations: 0 / 0.5274 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.543, allocations: 375.4 kB / 0.5277 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.543, allocations: 4 kB / 0.5277 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.791e-05/0.5431, allocations: 19.94 kB / 0.5277 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.5431, allocations: 7.938 kB / 0.5277 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5431, allocations: 3.984 kB / 0.5277 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/0.5472, allocations: 3.171 MB / 0.5308 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000594/0.5478, allocations: 297.9 kB / 0.5311 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.548, allocations: 16 kB / 0.5311 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008635/0.5489, allocations: 55.92 kB / 0.5312 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.5491, allocations: 60.3 kB / 0.5313 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-05/0.5492, allocations: 28 kB / 0.5313 GB, free: 12.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003085/0.5523, allocations: 1.815 MB / 0.5331 GB, free: 10.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5523, allocations: 0 / 0.5331 GB, free: 10.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00412/0.5564, allocations: 0.6357 MB / 0.5337 GB, free: 9.715 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.0003458/0.5568, allocations: 139 kB / 0.5338 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005086/0.5619, allocations: 3.314 MB / 0.537 GB, free: 6.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.5619, allocations: 1.5 kB / 0.537 GB, free: 6.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.563, allocations: 0.8107 MB / 0.5378 GB, free: 5.461 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.565, allocations: 271.7 kB / 0.5381 GB, free: 5.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009976/0.575, allocations: 7.015 MB / 0.5449 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0021/0.5772, allocations: 2.296 MB / 0.5472 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003335/0.5805, allocations: 1.455 MB / 0.5486 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/0.581, allocations: 171.4 kB / 0.5488 GB, free: 10.2 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.581, allocations: 0 / 0.5488 GB, free: 10.2 MB / 430.1 MB Notification: Performance of Templates: time 0.03723/0.6183, allocations: 20.47 MB / 0.5688 GB, free: 5.848 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)