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.0008759/0.0008759, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005157/0.005157, allocations: 171.9 kB / 16.27 MB, free: 6.648 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.188/1.188, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1192/0.1192, allocations: 5.198 MB / 296.6 MB, free: 4 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002929, allocations: 8 kB / 359 MB, free: 1.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07907/0.07937, allocations: 51.55 MB / 410.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.1538/0.2332, allocations: 14.28 MB / 424.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006704/0.2399, allocations: 4.655 MB / 429.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008139/0.2407, allocations: 53.75 kB / 429.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.2413, allocations: 348.1 kB / 429.9 MB, free: 33.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.2432, allocations: 1.285 MB / 431.2 MB, free: 33.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.2438, allocations: 0.4941 MB / 431.7 MB, free: 33.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002313/0.2462, allocations: 3.676 MB / 435.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/0.2479, allocations: 2.11 MB / 437.5 MB, free: 32.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005435/0.2485, allocations: 0.6968 MB / 438.2 MB, free: 32.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009295/0.2494, allocations: 1.241 MB / 439.4 MB, free: 32.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.2496, allocations: 87.25 kB / 439.5 MB, free: 32.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009639/0.2505, allocations: 0.9023 MB / 440.4 MB, free: 32.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005343/0.2511, allocations: 1.026 MB / 441.4 MB, free: 32.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006173/0.2517, allocations: 1.277 MB / 442.7 MB, free: 31.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002076/0.2538, allocations: 4.09 MB / 446.8 MB, free: 30.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.2538, allocations: 0 / 446.8 MB, free: 30.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2538, allocations: 0 / 446.8 MB, free: 30.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.452e-05/0.2538, allocations: 0 / 446.8 MB, free: 30.22 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.003178/0.257, allocations: 2.632 MB / 449.4 MB, free: 28.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.257, allocations: 10 kB / 449.4 MB, free: 28.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003752/0.2574, allocations: 481.8 kB / 449.9 MB, free: 28.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005004/0.2624, allocations: 1.723 MB / 451.6 MB, free: 28.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.2644, allocations: 1.766 MB / 453.4 MB, free: 27.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.759e-05/0.2645, allocations: 133.1 kB / 453.5 MB, free: 27.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002766/0.2648, allocations: 181.1 kB / 453.7 MB, free: 27.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006299/0.2711, allocations: 6.719 MB / 460.4 MB, free: 24.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.505e-05/0.2711, allocations: 39.55 kB / 460.5 MB, free: 24.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.2714, allocations: 87.86 kB / 460.5 MB, free: 23.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00228/0.2736, allocations: 1.452 MB / 462 MB, free: 23.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008754/0.2824, allocations: 5.99 MB / 468 MB, free: 21.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02138/0.3038, allocations: 27.48 MB / 495.5 MB, free: 16.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003624/0.3075, allocations: 2.393 MB / 497.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009885/0.3085, allocations: 1.069 MB / 498.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.3085, allocations: 17.14 kB / 499 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.3085, allocations: 50.44 kB / 499 MB, free: 14.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 2.956e-06/0.3085, allocations: 0 / 499 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.01507/0.3236, allocations: 7.855 MB / 0.495 GB, free: 6.039 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.3237, allocations: 140.9 kB / 0.4951 GB, free: 5.871 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003233/0.3269, allocations: 2.919 MB / 0.498 GB, free: 2.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.419e-05/0.327, allocations: 41.7 kB / 0.498 GB, free: 2.883 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.3283, allocations: 2.182 MB / 0.5001 GB, free: 0.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/0.3286, allocations: 443.5 kB / 0.5006 GB, free: 284 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/0.329, allocations: 383.4 kB / 0.5009 GB, free: 15.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.701e-05/0.3291, allocations: 305.1 kB / 0.5012 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.3311, allocations: 1.453 MB / 0.5026 GB, free: 14.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003482/0.3345, allocations: 4.307 MB / 0.5068 GB, free: 8.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/0.3466, allocations: 8.08 MB / 0.5147 GB, free: 14.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.633e-05/0.3467, allocations: 32 kB / 0.5148 GB, free: 14.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.007427/0.3541, allocations: 5.553 MB / 0.5202 GB, free: 9.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.457e-05/0.3542, allocations: 48 kB / 0.5202 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.824e-05/0.3543, allocations: 100.9 kB / 0.5203 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001079/0.3544, allocations: 132 kB / 0.5204 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/0.358, allocations: 1.228 MB / 0.5216 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001374/0.3581, allocations: 199.2 kB / 0.5218 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.3603, allocations: 251.5 kB / 0.5221 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002986/0.3606, allocations: 276 kB / 0.5223 GB, free: 7.082 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.001724/0.3623, allocations: 1.467 MB / 0.5238 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/0.3627, allocations: 241.2 kB / 0.524 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.3645, allocations: 1.285 MB / 0.5253 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.3646, allocations: 16 kB / 0.5253 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3646, allocations: 3.938 kB / 0.5253 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.3646, allocations: 3.984 kB / 0.5253 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00568/0.3703, allocations: 4.269 MB / 0.5294 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3703, allocations: 0 / 0.5294 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/0.372, allocations: 375.4 kB / 0.5298 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.3721, allocations: 4 kB / 0.5298 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-05/0.3721, allocations: 16 kB / 0.5298 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.3721, allocations: 4 kB / 0.5298 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3722, allocations: 4.031 kB / 0.5298 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003518/0.3757, allocations: 3.186 MB / 0.5329 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.376, allocations: 301.9 kB / 0.5332 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/0.3763, allocations: 16 kB / 0.5332 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008296/0.3771, allocations: 67.91 kB / 0.5333 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.3773, allocations: 52.31 kB / 0.5334 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.156e-05/0.3773, allocations: 34.34 kB / 0.5334 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002113/0.3794, allocations: 1.819 MB / 0.5352 GB, free: 9.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3795, allocations: 3.938 kB / 0.5352 GB, free: 9.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002342/0.3818, allocations: 0.6367 MB / 0.5358 GB, free: 9.191 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.003862/0.3857, allocations: 3.799 MB / 0.5395 GB, free: 5.359 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004005/0.3897, allocations: 3.305 MB / 0.5427 GB, free: 2.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3897, allocations: 0 / 0.5427 GB, free: 2.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009711/0.3907, allocations: 0.8163 MB / 0.5435 GB, free: 1.258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.3923, allocations: 274.8 kB / 0.5438 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03736/0.4297, allocations: 33.56 MB / 0.5766 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002185/0.4319, allocations: 2.291 MB / 0.5788 GB, free: 7.988 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003009/0.4349, allocations: 1.459 MB / 0.5802 GB, free: 6.523 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/0.4363, allocations: 1.148 MB / 0.5814 GB, free: 5.375 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4363, allocations: 0 / 0.5814 GB, free: 5.375 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2009/0.6372, allocations: 42.87 MB / 0.6232 GB, free: 135.2 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000134/0.6374, allocations: 182 kB / 0.6234 GB, free: 135 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/2.957, allocations: 0 / 0.6234 GB, free: 135 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 & /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)