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.00206/0.00206, allocations: 80.14 kB / 19.18 MB, free: 2.516 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.002948/0.002948, allocations: 162.8 kB / 22.45 MB, free: 5.375 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: 177.1 MB / 202.8 MB, free: 9.176 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.02781/0.02781, allocations: 4.092 MB / 263.3 MB, free: 12.69 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: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 388.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/3e-05, allocations: 2.281 kB / 388.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.009583/0.009613, allocations: 7.135 MB / 395.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007359/0.01697, allocations: 3.395 MB / 398.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.018, allocations: 39.81 kB / 398.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.02085, allocations: 1.132 MB / 399.8 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00378/0.02463, allocations: 1.438 MB / 401.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.02616, allocations: 0.6158 MB / 401.8 MB, free: 500 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004377/0.03054, allocations: 3.174 MB / 405 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002839/0.03338, allocations: 1.699 MB / 406.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/0.03613, allocations: 1.411 MB / 408.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002466/0.0386, allocations: 1.418 MB / 409.5 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004994/0.0391, allocations: 180 kB / 409.7 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.04094, allocations: 0.854 MB / 410.6 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.04225, allocations: 1.165 MB / 411.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.0436, allocations: 0.7397 MB / 412.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005458/0.04906, allocations: 4.403 MB / 416.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.04906, allocations: 0 / 416.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.04907, allocations: 0 / 416.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.676e-05/0.04914, allocations: 0 / 416.9 MB, free: 1.391 MB / 334.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.006792/0.05593, allocations: 3.194 MB / 420.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.05598, allocations: 12.03 kB / 420.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006783/0.06276, allocations: 1.762 MB / 421.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.0656, allocations: 1.407 MB / 423.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.06575, allocations: 135.7 kB / 423.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003806/0.06613, allocations: 180.2 kB / 423.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/0.07742, allocations: 6.786 MB / 430.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.513e-05/0.0775, allocations: 27.75 kB / 430.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.07779, allocations: 95.89 kB / 430.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002711/0.08051, allocations: 1.448 MB / 431.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.0925, allocations: 6.001 MB / 437.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1863/0.2788, allocations: 25.97 MB / 463.9 MB, free: 46.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004944/0.2837, allocations: 1.917 MB / 465.8 MB, free: 45.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.2852, allocations: 0.9998 MB / 466.8 MB, free: 45.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.909e-05/0.2853, allocations: 16.62 kB / 466.8 MB, free: 45.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2853, allocations: 44.03 kB / 466.9 MB, free: 45.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 3.667e-06/0.2853, allocations: 0.5312 kB / 466.9 MB, free: 45.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.0189/0.3042, allocations: 8.225 MB / 475.1 MB, free: 42.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/0.3043, allocations: 165.2 kB / 475.2 MB, free: 42.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003679/0.3079, allocations: 2.826 MB / 478.1 MB, free: 40.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002683/0.3082, allocations: 39.61 kB / 478.1 MB, free: 40.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.3095, allocations: 2.268 MB / 480.4 MB, free: 38.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000577/0.3101, allocations: 466.5 kB / 480.8 MB, free: 38.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/0.3113, allocations: 0.8928 MB / 481.7 MB, free: 38.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3114, allocations: 356 kB / 482.1 MB, free: 37.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.3134, allocations: 1.509 MB / 483.6 MB, free: 36.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00272/0.3161, allocations: 4.365 MB / 487.9 MB, free: 32.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005083/0.3212, allocations: 6.288 MB / 494.2 MB, free: 24.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.667e-05/0.3212, allocations: 28.88 kB / 494.3 MB, free: 24.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.0074/0.3286, allocations: 5.599 MB / 499.9 MB, free: 18.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.985e-05/0.3287, allocations: 48 kB / 499.9 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.337e-05/0.3288, allocations: 100.8 kB / 0.4883 GB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001019/0.3289, allocations: 136 kB / 0.4884 GB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003888/0.3328, allocations: 1.244 MB / 0.4896 GB, free: 17.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001036/0.3329, allocations: 199.2 kB / 0.4898 GB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003109/0.336, allocations: 318.4 kB / 0.4901 GB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003184/0.3363, allocations: 279.7 kB / 0.4904 GB, free: 16.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003308/0.3396, allocations: 2.597 MB / 0.4929 GB, free: 13.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002866/0.3425, allocations: 4.357 MB / 0.4972 GB, free: 8.133 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005115/0.3476, allocations: 6.268 MB / 0.5033 GB, free: 456 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.165e-05/0.3476, allocations: 28 kB / 0.5033 GB, free: 428 kB / 366.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01094/0.3586, allocations: 5.57 MB / 0.5088 GB, free: 10.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.3587, allocations: 52.88 kB / 0.5088 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000119/0.3588, allocations: 100 kB / 0.5089 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.3589, allocations: 132 kB / 0.509 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004765/0.3637, allocations: 1.248 MB / 0.5103 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001971/0.3639, allocations: 195.2 kB / 0.5104 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003464/0.3673, allocations: 303.6 kB / 0.5107 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005105/0.3679, allocations: 279 kB / 0.511 GB, free: 8.566 MB / 382.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.001094/0.369, allocations: 0.551 MB / 0.5115 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005481/0.3695, allocations: 230.4 kB / 0.5118 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/0.372, allocations: 1.281 MB / 0.513 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/0.372, allocations: 16 kB / 0.513 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.372, allocations: 0 / 0.513 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.3721, allocations: 3.984 kB / 0.513 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007492/0.3795, allocations: 3.679 MB / 0.5166 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.3796, allocations: 0 / 0.5166 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/0.3818, allocations: 371.4 kB / 0.517 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/0.3818, allocations: 7.938 kB / 0.517 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.32e-05/0.3819, allocations: 24.03 kB / 0.517 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.545e-05/0.3819, allocations: 11.92 kB / 0.517 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3819, allocations: 0 / 0.517 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005032/0.3869, allocations: 3.191 MB / 0.5201 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.388, allocations: 390.2 kB / 0.5205 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/0.3883, allocations: 24.69 kB / 0.5205 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.3895, allocations: 111.8 kB / 0.5206 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.3897, allocations: 52.34 kB / 0.5207 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.3898, allocations: 32 kB / 0.5207 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002867/0.3927, allocations: 1.632 MB / 0.5223 GB, free: 12.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3927, allocations: 0 / 0.5223 GB, free: 12.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006354/0.3991, allocations: 1.227 MB / 0.5235 GB, free: 11.68 MB / 398.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.000482/0.3995, allocations: 163 kB / 0.5237 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01074/0.4103, allocations: 5.725 MB / 0.5293 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.4103, allocations: 0 / 0.5293 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.4117, allocations: 0.7601 MB / 0.53 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.4136, allocations: 261.5 kB / 0.5302 GB, free: 4.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.4242, allocations: 5.77 MB / 0.5359 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002437/0.4267, allocations: 1.738 MB / 0.5376 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00584/0.4325, allocations: 2.481 MB / 0.54 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006239/0.4331, allocations: 168.5 kB / 0.5402 GB, free: 10.62 MB / 414.1 MB Notification: Performance of SimCode: time 1.402e-06/0.4331, allocations: 0 / 0.5402 GB, free: 10.62 MB / 414.1 MB Notification: Performance of Templates: time 0.04742/0.4806, allocations: 18.96 MB / 0.5587 GB, free: 8.047 MB / 430.1 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=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.686301041394472] Failed to read output from testmodel.py, exit status != 0: 0.49082646146416664 0.507993605 0.45540790299999995 Calling exit ...