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.0008988/0.0008988, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001625/0.001625, allocations: 165 kB / 23.02 MB, free: 1.547 MB / 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 1.101/1.101, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.01658/0.01658, allocations: 4.086 MB / 264 MB, free: 9.047 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 2.094e-06/2.094e-06, allocations: 3.938 kB / 334.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.869e-05, allocations: 4.562 kB / 334.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.006988/0.007017, allocations: 7.775 MB / 342.7 MB, free: 7.652 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005212/0.01223, allocations: 3.528 MB / 346.2 MB, free: 4.113 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006316/0.01286, allocations: 47.75 kB / 346.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.01435, allocations: 1.156 MB / 347.4 MB, free: 2.906 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.01662, allocations: 1.447 MB / 348.8 MB, free: 1.453 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000949/0.01757, allocations: 0.6275 MB / 349.5 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00261/0.02018, allocations: 3.173 MB / 352.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.02208, allocations: 1.755 MB / 354.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.02378, allocations: 1.415 MB / 355.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001818/0.02559, allocations: 1.453 MB / 357.3 MB, free: 8.996 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003209/0.02591, allocations: 184 kB / 357.4 MB, free: 8.816 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.02698, allocations: 0.8501 MB / 358.3 MB, free: 7.965 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007251/0.0277, allocations: 1.168 MB / 359.5 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006511/0.02836, allocations: 0.7358 MB / 360.2 MB, free: 6.055 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.03094, allocations: 2.993 MB / 363.2 MB, free: 3.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.03094, allocations: 0 / 363.2 MB, free: 3.051 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.03095, allocations: 0 / 363.2 MB, free: 3.051 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.182e-05/0.03101, allocations: 4 kB / 363.2 MB, free: 3.047 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.00399/0.035, allocations: 3.48 MB / 366.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.03504, allocations: 8.031 kB / 366.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003799/0.03884, allocations: 2.035 MB / 368.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.04046, allocations: 1.325 MB / 370 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-05/0.04055, allocations: 135.7 kB / 370.2 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.04078, allocations: 172.3 kB / 370.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004204/0.04498, allocations: 4.125 MB / 374.5 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.04503, allocations: 31.7 kB / 374.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.0452, allocations: 91.89 kB / 374.6 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001412/0.04661, allocations: 1.452 MB / 376 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/0.05024, allocations: 2.196 MB / 378.2 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02031/0.07054, allocations: 31.51 MB / 409.7 MB, free: 2.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/0.07309, allocations: 0.9475 MB / 410.7 MB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.07367, allocations: 343.2 kB / 411 MB, free: 1.277 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.729e-05/0.07372, allocations: 16 kB / 411 MB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.07375, allocations: 41.39 kB / 411.1 MB, free: 1.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 3.987e-06/0.07376, allocations: 0 / 411.1 MB, free: 1.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=110): time 0.01179/0.08555, allocations: 5.555 MB / 416.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.08563, allocations: 166.7 kB / 416.8 MB, free: 11.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002767/0.08839, allocations: 2.57 MB / 419.4 MB, free: 8.785 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.655e-05/0.08846, allocations: 45.64 kB / 419.4 MB, free: 8.734 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001513/0.08997, allocations: 2.407 MB / 421.8 MB, free: 6.301 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.09035, allocations: 484.5 kB / 422.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.09143, allocations: 0.9845 MB / 423.3 MB, free: 4.824 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.09161, allocations: 0.5355 MB / 423.8 MB, free: 4.281 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009958/0.0926, allocations: 498.6 kB / 424.3 MB, free: 3.773 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003188/0.09579, allocations: 4.718 MB / 429 MB, free: 13.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004849/0.1006, allocations: 5.68 MB / 434.7 MB, free: 5.453 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.331e-05/0.1007, allocations: 39.94 kB / 434.7 MB, free: 5.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.005546/0.1062, allocations: 3.798 MB / 438.5 MB, free: 1.613 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.845e-05/0.1063, allocations: 48 kB / 438.6 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002339/0.1065, allocations: 104 kB / 438.7 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001167/0.1066, allocations: 132 kB / 438.8 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003064/0.1097, allocations: 1.236 MB / 440 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1489/0.2586, allocations: 195.9 kB / 440.2 MB, free: 125.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/0.261, allocations: 283.6 kB / 440.5 MB, free: 125.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/0.2613, allocations: 285 kB / 440.8 MB, free: 125.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001368/0.2627, allocations: 0.6658 MB / 441.5 MB, free: 125.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001762/0.2644, allocations: 4.721 MB / 446.2 MB, free: 120 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003161/0.2676, allocations: 5.672 MB / 451.8 MB, free: 114.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.946e-05/0.2676, allocations: 28.56 kB / 451.9 MB, free: 114.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.004008/0.2716, allocations: 3.809 MB / 455.7 MB, free: 113.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.2717, allocations: 48.62 kB / 455.7 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.325e-05/0.2717, allocations: 101 kB / 455.8 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.86e-05/0.2718, allocations: 133.8 kB / 456 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.2739, allocations: 1.237 MB / 457.2 MB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.223e-05/0.274, allocations: 204.5 kB / 457.4 MB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.2755, allocations: 277.2 kB / 457.7 MB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.2757, allocations: 286.8 kB / 457.9 MB, free: 113.7 MB / 410.7 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.0005345/0.2762, allocations: 0.6272 MB / 458.6 MB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.2765, allocations: 255.1 kB / 458.8 MB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007704/0.2773, allocations: 0.6329 MB / 459.5 MB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.2773, allocations: 12.66 kB / 459.5 MB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.2773, allocations: 3.25 kB / 459.5 MB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.2773, allocations: 10.84 kB / 459.5 MB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/0.2808, allocations: 3.066 MB / 462.6 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2808, allocations: 3.938 kB / 462.6 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009292/0.2817, allocations: 368.2 kB / 462.9 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.2817, allocations: 7.906 kB / 462.9 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.2818, allocations: 20.78 kB / 462.9 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2818, allocations: 6.344 kB / 462.9 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2818, allocations: 0 / 462.9 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.2831, allocations: 1.568 MB / 464.5 MB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/0.2835, allocations: 368.8 kB / 464.9 MB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.2836, allocations: 20.19 kB / 464.9 MB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/0.2841, allocations: 91.97 kB / 465 MB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.2842, allocations: 56.58 kB / 465 MB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.2843, allocations: 30.69 kB / 465.1 MB, free: 112.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009063/0.2852, allocations: 1.092 MB / 466.2 MB, free: 111.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2852, allocations: 7.031 kB / 466.2 MB, free: 111.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003047/0.2882, allocations: 1.23 MB / 467.4 MB, free: 111.8 MB / 410.7 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.0002943/0.2885, allocations: 157.8 kB / 467.6 MB, free: 111.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003514/0.292, allocations: 3.698 MB / 471.3 MB, free: 110.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.292, allocations: 0 / 471.3 MB, free: 110.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.2924, allocations: 335.2 kB / 471.6 MB, free: 110.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000875/0.2933, allocations: 279.1 kB / 471.9 MB, free: 110.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.2982, allocations: 4.711 MB / 476.6 MB, free: 108 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.2987, allocations: 0.7896 MB / 477.4 MB, free: 107.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002606/0.3013, allocations: 2.198 MB / 479.6 MB, free: 107.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/0.3016, allocations: 163.5 kB / 479.7 MB, free: 107.5 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.3016, allocations: 0 / 479.7 MB, free: 107.5 MB / 410.7 MB Notification: Performance of Templates: time 0.02476/0.3263, allocations: 19.02 MB / 498.7 MB, free: 98.87 MB / 410.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.8302651629783213]