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.001373/0.001373, allocations: 106.7 kB / 16.41 MB, free: 6.027 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.001089/0.001089, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02438/0.02438, allocations: 5.221 MB / 296.4 MB, free: 9.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 67.91 kB / 409.7 MB, free: 26.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09709, allocations: 50.56 MB / 460.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.009648/0.1068, allocations: 7.92 MB / 468.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007223/0.1141, allocations: 3.485 MB / 471.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.1156, allocations: 39.88 kB / 471.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002702/0.1183, allocations: 1.086 MB / 472.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003817/0.1222, allocations: 1.384 MB / 474.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.1236, allocations: 0.5341 MB / 474.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003918/0.1276, allocations: 2.721 MB / 477.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.1301, allocations: 1.638 MB / 479.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.1319, allocations: 0.8834 MB / 480 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/0.134, allocations: 1.242 MB / 481.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006635/0.1347, allocations: 176 kB / 481.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.1368, allocations: 0.9165 MB / 482.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.1381, allocations: 1.102 MB / 483.4 MB, free: 424 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002495/0.1406, allocations: 1.336 MB / 484.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006068/0.1467, allocations: 4.387 MB / 489.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1468, allocations: 3.938 kB / 489.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1468, allocations: 0 / 489.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001616/0.147, allocations: 0 / 489.2 MB, free: 10.66 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.007867/0.1548, allocations: 3.152 MB / 492.3 MB, free: 7.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1549, allocations: 8.031 kB / 492.3 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006008/0.1609, allocations: 1.666 MB / 494 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/0.1644, allocations: 1.469 MB / 495.4 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.1646, allocations: 131.7 kB / 495.6 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007733/0.1654, allocations: 183.9 kB / 495.8 MB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.1759, allocations: 6.714 MB / 0.4907 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.782e-05/0.176, allocations: 35.66 kB / 0.4907 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002663/0.1763, allocations: 91.88 kB / 0.4908 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002304/0.1786, allocations: 1.46 MB / 0.4922 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.1892, allocations: 5.962 MB / 0.4981 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2662/0.4555, allocations: 27.39 MB / 0.5248 GB, free: 27.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/0.4601, allocations: 2.384 MB / 0.5271 GB, free: 26.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.4613, allocations: 1.07 MB / 0.5282 GB, free: 25.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.838e-05/0.4614, allocations: 11.09 kB / 0.5282 GB, free: 25.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.4614, allocations: 39.16 kB / 0.5282 GB, free: 25.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.657e-06/0.4614, allocations: 4 kB / 0.5282 GB, free: 25.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01581/0.4773, allocations: 7.852 MB / 0.5359 GB, free: 22.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.4773, allocations: 144.4 kB / 0.536 GB, free: 22.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002934/0.4803, allocations: 2.912 MB / 0.5389 GB, free: 20.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.4804, allocations: 42.77 kB / 0.5389 GB, free: 20.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008122/0.4812, allocations: 2.175 MB / 0.541 GB, free: 18.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.4815, allocations: 450.9 kB / 0.5415 GB, free: 18.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007715/0.4823, allocations: 0.8904 MB / 0.5423 GB, free: 17.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.918e-05/0.4823, allocations: 305.1 kB / 0.5426 GB, free: 17.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.484, allocations: 1.454 MB / 0.5441 GB, free: 16.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/0.4864, allocations: 4.311 MB / 0.5483 GB, free: 10.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/0.4971, allocations: 8.074 MB / 0.5562 GB, free: 1.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-05/0.4972, allocations: 32 kB / 0.5562 GB, free: 1.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.008797/0.506, allocations: 5.56 MB / 0.5616 GB, free: 11.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.795e-05/0.5062, allocations: 48.44 kB / 0.5617 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/0.5063, allocations: 104 kB / 0.5618 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.5064, allocations: 139.9 kB / 0.5619 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003798/0.5102, allocations: 1.232 MB / 0.5631 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000168/0.5104, allocations: 199.2 kB / 0.5633 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/0.513, allocations: 250.2 kB / 0.5635 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/0.5134, allocations: 276 kB / 0.5638 GB, free: 9.582 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.002097/0.5155, allocations: 1.462 MB / 0.5652 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00045/0.516, allocations: 240.8 kB / 0.5654 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.518, allocations: 1.265 MB / 0.5667 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.518, allocations: 16 kB / 0.5667 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.518, allocations: 7.938 kB / 0.5667 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.518, allocations: 3.984 kB / 0.5667 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006962/0.525, allocations: 4.236 MB / 0.5708 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.525, allocations: 4.031 kB / 0.5708 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/0.5268, allocations: 370.2 kB / 0.5712 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.5268, allocations: 4 kB / 0.5712 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-05/0.5269, allocations: 20 kB / 0.5712 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/0.5269, allocations: 7.938 kB / 0.5712 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5269, allocations: 0 / 0.5712 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003917/0.5308, allocations: 3.168 MB / 0.5743 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005991/0.5315, allocations: 297.9 kB / 0.5746 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.5317, allocations: 16 kB / 0.5746 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008467/0.5325, allocations: 67.86 kB / 0.5747 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.5327, allocations: 52.36 kB / 0.5747 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.563e-05/0.5328, allocations: 28 kB / 0.5748 GB, free: 14.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002444/0.5352, allocations: 1.819 MB / 0.5765 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5352, allocations: 0 / 0.5765 GB, free: 12.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003198/0.5384, allocations: 0.634 MB / 0.5772 GB, free: 11.8 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.0003293/0.5388, allocations: 160.4 kB / 0.5773 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004848/0.5436, allocations: 3.317 MB / 0.5806 GB, free: 8.352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5437, allocations: 0 / 0.5806 GB, free: 8.352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.5448, allocations: 0.8123 MB / 0.5813 GB, free: 7.539 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.5464, allocations: 278.2 kB / 0.5816 GB, free: 7.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009051/0.5555, allocations: 6.017 MB / 0.5875 GB, free: 1.227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/0.5576, allocations: 2.29 MB / 0.5897 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007969/0.5584, allocations: 203.4 kB / 0.5899 GB, free: 14.71 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5584, allocations: 0 / 0.5899 GB, free: 14.71 MB / 430.1 MB Notification: Performance of Templates: time 0.05484/0.6133, allocations: 38.87 MB / 0.6279 GB, free: 7.906 MB / 462.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)