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.001297/0.001297, allocations: 108.3 kB / 16.37 MB, free: 5.547 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.001348/0.001348, allocations: 194.2 kB / 17.3 MB, free: 5.184 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02539/0.02539, allocations: 5.228 MB / 296.4 MB, free: 9.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.89 kB / 358.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2329, allocations: 50.55 MB / 409.2 MB, free: 29.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.006879/0.2398, allocations: 7.913 MB / 417.1 MB, free: 22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005321/0.2452, allocations: 3.483 MB / 420.6 MB, free: 18.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.2463, allocations: 43.81 kB / 420.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.2483, allocations: 1.097 MB / 421.7 MB, free: 17.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003029/0.2514, allocations: 1.378 MB / 423.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.2526, allocations: 0.5302 MB / 423.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003006/0.2556, allocations: 2.729 MB / 426.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.2572, allocations: 1.634 MB / 428 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.2584, allocations: 0.8834 MB / 428.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.2596, allocations: 1.246 MB / 430.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003127/0.26, allocations: 172 kB / 430.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.2615, allocations: 0.9204 MB / 431.2 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007364/0.2623, allocations: 1.091 MB / 432.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009032/0.2632, allocations: 1.343 MB / 433.7 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003739/0.2669, allocations: 4.387 MB / 438 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2669, allocations: 0 / 438 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.267, allocations: 0 / 438 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.173e-05/0.267, allocations: 0 / 438 MB, free: 0.9961 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.005915/0.273, allocations: 3.141 MB / 441.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.273, allocations: 8.031 kB / 441.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005705/0.2787, allocations: 1.67 MB / 442.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00355/0.2823, allocations: 1.473 MB / 444.3 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.2825, allocations: 139.6 kB / 444.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004382/0.2829, allocations: 180 kB / 444.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009783/0.2927, allocations: 6.707 MB / 451.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-05/0.2928, allocations: 35.64 kB / 451.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/0.2931, allocations: 91.89 kB / 451.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002302/0.2954, allocations: 1.46 MB / 452.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.3063, allocations: 5.959 MB / 458.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03499/0.3413, allocations: 27.39 MB / 486.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00571/0.3471, allocations: 2.383 MB / 488.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.3491, allocations: 1.066 MB / 489.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.562e-05/0.3492, allocations: 8 kB / 489.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/0.3493, allocations: 54.28 kB / 489.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 6.141e-06/0.3493, allocations: 0 / 489.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.02175/0.3711, allocations: 7.844 MB / 497.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.3712, allocations: 144.9 kB / 497.8 MB, free: 3.441 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004485/0.3757, allocations: 2.914 MB / 0.489 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.3759, allocations: 41.7 kB / 0.489 GB, free: 480 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.3774, allocations: 2.176 MB / 0.4911 GB, free: 14.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005787/0.378, allocations: 446.5 kB / 0.4916 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.3791, allocations: 0.8965 MB / 0.4924 GB, free: 12.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.092e-05/0.3792, allocations: 305.1 kB / 0.4927 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.3812, allocations: 1.461 MB / 0.4942 GB, free: 11.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003606/0.3849, allocations: 4.307 MB / 0.4984 GB, free: 5.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1864/0.5713, allocations: 8.071 MB / 0.5062 GB, free: 86.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.016e-05/0.5714, allocations: 36.69 kB / 0.5063 GB, free: 86.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.008665/0.58, allocations: 5.559 MB / 0.5117 GB, free: 84.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.354e-05/0.5801, allocations: 48.59 kB / 0.5117 GB, free: 84.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.521e-05/0.5802, allocations: 101.2 kB / 0.5118 GB, free: 84.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001062/0.5803, allocations: 134.3 kB / 0.512 GB, free: 84.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003643/0.584, allocations: 1.234 MB / 0.5132 GB, free: 84.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001097/0.5841, allocations: 198.3 kB / 0.5134 GB, free: 84.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.5868, allocations: 245.8 kB / 0.5136 GB, free: 84.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/0.5871, allocations: 280.5 kB / 0.5139 GB, free: 84.68 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.001648/0.5888, allocations: 1.45 MB / 0.5153 GB, free: 84.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003684/0.5891, allocations: 241.3 kB / 0.5155 GB, free: 84.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.5909, allocations: 1.274 MB / 0.5168 GB, free: 83.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.5909, allocations: 14.47 kB / 0.5168 GB, free: 83.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5909, allocations: 0 / 0.5168 GB, free: 83.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.5909, allocations: 8.141 kB / 0.5168 GB, free: 83.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005851/0.5968, allocations: 4.249 MB / 0.5209 GB, free: 81.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.5968, allocations: 0 / 0.5209 GB, free: 81.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/0.5985, allocations: 371.6 kB / 0.5213 GB, free: 81.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.5985, allocations: 4 kB / 0.5213 GB, free: 81.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.955e-05/0.5986, allocations: 20 kB / 0.5213 GB, free: 81.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.5986, allocations: 10.28 kB / 0.5213 GB, free: 81.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5986, allocations: 3.938 kB / 0.5213 GB, free: 81.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/0.6016, allocations: 3.161 MB / 0.5244 GB, free: 78.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/0.6021, allocations: 300.5 kB / 0.5247 GB, free: 78.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.6023, allocations: 19.38 kB / 0.5247 GB, free: 78.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/0.6031, allocations: 60.11 kB / 0.5248 GB, free: 78.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.6033, allocations: 51.88 kB / 0.5248 GB, free: 78.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.268e-05/0.6034, allocations: 35.83 kB / 0.5249 GB, free: 78.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00185/0.6052, allocations: 1.814 MB / 0.5266 GB, free: 76.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6053, allocations: 0 / 0.5266 GB, free: 76.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002686/0.6079, allocations: 0.6431 MB / 0.5273 GB, free: 76 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.0002658/0.6082, allocations: 139.8 kB / 0.5274 GB, free: 75.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003703/0.6119, allocations: 3.323 MB / 0.5306 GB, free: 72.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6119, allocations: 0 / 0.5306 GB, free: 72.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000824/0.6128, allocations: 0.8089 MB / 0.5314 GB, free: 71.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.6141, allocations: 278.3 kB / 0.5317 GB, free: 71.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006508/0.6206, allocations: 5.715 MB / 0.5373 GB, free: 65.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/0.6223, allocations: 2.295 MB / 0.5395 GB, free: 63.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002658/0.625, allocations: 1.459 MB / 0.5409 GB, free: 61.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/0.6254, allocations: 174.9 kB / 0.5411 GB, free: 61.8 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6254, allocations: 0 / 0.5411 GB, free: 61.8 MB / 382.1 MB Notification: Performance of Templates: time 0.03074/0.6562, allocations: 17.53 MB / 0.5582 GB, free: 44.49 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 gbode -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1)