Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 73.88 kB / 20.66 MB, free: 3.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9411/0.9411, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.01904/0.01904, allocations: 4.086 MB / 265.1 MB, free: 8.891 MB / 250.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(DeltaRobot.Tests.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") translateModel(DeltaRobot.Tests.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 336.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.635e-05, allocations: 8.422 kB / 336.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.008673/0.00869, allocations: 7.618 MB / 343.7 MB, free: 7.527 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005741/0.01443, allocations: 3.493 MB / 347.2 MB, free: 4.023 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005754/0.01501, allocations: 43.81 kB / 347.3 MB, free: 3.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.01705, allocations: 1.16 MB / 348.4 MB, free: 2.816 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.01888, allocations: 1.443 MB / 349.9 MB, free: 1.367 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.01953, allocations: 0.6236 MB / 350.5 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001885/0.02141, allocations: 3.183 MB / 353.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.02251, allocations: 1.755 MB / 355.4 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.02354, allocations: 1.45 MB / 356.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.0246, allocations: 1.43 MB / 358.3 MB, free: 8.891 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.02476, allocations: 176 kB / 358.5 MB, free: 8.719 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007837/0.02555, allocations: 0.8423 MB / 359.3 MB, free: 7.875 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006085/0.02615, allocations: 1.172 MB / 360.5 MB, free: 6.699 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004985/0.02665, allocations: 0.7319 MB / 361.2 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.02864, allocations: 2.989 MB / 364.2 MB, free: 2.965 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.02864, allocations: 4 kB / 364.2 MB, free: 2.961 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02864, allocations: 0 / 364.2 MB, free: 2.961 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.02866, allocations: 0 / 364.2 MB, free: 2.961 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 996 * Number of variables: 996 Notification: Performance of Generate backend data structure: time 0.002965/0.03162, allocations: 3.343 MB / 367.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.175e-05/0.03165, allocations: 11.97 kB / 367.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.03402, allocations: 1.115 MB / 368.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.03508, allocations: 1.24 MB / 369.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.628e-05/0.03515, allocations: 131.7 kB / 370.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.03535, allocations: 184.2 kB / 370.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.03848, allocations: 3.757 MB / 374 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.357e-05/0.03853, allocations: 35.69 kB / 374 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.03868, allocations: 95.88 kB / 374.1 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009854/0.03967, allocations: 1.222 MB / 375.3 MB, free: 7.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.04188, allocations: 1.648 MB / 377 MB, free: 5.359 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.05738, allocations: 30.53 MB / 407.5 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.05868, allocations: 0.7396 MB / 408.3 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.05891, allocations: 219.4 kB / 408.5 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00224/0.06115, allocations: 2.448 MB / 410.9 MB, free: 2.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.06117, allocations: 49.56 kB / 411 MB, free: 2.191 MB / 378.7 MB Notification: Performance of pre-optimization done (n=81): time 1.523e-06/0.06117, allocations: 0 / 411 MB, free: 2.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.003646/0.06482, allocations: 2.12 MB / 413.1 MB, free: 12 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.06488, allocations: 166.2 kB / 413.3 MB, free: 15.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.06669, allocations: 2.639 MB / 415.9 MB, free: 13.14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.06672, allocations: 37.69 kB / 415.9 MB, free: 13.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.0678, allocations: 2.503 MB / 418.4 MB, free: 10.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.06801, allocations: 393.3 kB / 418.8 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007236/0.06873, allocations: 0.9878 MB / 419.8 MB, free: 9.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.06889, allocations: 0.5432 MB / 420.3 MB, free: 8.629 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/0.06941, allocations: 398.3 kB / 420.7 MB, free: 8.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002874/0.07229, allocations: 4.813 MB / 425.5 MB, free: 1.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/0.07585, allocations: 5.659 MB / 431.2 MB, free: 9.656 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.958e-05/0.07588, allocations: 28 kB / 431.2 MB, free: 9.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.003344/0.07922, allocations: 3.506 MB / 434.7 MB, free: 6.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.07926, allocations: 52.03 kB / 434.8 MB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.179e-05/0.07934, allocations: 108 kB / 434.9 MB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.194e-05/0.07942, allocations: 136 kB / 435 MB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.08103, allocations: 1.018 MB / 436 MB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001013/0.08113, allocations: 203.2 kB / 436.2 MB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.08247, allocations: 211.8 kB / 436.5 MB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/0.08268, allocations: 248 kB / 436.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000984/0.08366, allocations: 0.5658 MB / 437.3 MB, free: 3.586 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002673/0.08633, allocations: 4.813 MB / 442.1 MB, free: 12.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004218/0.09055, allocations: 5.648 MB / 447.7 MB, free: 5.027 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.215e-05/0.09058, allocations: 28 kB / 447.7 MB, free: 5 MB / 426.7 MB Notification: Performance of matching and sorting (n=575) (initialization_lambda0): time 0.003697/0.09428, allocations: 3.515 MB / 451.3 MB, free: 1.484 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.09432, allocations: 55.98 kB / 451.3 MB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-05/0.09438, allocations: 104 kB / 451.4 MB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.022e-05/0.09446, allocations: 140.7 kB / 451.6 MB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.09596, allocations: 1.014 MB / 452.6 MB, free: 180 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1497/0.2457, allocations: 213 kB / 452.8 MB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/0.2482, allocations: 202.7 kB / 453 MB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/0.2485, allocations: 247.2 kB / 453.2 MB, free: 135.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 482 * Number of states: 0 () * Number of discrete variables: 18 (idealActuatorPos.revolute.cylinderColor[1],idealActuatorPos.revolute.cylinderColor[2],idealActuatorPos.revolute.cylinderColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 548 * 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.0006759/0.2491, allocations: 0.6282 MB / 453.8 MB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.2494, allocations: 249.5 kB / 454.1 MB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/0.25, allocations: 382.4 kB / 454.5 MB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.25, allocations: 10.38 kB / 454.5 MB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.25, allocations: 3.719 kB / 454.5 MB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.25, allocations: 3.281 kB / 454.5 MB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.2541, allocations: 2.433 MB / 456.9 MB, free: 134.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.2541, allocations: 6.906 kB / 456.9 MB, free: 134.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.2545, allocations: 120.3 kB / 457 MB, free: 134.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.2545, allocations: 3.125 kB / 457 MB, free: 134.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.2545, allocations: 16 kB / 457.1 MB, free: 134.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/0.2545, allocations: 12.27 kB / 457.1 MB, free: 134.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2545, allocations: 6.219 kB / 457.1 MB, free: 134.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008462/0.2554, allocations: 1.282 MB / 458.4 MB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.2557, allocations: 275 kB / 458.6 MB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.2558, allocations: 21.77 kB / 458.6 MB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.2562, allocations: 20.53 kB / 458.7 MB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.2562, allocations: 46.91 kB / 458.7 MB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.2563, allocations: 27.92 kB / 458.7 MB, free: 133.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007285/0.257, allocations: 1.047 MB / 459.8 MB, free: 133.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.257, allocations: 0 / 459.8 MB, free: 133.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003471/0.2605, allocations: 1.175 MB / 461 MB, free: 133.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (idealActuatorPos.revolute.phi,idealActuatorPos.revolute.w,idealActuatorPos.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 (63): * Single equations (assignments): 60 * 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.0002303/0.2607, allocations: 156.6 kB / 461.1 MB, free: 133.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003323/0.264, allocations: 3.354 MB / 464.5 MB, free: 133.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.264, allocations: 3 kB / 464.5 MB, free: 133.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.2642, allocations: 207.3 kB / 464.7 MB, free: 133.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008758/0.2651, allocations: 260.7 kB / 464.9 MB, free: 133.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004786/0.2699, allocations: 4.622 MB / 469.6 MB, free: 131.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.2705, allocations: 0.7686 MB / 470.3 MB, free: 131.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001001/0.2715, allocations: 443.5 kB / 470.8 MB, free: 131.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.2719, allocations: 410.5 kB / 471.2 MB, free: 131.1 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2719, allocations: 0 / 471.2 MB, free: 131.1 MB / 426.7 MB Notification: Performance of Templates: time 0.02717/0.299, allocations: 18.88 MB / 490 MB, free: 129.2 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.makefile [Timeout 660] (rm -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.sim & ./DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.500597347971052]