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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02769/0.02769, allocations: 5.279 MB / 309.8 MB, free: 3.051 MB / 238.1 MB " [Timeout remaining time 180] 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=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") translateModel(DeltaRobot.Tests.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 75.89 kB / 431.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.327, allocations: 53.31 MB / 484.9 MB, free: 26.56 MB / 366.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.008929/0.3359, allocations: 7.997 MB / 492.9 MB, free: 20.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007695/0.3436, allocations: 3.53 MB / 496.4 MB, free: 18.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.3455, allocations: 38.81 kB / 496.5 MB, free: 18.63 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.3486, allocations: 1.114 MB / 497.6 MB, free: 18.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004966/0.3535, allocations: 1.405 MB / 499 MB, free: 17.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.3553, allocations: 0.5414 MB / 499.5 MB, free: 17.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00495/0.3603, allocations: 2.726 MB / 0.4905 GB, free: 16.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/0.3626, allocations: 1.266 MB / 0.4917 GB, free: 15.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/0.3648, allocations: 0.8878 MB / 0.4926 GB, free: 15.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003059/0.3679, allocations: 1.352 MB / 0.4939 GB, free: 14.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007416/0.3686, allocations: 173 kB / 0.4941 GB, free: 14.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.3711, allocations: 0.9634 MB / 0.495 GB, free: 14.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.3725, allocations: 1.117 MB / 0.4961 GB, free: 13.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.3743, allocations: 1.335 MB / 0.4974 GB, free: 12.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00821/0.3825, allocations: 4.402 MB / 0.5017 GB, free: 9.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.3825, allocations: 0 / 0.5017 GB, free: 9.629 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3825, allocations: 2.844 kB / 0.5017 GB, free: 9.629 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001879/0.3827, allocations: 3.938 kB / 0.5017 GB, free: 9.625 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.00928/0.392, allocations: 3.231 MB / 0.5049 GB, free: 7.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.392, allocations: 9.625 kB / 0.5049 GB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006334/0.3983, allocations: 1.687 MB / 0.5065 GB, free: 6.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005241/0.4036, allocations: 1.479 MB / 0.508 GB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.4038, allocations: 134.9 kB / 0.5081 GB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007975/0.4046, allocations: 179.8 kB / 0.5083 GB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/0.4164, allocations: 6.711 MB / 0.5148 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.4165, allocations: 35.75 kB / 0.5149 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003167/0.4168, allocations: 91.89 kB / 0.5149 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002797/0.4196, allocations: 1.452 MB / 0.5164 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/0.4332, allocations: 5.966 MB / 0.5222 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04274/0.4759, allocations: 27.44 MB / 0.549 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005338/0.4812, allocations: 2.309 MB / 0.5512 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.4829, allocations: 0.9832 MB / 0.5522 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.29e-05/0.483, allocations: 15.97 kB / 0.5522 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.483, allocations: 50.5 kB / 0.5523 GB, free: 7.098 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 4.248e-06/0.483, allocations: 0 / 0.5523 GB, free: 7.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=109): time 0.02023/0.5032, allocations: 7.999 MB / 0.5601 GB, free: 14.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.5034, allocations: 144.9 kB / 0.5602 GB, free: 14.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004958/0.5083, allocations: 2.923 MB / 0.5631 GB, free: 11.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003041/0.5086, allocations: 37.7 kB / 0.5631 GB, free: 11.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002144/0.5108, allocations: 2.272 MB / 0.5653 GB, free: 9.547 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007971/0.5116, allocations: 472.5 kB / 0.5658 GB, free: 9.082 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/0.513, allocations: 0.9012 MB / 0.5667 GB, free: 8.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5131, allocations: 304.9 kB / 0.5669 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002589/0.5157, allocations: 1.457 MB / 0.5684 GB, free: 6.406 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00525/0.521, allocations: 4.303 MB / 0.5726 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01651/0.5375, allocations: 8.071 MB / 0.5805 GB, free: 7.168 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/0.5376, allocations: 32 kB / 0.5805 GB, free: 7.137 MB / 446.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01495/0.5525, allocations: 5.574 MB / 0.5859 GB, free: 1.562 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.5527, allocations: 48 kB / 0.586 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002664/0.553, allocations: 104 kB / 0.5861 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/0.5532, allocations: 132 kB / 0.5862 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005559/0.5588, allocations: 1.232 MB / 0.5874 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003098/0.5591, allocations: 203.3 kB / 0.5876 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005129/0.5642, allocations: 243.6 kB / 0.5878 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/0.5656, allocations: 283.9 kB / 0.5881 GB, free: 15.34 MB / 462.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.004805/0.5705, allocations: 1.461 MB / 0.5895 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009875/0.5714, allocations: 254.3 kB / 0.5898 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/0.5747, allocations: 1.273 MB / 0.591 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.896e-05/0.5748, allocations: 19.98 kB / 0.591 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.5748, allocations: 0 / 0.591 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/0.5748, allocations: 7.969 kB / 0.591 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.5869, allocations: 4.236 MB / 0.5952 GB, free: 8.023 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/0.5869, allocations: 4 kB / 0.5952 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/0.5889, allocations: 371.4 kB / 0.5955 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-05/0.5889, allocations: 4 kB / 0.5955 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/0.5891, allocations: 12 kB / 0.5955 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-05/0.5891, allocations: 12.02 kB / 0.5956 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.5891, allocations: 4 kB / 0.5956 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005428/0.5945, allocations: 3.184 MB / 0.5987 GB, free: 4.418 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.5957, allocations: 311.3 kB / 0.599 GB, free: 4.094 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007358/0.5964, allocations: 19.98 kB / 0.599 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.5979, allocations: 59.91 kB / 0.599 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/0.5981, allocations: 52.31 kB / 0.5991 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-05/0.5982, allocations: 28 kB / 0.5991 GB, free: 3.938 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004191/0.6024, allocations: 1.819 MB / 0.6009 GB, free: 2.113 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6024, allocations: 0 / 0.6009 GB, free: 2.113 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005225/0.6076, allocations: 0.6444 MB / 0.6015 GB, free: 1.469 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.000579/0.6082, allocations: 143.9 kB / 0.6017 GB, free: 1.316 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007044/0.6152, allocations: 3.207 MB / 0.6048 GB, free: 14.13 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.6152, allocations: 0 / 0.6048 GB, free: 14.13 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.6167, allocations: 0.7479 MB / 0.6055 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/0.6197, allocations: 283.7 kB / 0.6058 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.6338, allocations: 5.807 MB / 0.6115 GB, free: 7.258 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003246/0.637, allocations: 2.288 MB / 0.6137 GB, free: 4.941 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003751/0.6408, allocations: 1.463 MB / 0.6151 GB, free: 3.473 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006674/0.6414, allocations: 171.4 kB / 0.6153 GB, free: 3.305 MB / 478.1 MB Notification: Performance of SimCode: time 3.416e-06/0.6414, allocations: 0 / 0.6153 GB, free: 3.305 MB / 478.1 MB Notification: Performance of Templates: time 0.3164/0.9578, allocations: 20.31 MB / 0.6351 GB, free: 117.6 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.3516731867566705]