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.007033/0.007033, allocations: 101.3 kB / 15.73 MB, free: 5.586 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.001515/0.001515, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02519/0.02519, allocations: 5.226 MB / 295.7 MB, free: 9.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 60.09 kB / 409 MB, free: 26.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.09077, allocations: 50.57 MB / 459.6 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.008221/0.09903, allocations: 7.916 MB / 467.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005769/0.1048, allocations: 3.485 MB / 471 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006894/0.1055, allocations: 39.88 kB / 471.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.1075, allocations: 1.097 MB / 472.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003042/0.1107, allocations: 1.405 MB / 473.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.112, allocations: 0.5302 MB / 474.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003648/0.1156, allocations: 2.729 MB / 476.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.1173, allocations: 1.626 MB / 478.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009252/0.1182, allocations: 0.8874 MB / 479.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.1195, allocations: 1.242 MB / 480.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002536/0.1197, allocations: 172 kB / 480.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.121, allocations: 0.9204 MB / 481.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007868/0.1218, allocations: 1.098 MB / 482.8 MB, free: 364 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.1229, allocations: 1.339 MB / 484.1 MB, free: 15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003641/0.1265, allocations: 4.383 MB / 488.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1265, allocations: 0 / 488.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1265, allocations: 0 / 488.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.666e-05/0.1266, allocations: 4 kB / 488.5 MB, free: 10.61 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.004707/0.1313, allocations: 3.152 MB / 491.6 MB, free: 7.395 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1314, allocations: 12.03 kB / 491.6 MB, free: 7.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005886/0.1372, allocations: 1.666 MB / 493.3 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.1395, allocations: 1.465 MB / 494.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.356e-05/0.1396, allocations: 135.7 kB / 494.9 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00032/0.14, allocations: 187.9 kB / 495.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008518/0.1485, allocations: 6.71 MB / 0.49 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.886e-05/0.1486, allocations: 31.66 kB / 0.4901 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.1488, allocations: 87.89 kB / 0.4902 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00241/0.1512, allocations: 1.464 MB / 0.4916 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009598/0.1609, allocations: 5.974 MB / 0.4974 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2435/0.4044, allocations: 27.38 MB / 0.5242 GB, free: 27.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004707/0.4092, allocations: 2.39 MB / 0.5265 GB, free: 26.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.4105, allocations: 1.067 MB / 0.5275 GB, free: 25.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.058e-05/0.4106, allocations: 19.84 kB / 0.5276 GB, free: 25.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.4106, allocations: 41.62 kB / 0.5276 GB, free: 25.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 4.558e-06/0.4106, allocations: 2.297 kB / 0.5276 GB, free: 25.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01579/0.4264, allocations: 7.853 MB / 0.5353 GB, free: 22.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.4265, allocations: 136.7 kB / 0.5354 GB, free: 22.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/0.4294, allocations: 2.913 MB / 0.5382 GB, free: 20.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.269e-05/0.4295, allocations: 41.14 kB / 0.5383 GB, free: 20.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007788/0.4303, allocations: 2.182 MB / 0.5404 GB, free: 18.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.4305, allocations: 442.6 kB / 0.5408 GB, free: 18.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007668/0.4313, allocations: 0.8949 MB / 0.5417 GB, free: 17.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.442e-05/0.4313, allocations: 309.1 kB / 0.542 GB, free: 17.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.433, allocations: 1.453 MB / 0.5434 GB, free: 16.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002414/0.4354, allocations: 4.307 MB / 0.5476 GB, free: 10.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/0.4464, allocations: 8.074 MB / 0.5555 GB, free: 1.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.556e-05/0.4465, allocations: 36 kB / 0.5555 GB, free: 1.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.009558/0.4561, allocations: 5.553 MB / 0.561 GB, free: 11.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.523e-05/0.4561, allocations: 52.2 kB / 0.561 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/0.4563, allocations: 100 kB / 0.5611 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/0.4564, allocations: 139.9 kB / 0.5612 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004144/0.4606, allocations: 1.229 MB / 0.5624 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002112/0.4608, allocations: 207.2 kB / 0.5626 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/0.4637, allocations: 251.4 kB / 0.5629 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004211/0.4641, allocations: 283.5 kB / 0.5632 GB, free: 9.465 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 (556): * Single equations (assignments): 553 * 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.002229/0.4664, allocations: 1.447 MB / 0.5646 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005147/0.4669, allocations: 244.8 kB / 0.5648 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.4691, allocations: 1.27 MB / 0.566 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/0.4692, allocations: 12 kB / 0.5661 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.4692, allocations: 4 kB / 0.5661 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.321e-05/0.4692, allocations: 7.922 kB / 0.5661 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007392/0.4766, allocations: 4.241 MB / 0.5702 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.4767, allocations: 0 / 0.5702 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002001/0.4787, allocations: 367.6 kB / 0.5706 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.4787, allocations: 4 kB / 0.5706 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.959e-05/0.4788, allocations: 20.03 kB / 0.5706 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.4788, allocations: 11.94 kB / 0.5706 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.4788, allocations: 3.938 kB / 0.5706 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004208/0.483, allocations: 3.167 MB / 0.5737 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006719/0.4837, allocations: 297.9 kB / 0.574 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002601/0.484, allocations: 16 kB / 0.574 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/0.4849, allocations: 59.91 kB / 0.574 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.4851, allocations: 59.12 kB / 0.5741 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/0.4852, allocations: 33.98 kB / 0.5741 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002587/0.4878, allocations: 1.823 MB / 0.5759 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4878, allocations: 0 / 0.5759 GB, free: 12.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0033/0.4911, allocations: 0.6316 MB / 0.5765 GB, free: 11.69 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.0003905/0.4915, allocations: 142.1 kB / 0.5767 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005219/0.4967, allocations: 3.323 MB / 0.5799 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.4968, allocations: 0 / 0.5799 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.498, allocations: 0.8148 MB / 0.5807 GB, free: 7.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.4999, allocations: 282 kB / 0.581 GB, free: 7.168 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009279/0.5092, allocations: 5.715 MB / 0.5866 GB, free: 1.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002228/0.5114, allocations: 2.287 MB / 0.5888 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003208/0.5147, allocations: 1.467 MB / 0.5902 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000521/0.5152, allocations: 175.4 kB / 0.5904 GB, free: 13.48 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5152, allocations: 0 / 0.5904 GB, free: 13.48 MB / 430.1 MB Notification: Performance of Templates: time 0.04029/0.5555, allocations: 19.02 MB / 0.609 GB, free: 10.61 MB / 446.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.makefile (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)