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: "" <> buildModelFMU(DeltaRobot.Tests.IdealActuatorVel_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_IdealActuatorVel_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.IdealActuatorVel_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_IdealActuatorVel_test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008829/0.008828, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001828/0.001828, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02796/0.02796, allocations: 5.22 MB / 295.8 MB, free: 9.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 59.89 kB / 408.6 MB, free: 26.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1069, allocations: 50.58 MB / 459.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01211/0.119, allocations: 7.911 MB / 467.1 MB, free: 156 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008037/0.1271, allocations: 3.481 MB / 470.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.1286, allocations: 35.88 kB / 470.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002969/0.1316, allocations: 1.105 MB / 471.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004233/0.1359, allocations: 1.366 MB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.1374, allocations: 0.538 MB / 473.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004509/0.1419, allocations: 2.721 MB / 476.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00286/0.1448, allocations: 1.638 MB / 477.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.1467, allocations: 0.8757 MB / 478.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/0.1494, allocations: 1.242 MB / 480.1 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009843/0.1504, allocations: 176 kB / 480.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.1534, allocations: 0.9165 MB / 481.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002012/0.1554, allocations: 1.102 MB / 482.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002522/0.158, allocations: 1.339 MB / 483.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005687/0.1637, allocations: 4.415 MB / 488 MB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1637, allocations: 3.938 kB / 488 MB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1637, allocations: 0 / 488 MB, free: 11.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.191e-05/0.1638, allocations: 0 / 488 MB, free: 11.1 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.0065/0.1703, allocations: 3.245 MB / 491.2 MB, free: 7.793 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.1704, allocations: 8.031 kB / 491.3 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005958/0.171, allocations: 483.5 kB / 491.7 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006107/0.1771, allocations: 1.695 MB / 493.4 MB, free: 5.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/0.1805, allocations: 1.782 MB / 495.2 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.1806, allocations: 135.7 kB / 495.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003572/0.181, allocations: 183.8 kB / 495.5 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/0.1916, allocations: 6.714 MB / 0.4905 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.199e-05/0.1917, allocations: 27.75 kB / 0.4905 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002566/0.192, allocations: 91.89 kB / 0.4906 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002594/0.1946, allocations: 1.452 MB / 0.492 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/0.206, allocations: 5.966 MB / 0.4978 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2941/0.5001, allocations: 27.45 MB / 0.5246 GB, free: 27.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004571/0.5047, allocations: 2.378 MB / 0.5269 GB, free: 26.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/0.5061, allocations: 1.064 MB / 0.528 GB, free: 25.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.846e-05/0.5062, allocations: 18.36 kB / 0.528 GB, free: 25.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.5062, allocations: 51.23 kB / 0.5281 GB, free: 25.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.246e-06/0.5062, allocations: 0 / 0.5281 GB, free: 25.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.0176/0.5238, allocations: 7.993 MB / 0.5359 GB, free: 22.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.5239, allocations: 144.3 kB / 0.536 GB, free: 21.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003348/0.5273, allocations: 2.926 MB / 0.5389 GB, free: 20.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.5274, allocations: 45.08 kB / 0.5389 GB, free: 20.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009794/0.5284, allocations: 2.27 MB / 0.5411 GB, free: 18.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.5287, allocations: 466.7 kB / 0.5416 GB, free: 18.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008055/0.5295, allocations: 0.8961 MB / 0.5424 GB, free: 17.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.552e-05/0.5295, allocations: 305.1 kB / 0.5427 GB, free: 17.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.5312, allocations: 1.442 MB / 0.5441 GB, free: 16.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002676/0.5339, allocations: 4.298 MB / 0.5483 GB, free: 10.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/0.5451, allocations: 8.069 MB / 0.5562 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.067e-05/0.5452, allocations: 32 kB / 0.5562 GB, free: 0.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.00974/0.555, allocations: 5.555 MB / 0.5617 GB, free: 11.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.848e-05/0.5551, allocations: 55.94 kB / 0.5617 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/0.5552, allocations: 100.2 kB / 0.5618 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.5554, allocations: 132 kB / 0.5619 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004106/0.5595, allocations: 1.224 MB / 0.5631 GB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002123/0.5597, allocations: 206.5 kB / 0.5633 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003652/0.5634, allocations: 247.6 kB / 0.5636 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004359/0.5638, allocations: 280 kB / 0.5638 GB, free: 9.098 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 (552): * Single equations (assignments): 549 * 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.002496/0.5663, allocations: 1.447 MB / 0.5652 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005864/0.5669, allocations: 258.2 kB / 0.5655 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.5692, allocations: 1.278 MB / 0.5667 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/0.5692, allocations: 16 kB / 0.5668 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.5692, allocations: 0 / 0.5668 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.5692, allocations: 3.984 kB / 0.5668 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007382/0.5766, allocations: 4.24 MB / 0.5709 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.5767, allocations: 3.938 kB / 0.5709 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/0.5786, allocations: 367.4 kB / 0.5713 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/0.5786, allocations: 5.266 kB / 0.5713 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-05/0.5787, allocations: 16 kB / 0.5713 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.5787, allocations: 8 kB / 0.5713 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.5787, allocations: 7.969 kB / 0.5713 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004664/0.5834, allocations: 3.181 MB / 0.5744 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007396/0.5842, allocations: 319.2 kB / 0.5747 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/0.5844, allocations: 15.98 kB / 0.5747 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008821/0.5853, allocations: 59.92 kB / 0.5748 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.5855, allocations: 56.3 kB / 0.5748 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.931e-05/0.5856, allocations: 28 kB / 0.5749 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003227/0.5888, allocations: 1.815 MB / 0.5766 GB, free: 11.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5888, allocations: 3.938 kB / 0.5766 GB, free: 11.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003901/0.5927, allocations: 0.6367 MB / 0.5773 GB, free: 11.25 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.005324/0.5981, allocations: 3.805 MB / 0.581 GB, free: 7.418 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006571/0.6047, allocations: 3.318 MB / 0.5842 GB, free: 4.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.6047, allocations: 0 / 0.5842 GB, free: 4.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.606, allocations: 0.8027 MB / 0.585 GB, free: 3.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.6085, allocations: 287.9 kB / 0.5853 GB, free: 3.062 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04957/0.6581, allocations: 29.89 MB / 0.6145 GB, free: 1.305 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002645/0.6607, allocations: 2.287 MB / 0.6167 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003441/0.6642, allocations: 1.466 MB / 0.6181 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/0.6661, allocations: 1.14 MB / 0.6192 GB, free: 12.38 MB / 462.1 MB Notification: Performance of SimCode: time 1.293e-06/0.6661, allocations: 0 / 0.6192 GB, free: 12.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/0.7688, allocations: 41.38 MB / 0.6597 GB, free: 3.273 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.84/17.61, allocations: 12 kB / 0.6597 GB, free: 3.262 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_DeltaRobot_DeltaRobot_Tests_IdealActuatorVel_test_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_IdealActuatorVel_test.fmu > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1)