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.001398/0.001398, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001596/0.001596, allocations: 210.1 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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.02902/0.02902, allocations: 5.289 MB / 317.7 MB, free: 13.72 MB / 254.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.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: DeltaRobot requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.91 kB / 442.4 MB, free: 7.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1274, allocations: 54.55 MB / 497 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.01028/0.1377, allocations: 7.122 MB / 0.4923 GB, free: 9.906 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007892/0.1456, allocations: 3.401 MB / 0.4956 GB, free: 6.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.1472, allocations: 43.81 kB / 0.4956 GB, free: 6.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002969/0.1502, allocations: 1.082 MB / 0.4967 GB, free: 5.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004284/0.1545, allocations: 1.389 MB / 0.498 GB, free: 3.977 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.1562, allocations: 0.5887 MB / 0.4986 GB, free: 3.387 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004647/0.1608, allocations: 2.799 MB / 0.5013 GB, free: 0.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.1637, allocations: 1.438 MB / 0.5027 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.166, allocations: 0.9185 MB / 0.5036 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002753/0.1688, allocations: 1.308 MB / 0.5049 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007606/0.1695, allocations: 176 kB / 0.5051 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.1719, allocations: 0.8151 MB / 0.5059 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001713/0.1736, allocations: 1.114 MB / 0.507 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002372/0.176, allocations: 0.9663 MB / 0.5079 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007172/0.1832, allocations: 4.412 MB / 0.5122 GB, free: 5.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1832, allocations: 0 / 0.5122 GB, free: 5.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1832, allocations: 0 / 0.5122 GB, free: 5.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000121/0.1833, allocations: 0 / 0.5122 GB, free: 5.371 MB / 382.1 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.007425/0.1907, allocations: 3.174 MB / 0.5153 GB, free: 2.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.1908, allocations: 8.031 kB / 0.5153 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006293/0.1971, allocations: 1.691 MB / 0.517 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3081/0.5051, allocations: 1.408 MB / 0.5184 GB, free: 30.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.5053, allocations: 138.3 kB / 0.5185 GB, free: 30.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006612/0.506, allocations: 175.8 kB / 0.5187 GB, free: 30.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.5186, allocations: 6.774 MB / 0.5253 GB, free: 28.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.641e-05/0.5187, allocations: 33.36 kB / 0.5253 GB, free: 28.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003091/0.519, allocations: 93.66 kB / 0.5254 GB, free: 28.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002781/0.5218, allocations: 1.463 MB / 0.5268 GB, free: 28.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/0.5349, allocations: 5.98 MB / 0.5327 GB, free: 26.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03003/0.565, allocations: 25.88 MB / 0.5579 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004661/0.5696, allocations: 1.873 MB / 0.5598 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.5712, allocations: 0.9931 MB / 0.5607 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.5713, allocations: 8 kB / 0.5607 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/0.5713, allocations: 55.55 kB / 0.5608 GB, free: 2.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 6.332e-06/0.5713, allocations: 0 / 0.5608 GB, free: 2.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.02081/0.5922, allocations: 7.947 MB / 0.5686 GB, free: 10.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.5923, allocations: 170.6 kB / 0.5687 GB, free: 10.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005641/0.5979, allocations: 2.754 MB / 0.5714 GB, free: 7.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002636/0.5982, allocations: 37.7 kB / 0.5714 GB, free: 7.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002454/0.6007, allocations: 2.291 MB / 0.5737 GB, free: 5.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007968/0.6015, allocations: 475 kB / 0.5741 GB, free: 4.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002102/0.6036, allocations: 0.9159 MB / 0.575 GB, free: 3.777 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002537/0.6038, allocations: 361.9 kB / 0.5754 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003231/0.607, allocations: 1.488 MB / 0.5768 GB, free: 1.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006145/0.6132, allocations: 4.364 MB / 0.5811 GB, free: 12.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009354/0.6225, allocations: 6.269 MB / 0.5872 GB, free: 4.418 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001466/0.6227, allocations: 28 kB / 0.5872 GB, free: 4.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.0134/0.6361, allocations: 5.582 MB / 0.5927 GB, free: 14.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.6362, allocations: 48 kB / 0.5927 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002267/0.6365, allocations: 104 kB / 0.5928 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/0.6366, allocations: 132 kB / 0.593 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005081/0.6417, allocations: 1.24 MB / 0.5942 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002588/0.642, allocations: 201.2 kB / 0.5944 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003925/0.6459, allocations: 251.7 kB / 0.5946 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009776/0.6469, allocations: 280 kB / 0.5949 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006214/0.6531, allocations: 2.589 MB / 0.5974 GB, free: 9.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00686/0.66, allocations: 4.345 MB / 0.6016 GB, free: 4.172 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009785/0.6697, allocations: 6.251 MB / 0.6077 GB, free: 12.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001561/0.6699, allocations: 28 kB / 0.6078 GB, free: 12.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01245/0.6824, allocations: 5.562 MB / 0.6132 GB, free: 6.914 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.6825, allocations: 48 kB / 0.6132 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002094/0.6827, allocations: 100 kB / 0.6133 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.6829, allocations: 136 kB / 0.6135 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0049/0.6878, allocations: 1.232 MB / 0.6147 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002281/0.688, allocations: 199.2 kB / 0.6149 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003913/0.6919, allocations: 263.7 kB / 0.6151 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008589/0.6928, allocations: 276 kB / 0.6154 GB, free: 4.68 MB / 446.1 MB 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],idealActuatorPos.revolute.cylinderColor[3],idealActuatorPos.revolute.cylinderColor[2],idealActuatorPos.revolute.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * 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.001763/0.6945, allocations: 0.5437 MB / 0.6159 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007914/0.6953, allocations: 230.5 kB / 0.6161 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/0.6982, allocations: 1.274 MB / 0.6174 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.568e-05/0.6983, allocations: 12 kB / 0.6174 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.6983, allocations: 5.562 kB / 0.6174 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.6983, allocations: 7.984 kB / 0.6174 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009389/0.7077, allocations: 3.631 MB / 0.6209 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.7077, allocations: 0 / 0.6209 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/0.7098, allocations: 379.3 kB / 0.6213 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.886e-05/0.7098, allocations: 4 kB / 0.6213 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.71, allocations: 19.98 kB / 0.6213 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/0.71, allocations: 8 kB / 0.6213 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.71, allocations: 0 / 0.6213 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005365/0.7153, allocations: 3.204 MB / 0.6245 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/0.7167, allocations: 362.3 kB / 0.6248 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005404/0.7173, allocations: 16 kB / 0.6248 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.7185, allocations: 71.89 kB / 0.6249 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.7187, allocations: 52.28 kB / 0.6249 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.099e-05/0.7188, allocations: 38.8 kB / 0.625 GB, free: 10.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003511/0.7223, allocations: 1.569 MB / 0.6265 GB, free: 9.176 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7223, allocations: 4 kB / 0.6265 GB, free: 9.172 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008012/0.7303, allocations: 1.148 MB / 0.6276 GB, free: 8.023 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (88): * Single equations (assignments): 85 * 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.0005437/0.7309, allocations: 145 kB / 0.6278 GB, free: 7.875 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01123/0.7421, allocations: 5.698 MB / 0.6333 GB, free: 2.227 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.7421, allocations: 0 / 0.6333 GB, free: 2.227 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001419/0.7435, allocations: 0.7673 MB / 0.6341 GB, free: 1.461 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.7458, allocations: 258 kB / 0.6343 GB, free: 1.219 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.7585, allocations: 5.848 MB / 0.6401 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003386/0.7619, allocations: 1.74 MB / 0.6418 GB, free: 9.551 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006676/0.7686, allocations: 2.475 MB / 0.6442 GB, free: 7.066 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007997/0.7694, allocations: 163.4 kB / 0.6443 GB, free: 6.906 MB / 478.1 MB Notification: Performance of SimCode: time 2.024e-06/0.7694, allocations: 0 / 0.6443 GB, free: 6.906 MB / 478.1 MB Notification: Performance of Templates: time 0.04583/0.8152, allocations: 20.49 MB / 0.6643 GB, free: 2.711 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.158325744792819] Failed to read output from testmodel.py, exit status != 0: 0.8247669078409672 0.8406360429999999 0.654095179 Calling exit ...