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.001235/0.001236, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.484/1.484, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1619/0.1619, allocations: 5.206 MB / 295.6 MB, free: 3.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.89 kB / 357.3 MB, free: 1.672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1464, allocations: 50.57 MB / 407.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01183/0.1583, allocations: 7.906 MB / 415.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009661/0.1681, allocations: 3.501 MB / 419.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/0.1707, allocations: 31.94 kB / 419.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004066/0.1748, allocations: 1.097 MB / 420.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005379/0.1803, allocations: 1.378 MB / 421.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.1821, allocations: 0.5302 MB / 422.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2633/0.4454, allocations: 2.719 MB / 425 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002233/0.4477, allocations: 1.631 MB / 426.7 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.4494, allocations: 0.8797 MB / 427.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.4511, allocations: 1.243 MB / 428.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000503/0.4516, allocations: 172.5 kB / 428.9 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.4533, allocations: 0.9207 MB / 429.9 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009158/0.4542, allocations: 1.098 MB / 431 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.4554, allocations: 1.343 MB / 432.3 MB, free: 34.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00432/0.4597, allocations: 4.216 MB / 436.5 MB, free: 34.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4598, allocations: 4 kB / 436.5 MB, free: 34.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4598, allocations: 0 / 436.5 MB, free: 34.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001087/0.4599, allocations: 0 / 436.5 MB, free: 34.07 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.006127/0.466, allocations: 3.152 MB / 439.7 MB, free: 32.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4661, allocations: 9.375 kB / 439.7 MB, free: 32.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006363/0.4668, allocations: 490.3 kB / 440.2 MB, free: 32.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005628/0.4724, allocations: 1.675 MB / 441.8 MB, free: 31.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003341/0.4758, allocations: 1.751 MB / 443.6 MB, free: 31.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.4759, allocations: 140.7 kB / 443.7 MB, free: 31.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003698/0.4763, allocations: 175.6 kB / 443.9 MB, free: 30.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00941/0.4857, allocations: 6.707 MB / 450.6 MB, free: 27.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-05/0.4858, allocations: 34.16 kB / 450.6 MB, free: 27.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002839/0.4861, allocations: 90.62 kB / 450.7 MB, free: 27.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002131/0.4883, allocations: 1.453 MB / 452.2 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01218/0.5004, allocations: 5.97 MB / 458.2 MB, free: 25.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04019/0.5407, allocations: 27.49 MB / 485.6 MB, free: 22.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005269/0.546, allocations: 2.385 MB / 488 MB, free: 20.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.5475, allocations: 1.07 MB / 489.1 MB, free: 20.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.5476, allocations: 17.28 kB / 489.1 MB, free: 20.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.5476, allocations: 43 kB / 489.2 MB, free: 20.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.727e-06/0.5476, allocations: 11.31 kB / 489.2 MB, free: 20.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.01719/0.5648, allocations: 7.852 MB / 497 MB, free: 15.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/0.5649, allocations: 144.2 kB / 497.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/0.5681, allocations: 2.915 MB / 0.4884 GB, free: 12.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.5683, allocations: 44.89 kB / 0.4884 GB, free: 12.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001631/0.5699, allocations: 2.176 MB / 0.4905 GB, free: 10.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005157/0.5705, allocations: 452.8 kB / 0.491 GB, free: 9.926 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.5717, allocations: 0.8886 MB / 0.4918 GB, free: 9.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.5718, allocations: 305.1 kB / 0.4921 GB, free: 8.723 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/0.5742, allocations: 1.445 MB / 0.4935 GB, free: 7.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004512/0.5787, allocations: 4.301 MB / 0.4977 GB, free: 1.582 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01576/0.5945, allocations: 8.075 MB / 0.5056 GB, free: 8.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.761e-05/0.5946, allocations: 28 kB / 0.5056 GB, free: 8.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01287/0.6075, allocations: 5.537 MB / 0.511 GB, free: 2.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.932e-05/0.6076, allocations: 48.94 kB / 0.5111 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001431/0.6078, allocations: 100 kB / 0.5112 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.608, allocations: 136 kB / 0.5113 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004732/0.6127, allocations: 1.232 MB / 0.5125 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002074/0.6129, allocations: 196 kB / 0.5127 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/0.6169, allocations: 239.6 kB / 0.5129 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006175/0.6176, allocations: 280 kB / 0.5132 GB, free: 436 kB / 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 (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.003248/0.6208, allocations: 1.459 MB / 0.5146 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007585/0.6216, allocations: 244.8 kB / 0.5149 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/0.6241, allocations: 1.277 MB / 0.5161 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/0.6241, allocations: 12 kB / 0.5161 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.6241, allocations: 0 / 0.5161 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.6241, allocations: 11.98 kB / 0.5161 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008668/0.6328, allocations: 4.246 MB / 0.5203 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.6329, allocations: 0 / 0.5203 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002066/0.635, allocations: 371.4 kB / 0.5206 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/0.635, allocations: 7.984 kB / 0.5206 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-05/0.6351, allocations: 28.02 kB / 0.5207 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/0.6351, allocations: 4 kB / 0.5207 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.6351, allocations: 2.969 kB / 0.5207 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004951/0.6401, allocations: 3.168 MB / 0.5238 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.6413, allocations: 302.7 kB / 0.5241 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002824/0.6415, allocations: 16 kB / 0.5241 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009644/0.6425, allocations: 63.91 kB / 0.5241 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.6427, allocations: 48.31 kB / 0.5242 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/0.6428, allocations: 28 kB / 0.5242 GB, free: 5.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003234/0.6461, allocations: 1.827 MB / 0.526 GB, free: 3.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6461, allocations: 0 / 0.526 GB, free: 3.223 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004263/0.6503, allocations: 0.6367 MB / 0.5266 GB, free: 2.586 MB / 398.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.005096/0.6555, allocations: 3.788 MB / 0.5303 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006661/0.6621, allocations: 3.564 MB / 0.5338 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.6622, allocations: 0 / 0.5338 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.6635, allocations: 0.8083 MB / 0.5346 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/0.6657, allocations: 282.8 kB / 0.5348 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0557/0.7214, allocations: 32.31 MB / 0.5664 GB, free: 4.734 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002812/0.7242, allocations: 2.291 MB / 0.5686 GB, free: 2.418 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00368/0.7279, allocations: 1.456 MB / 0.5701 GB, free: 0.957 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/0.7298, allocations: 1.157 MB / 0.5712 GB, free: 15.83 MB / 462.1 MB Notification: Performance of SimCode: time 1.403e-06/0.7298, allocations: 0 / 0.5712 GB, free: 15.83 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3331/1.063, allocations: 44.2 MB / 0.6144 GB, free: 141 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.283/10.35, allocations: 7.781 kB / 0.6144 GB, free: 141 MB / 462.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 & python3 -m fmpy simulate --output-file DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 DeltaRobot_DeltaRobot_Tests_IdealActuatorVel_test.fmu > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1)