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.0007739/0.0007741, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005068/0.005068, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.24/1.24, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1362/0.1362, allocations: 5.201 MB / 296.6 MB, free: 4.074 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003093, allocations: 8 kB / 359 MB, free: 1.438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09589/0.09622, allocations: 51.56 MB / 410.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.1805/0.2768, allocations: 14.27 MB / 424.8 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007901/0.2847, allocations: 4.66 MB / 429.4 MB, free: 33.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.2868, allocations: 60.69 kB / 429.5 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.2879, allocations: 346.1 kB / 429.8 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.2908, allocations: 1.287 MB / 431.1 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009631/0.2917, allocations: 494.5 kB / 431.6 MB, free: 33.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002944/0.2947, allocations: 3.688 MB / 435.3 MB, free: 33.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/0.2968, allocations: 2.1 MB / 437.4 MB, free: 32.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007697/0.2976, allocations: 0.6975 MB / 438.1 MB, free: 32.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.2987, allocations: 1.246 MB / 439.3 MB, free: 32.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.2989, allocations: 87.31 kB / 439.4 MB, free: 32.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.3001, allocations: 0.8917 MB / 440.3 MB, free: 32.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005833/0.3007, allocations: 1.036 MB / 441.3 MB, free: 32.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000691/0.3014, allocations: 1.274 MB / 442.6 MB, free: 31.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002638/0.3041, allocations: 4.081 MB / 446.7 MB, free: 30.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3041, allocations: 3.312 kB / 446.7 MB, free: 30.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3041, allocations: 4 kB / 446.7 MB, free: 30.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.677e-05/0.3041, allocations: 0 / 446.7 MB, free: 30.21 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.003693/0.3078, allocations: 2.611 MB / 449.3 MB, free: 28.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3079, allocations: 9.562 kB / 449.3 MB, free: 28.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005262/0.3131, allocations: 1.723 MB / 451.1 MB, free: 28.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.3152, allocations: 1.453 MB / 452.5 MB, free: 27.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.275e-05/0.3152, allocations: 135.6 kB / 452.6 MB, free: 27.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003041/0.3156, allocations: 180.7 kB / 452.8 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007237/0.3228, allocations: 6.724 MB / 459.5 MB, free: 24.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.259e-05/0.3229, allocations: 33.84 kB / 459.6 MB, free: 24.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/0.3231, allocations: 86.86 kB / 459.7 MB, free: 24.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002283/0.3254, allocations: 1.456 MB / 461.1 MB, free: 24.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/0.3362, allocations: 5.991 MB / 467.1 MB, free: 22.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02971/0.3659, allocations: 27.48 MB / 494.6 MB, free: 17.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004718/0.3707, allocations: 2.392 MB / 497 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.372, allocations: 1.066 MB / 498 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.285e-05/0.3721, allocations: 14.81 kB / 498.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.3721, allocations: 46.56 kB / 498.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.607e-06/0.3721, allocations: 0 / 498.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.01723/0.3894, allocations: 7.865 MB / 0.4941 GB, free: 6.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.3895, allocations: 141 kB / 0.4942 GB, free: 6.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004473/0.3939, allocations: 2.914 MB / 0.4971 GB, free: 3.734 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.3941, allocations: 37.7 kB / 0.4971 GB, free: 3.691 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.3957, allocations: 2.179 MB / 0.4993 GB, free: 1.516 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004839/0.3962, allocations: 444.5 kB / 0.4997 GB, free: 1.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005483/0.3967, allocations: 383.5 kB / 0.5 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.3968, allocations: 305.1 kB / 0.5003 GB, free: 412 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.3991, allocations: 1.463 MB / 0.5018 GB, free: 14.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003735/0.4028, allocations: 4.307 MB / 0.506 GB, free: 9.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/0.4166, allocations: 8.094 MB / 0.5139 GB, free: 15.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.53e-05/0.4167, allocations: 32 kB / 0.5139 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.009533/0.4263, allocations: 5.575 MB / 0.5193 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.4264, allocations: 48 kB / 0.5194 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/0.4265, allocations: 104 kB / 0.5195 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.4267, allocations: 132 kB / 0.5196 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004194/0.4309, allocations: 1.24 MB / 0.5208 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001643/0.4311, allocations: 199.5 kB / 0.521 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003048/0.4341, allocations: 243.6 kB / 0.5213 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005951/0.4347, allocations: 283 kB / 0.5215 GB, free: 7.832 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.002589/0.4373, allocations: 1.468 MB / 0.523 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005253/0.4379, allocations: 236.9 kB / 0.5232 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.4402, allocations: 1.292 MB / 0.5244 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/0.4403, allocations: 12 kB / 0.5245 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.4403, allocations: 4 kB / 0.5245 GB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.4403, allocations: 3.984 kB / 0.5245 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007474/0.4478, allocations: 4.253 MB / 0.5286 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.4478, allocations: 3.984 kB / 0.5286 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/0.4497, allocations: 363.4 kB / 0.529 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/0.4497, allocations: 11.92 kB / 0.529 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-05/0.4498, allocations: 20 kB / 0.529 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.4498, allocations: 4 kB / 0.529 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4498, allocations: 4 kB / 0.529 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004099/0.4539, allocations: 3.188 MB / 0.5321 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007931/0.4548, allocations: 309.8 kB / 0.5324 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005402/0.4553, allocations: 19.2 kB / 0.5324 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.4566, allocations: 59.92 kB / 0.5325 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.4568, allocations: 60.3 kB / 0.5325 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.92e-05/0.4569, allocations: 28 kB / 0.5326 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003171/0.46, allocations: 1.815 MB / 0.5343 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.46, allocations: 0 / 0.5343 GB, free: 10.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003261/0.4633, allocations: 0.6328 MB / 0.535 GB, free: 9.969 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.0003606/0.4637, allocations: 150.1 kB / 0.5351 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005028/0.4687, allocations: 3.316 MB / 0.5383 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.4687, allocations: 384 / 0.5383 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.4698, allocations: 0.8195 MB / 0.5391 GB, free: 5.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.4722, allocations: 274.2 kB / 0.5394 GB, free: 5.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.4822, allocations: 7.088 MB / 0.5463 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002646/0.4849, allocations: 2.292 MB / 0.5486 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003572/0.4885, allocations: 1.457 MB / 0.55 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006861/0.4892, allocations: 175.4 kB / 0.5502 GB, free: 10.36 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4892, allocations: 0 / 0.5502 GB, free: 10.36 MB / 430.1 MB Notification: Performance of Templates: time 0.03666/0.5259, allocations: 20.26 MB / 0.5699 GB, free: 6.223 MB / 446.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: