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.001496/0.001496, allocations: 112.5 kB / 15.73 MB, free: 76 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.001666/0.001666, allocations: 189.9 kB / 16.67 MB, free: 6.57 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1338/0.1338, allocations: 5.205 MB / 295.7 MB, free: 3.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 408.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2633, allocations: 50.57 MB / 459.1 MB, free: 19.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.007299/0.2707, allocations: 7.915 MB / 467 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005917/0.2766, allocations: 3.463 MB / 470.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.2779, allocations: 39.22 kB / 470.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.2803, allocations: 1.109 MB / 471.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003596/0.284, allocations: 1.401 MB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.2853, allocations: 0.5338 MB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00383/0.2892, allocations: 2.73 MB / 476.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.2911, allocations: 1.639 MB / 478 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.2927, allocations: 0.883 MB / 478.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.2945, allocations: 1.245 MB / 480.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004511/0.295, allocations: 172.4 kB / 480.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.2969, allocations: 0.9242 MB / 481.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009889/0.2979, allocations: 1.092 MB / 482.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.299, allocations: 1.349 MB / 483.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004581/0.3036, allocations: 4.4 MB / 488 MB, free: 2.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3037, allocations: 4 kB / 488 MB, free: 2.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3037, allocations: 0.8125 kB / 488 MB, free: 2.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.546e-05/0.3037, allocations: 0 / 488 MB, free: 2.809 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.005911/0.3097, allocations: 3.249 MB / 491.3 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3097, allocations: 9.812 kB / 491.3 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005563/0.3103, allocations: 487.5 kB / 491.8 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006019/0.3163, allocations: 1.688 MB / 493.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/0.3203, allocations: 1.782 MB / 495.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.3204, allocations: 136.8 kB / 495.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003753/0.3208, allocations: 171.9 kB / 495.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009959/0.3308, allocations: 6.722 MB / 0.4905 GB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.923e-05/0.3309, allocations: 39.69 kB / 0.4905 GB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004444/0.3314, allocations: 87.89 kB / 0.4906 GB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002389/0.3338, allocations: 1.456 MB / 0.492 GB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009986/0.3438, allocations: 5.966 MB / 0.4978 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03162/0.3754, allocations: 27.44 MB / 0.5246 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004759/0.3802, allocations: 2.385 MB / 0.527 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.3816, allocations: 1.062 MB / 0.528 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-05/0.3817, allocations: 15.98 kB / 0.528 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.3817, allocations: 46.5 kB / 0.5281 GB, free: 14.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 4.579e-06/0.3818, allocations: 4 kB / 0.5281 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=109): time 0.01855/0.4003, allocations: 8.008 MB / 0.5359 GB, free: 6.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.399e-05/0.4004, allocations: 141 kB / 0.536 GB, free: 6.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004373/0.4048, allocations: 2.928 MB / 0.5389 GB, free: 3.551 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.405, allocations: 41.7 kB / 0.5389 GB, free: 3.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.4065, allocations: 2.272 MB / 0.5411 GB, free: 1.211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004998/0.407, allocations: 468.5 kB / 0.5416 GB, free: 0.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00135/0.4084, allocations: 0.8972 MB / 0.5425 GB, free: 15.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.4084, allocations: 305.1 kB / 0.5428 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00218/0.4106, allocations: 1.445 MB / 0.5442 GB, free: 14.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003776/0.4144, allocations: 4.295 MB / 0.5484 GB, free: 8.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01283/0.4273, allocations: 8.061 MB / 0.5562 GB, free: 14.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.993e-05/0.4274, allocations: 36 kB / 0.5563 GB, free: 14.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.008796/0.4362, allocations: 5.547 MB / 0.5617 GB, free: 9.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.965e-05/0.4363, allocations: 53.88 kB / 0.5617 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/0.4364, allocations: 100 kB / 0.5618 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.4366, allocations: 132.3 kB / 0.562 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00414/0.4407, allocations: 1.225 MB / 0.5632 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001686/0.4409, allocations: 203.2 kB / 0.5634 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003232/0.4442, allocations: 251.6 kB / 0.5636 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006117/0.4448, allocations: 284 kB / 0.5639 GB, free: 7.055 MB / 446.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.002492/0.4473, allocations: 1.444 MB / 0.5653 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005405/0.4479, allocations: 262.2 kB / 0.5655 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.45, allocations: 1.269 MB / 0.5668 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.4501, allocations: 16 kB / 0.5668 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.4501, allocations: 0 / 0.5668 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.4501, allocations: 3.984 kB / 0.5668 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007414/0.4575, allocations: 4.245 MB / 0.5709 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.4575, allocations: 0 / 0.5709 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/0.4594, allocations: 371.3 kB / 0.5713 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.4594, allocations: 7.984 kB / 0.5713 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.121e-05/0.4595, allocations: 16 kB / 0.5713 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.4595, allocations: 12.03 kB / 0.5713 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4595, allocations: 0 / 0.5713 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003767/0.4633, allocations: 3.186 MB / 0.5744 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006379/0.464, allocations: 315.3 kB / 0.5747 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004099/0.4644, allocations: 15.98 kB / 0.5747 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.4654, allocations: 59.92 kB / 0.5748 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.4656, allocations: 52.36 kB / 0.5748 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.471e-05/0.4657, allocations: 28 kB / 0.5749 GB, free: 11.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002715/0.4684, allocations: 1.819 MB / 0.5767 GB, free: 9.816 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4684, allocations: 0 / 0.5767 GB, free: 9.816 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00309/0.4715, allocations: 0.6404 MB / 0.5773 GB, free: 9.176 MB / 462.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.004122/0.4756, allocations: 3.808 MB / 0.581 GB, free: 5.332 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004696/0.4803, allocations: 3.312 MB / 0.5842 GB, free: 2.043 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4804, allocations: 0 / 0.5842 GB, free: 2.043 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.4814, allocations: 0.8095 MB / 0.585 GB, free: 1.238 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.4831, allocations: 285.8 kB / 0.5853 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2232/0.7063, allocations: 29.89 MB / 0.6145 GB, free: 99.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002206/0.7086, allocations: 2.294 MB / 0.6167 GB, free: 98.15 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003075/0.7116, allocations: 1.458 MB / 0.6181 GB, free: 98.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/0.7129, allocations: 1.145 MB / 0.6193 GB, free: 97.14 MB / 462.1 MB Notification: Performance of SimCode: time 9.11e-07/0.7129, allocations: 0 / 0.6193 GB, free: 97.14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06233/0.7753, allocations: 41.38 MB / 0.6597 GB, free: 62.72 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/16.56, allocations: 14.53 kB / 0.6597 GB, free: 62.71 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)