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.0009628/0.0009629, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001159/0.001159, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 223.3 MB / 240 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.2169/0.2169, allocations: 5.203 MB / 296.3 MB, free: 4.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 16 kB / 358.3 MB, free: 1.789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 51.55 MB / 409.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01452/0.1624, allocations: 13.37 MB / 423.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3714/0.5338, allocations: 4.343 MB / 427.6 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00419/0.5381, allocations: 58.91 kB / 427.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003218/0.5414, allocations: 0.6728 MB / 428.3 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009367/0.5508, allocations: 2.188 MB / 430.5 MB, free: 33.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.5532, allocations: 431.5 kB / 430.9 MB, free: 33.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005999/0.5592, allocations: 2.924 MB / 433.9 MB, free: 32.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003744/0.563, allocations: 1.926 MB / 435.8 MB, free: 32.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.5648, allocations: 0.7707 MB / 436.6 MB, free: 32.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.5667, allocations: 1.225 MB / 437.8 MB, free: 32.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002921/0.567, allocations: 93.28 kB / 437.9 MB, free: 32.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.5687, allocations: 0.7518 MB / 438.6 MB, free: 32.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.5698, allocations: 0.9977 MB / 439.6 MB, free: 32.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007158/0.5705, allocations: 0.5298 MB / 440.2 MB, free: 31.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004107/0.5747, allocations: 3.284 MB / 443.4 MB, free: 31.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.5747, allocations: 0 / 443.4 MB, free: 31.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.5747, allocations: 0 / 443.4 MB, free: 31.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001147/0.5748, allocations: 0 / 443.4 MB, free: 31.68 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.006145/0.581, allocations: 2.657 MB / 446.1 MB, free: 30.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.581, allocations: 11.42 kB / 446.1 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005714/0.5868, allocations: 1.715 MB / 447.8 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00379/0.5906, allocations: 1.423 MB / 449.3 MB, free: 29.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.5908, allocations: 135.7 kB / 449.4 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003617/0.5911, allocations: 178.3 kB / 449.6 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/0.603, allocations: 6.713 MB / 456.3 MB, free: 27.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.915e-05/0.6032, allocations: 35.02 kB / 456.3 MB, free: 27.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002869/0.6035, allocations: 89.27 kB / 456.4 MB, free: 27.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002588/0.6061, allocations: 1.457 MB / 457.9 MB, free: 27.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.6209, allocations: 5.954 MB / 463.8 MB, free: 25.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04583/0.6668, allocations: 27.47 MB / 491.3 MB, free: 20.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005101/0.6719, allocations: 2.376 MB / 493.6 MB, free: 19.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.6738, allocations: 1.08 MB / 494.7 MB, free: 18.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.872e-05/0.674, allocations: 17.94 kB / 494.7 MB, free: 18.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.674, allocations: 50.25 kB / 494.8 MB, free: 18.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 2.946e-06/0.674, allocations: 0 / 494.8 MB, free: 18.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.01997/0.694, allocations: 7.846 MB / 0.4909 GB, free: 11.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.6942, allocations: 137 kB / 0.491 GB, free: 11.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006649/0.7008, allocations: 2.901 MB / 0.4938 GB, free: 8.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000249/0.7011, allocations: 45.64 kB / 0.4939 GB, free: 8.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002166/0.7033, allocations: 2.18 MB / 0.496 GB, free: 6.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007606/0.7041, allocations: 440.7 kB / 0.4964 GB, free: 5.852 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/0.7043, allocations: 93.64 kB / 0.4965 GB, free: 5.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003231/0.7047, allocations: 0.492 MB / 0.497 GB, free: 5.262 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002402/0.7071, allocations: 1.441 MB / 0.4984 GB, free: 3.812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004915/0.712, allocations: 4.299 MB / 0.5026 GB, free: 14.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004168/0.7162, allocations: 2.432 MB / 0.505 GB, free: 11.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/0.7163, allocations: 32 kB / 0.505 GB, free: 11.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01082/0.7271, allocations: 5.533 MB / 0.5104 GB, free: 6.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.64e-05/0.7273, allocations: 48 kB / 0.5104 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000158/0.7274, allocations: 109.3 kB / 0.5106 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.7276, allocations: 151.9 kB / 0.5107 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004426/0.732, allocations: 1.232 MB / 0.5119 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001749/0.7322, allocations: 199.2 kB / 0.5121 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003464/0.7357, allocations: 254.2 kB / 0.5123 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003919/0.7361, allocations: 279.9 kB / 0.5126 GB, free: 3.82 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: idealActuatorVel.firstOrder.y:VARIABLE(flow=false start = idealActuatorVel.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real 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 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00269/0.7388, allocations: 1.448 MB / 0.514 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005177/0.7393, allocations: 242.1 kB / 0.5142 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.7415, allocations: 1.285 MB / 0.5155 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.7415, allocations: 16 kB / 0.5155 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.7415, allocations: 0 / 0.5155 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.7415, allocations: 3.984 kB / 0.5155 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006982/0.7485, allocations: 4.266 MB / 0.5197 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.7485, allocations: 0 / 0.5197 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/0.7502, allocations: 379.4 kB / 0.52 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/0.7502, allocations: 4 kB / 0.52 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.304e-05/0.7503, allocations: 13.42 kB / 0.5201 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.7503, allocations: 4 kB / 0.5201 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7503, allocations: 4 kB / 0.5201 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004032/0.7544, allocations: 3.175 MB / 0.5232 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006721/0.755, allocations: 313.7 kB / 0.5235 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.7553, allocations: 16 kB / 0.5235 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007988/0.7561, allocations: 66.5 kB / 0.5235 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.7562, allocations: 56.31 kB / 0.5236 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.04e-05/0.7563, allocations: 28 kB / 0.5236 GB, free: 8.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003098/0.7594, allocations: 1.799 MB / 0.5254 GB, free: 6.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.7594, allocations: 0 / 0.5254 GB, free: 6.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004225/0.7637, allocations: 0.6406 MB / 0.526 GB, free: 5.988 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000366/0.7641, allocations: 150.7 kB / 0.5262 GB, free: 5.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005901/0.77, allocations: 3.293 MB / 0.5294 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.77, allocations: 0 / 0.5294 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.7711, allocations: 0.8142 MB / 0.5302 GB, free: 1.758 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.7731, allocations: 269.2 kB / 0.5304 GB, free: 1.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.7849, allocations: 6.815 MB / 0.5371 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002339/0.7873, allocations: 2.288 MB / 0.5393 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003594/0.7909, allocations: 1.465 MB / 0.5407 GB, free: 6.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/0.7913, allocations: 167.4 kB / 0.5409 GB, free: 6.691 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.7913, allocations: 0 / 0.5409 GB, free: 6.691 MB / 414.1 MB Notification: Performance of Templates: time 0.04059/0.8319, allocations: 19.89 MB / 0.5603 GB, free: 2.93 MB / 430.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: