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.001886/0.001886, allocations: 85.48 kB / 19.44 MB, free: 344 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.002416/0.002416, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.03132/0.03132, allocations: 4.082 MB / 263.6 MB, free: 9.07 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.214e-06/2.214e-06, allocations: 0 / 334.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.81e-05, allocations: 6.25 kB / 334.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.006764/0.006793, allocations: 7.714 MB / 341.9 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005584/0.01238, allocations: 3.5 MB / 345.4 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.01343, allocations: 43.75 kB / 345.4 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.01573, allocations: 1.16 MB / 346.6 MB, free: 2.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003021/0.01875, allocations: 1.439 MB / 348 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.0199, allocations: 0.6275 MB / 348.6 MB, free: 208 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004662/0.02457, allocations: 3.17 MB / 351.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002926/0.02749, allocations: 1.751 MB / 353.6 MB, free: 11.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002761/0.03025, allocations: 1.415 MB / 355 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/0.033, allocations: 1.446 MB / 356.4 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005089/0.03351, allocations: 184 kB / 356.6 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.0354, allocations: 0.854 MB / 357.5 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0017/0.0371, allocations: 1.172 MB / 358.6 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.03839, allocations: 0.7397 MB / 359.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006387/0.04478, allocations: 4.407 MB / 363.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.04478, allocations: 0 / 363.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.04478, allocations: 0 / 363.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001242/0.04491, allocations: 4 kB / 363.8 MB, free: 1 MB / 282.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.008355/0.05326, allocations: 3.76 MB / 367.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.05331, allocations: 8.031 kB / 367.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007232/0.06054, allocations: 2.031 MB / 369.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003594/0.06413, allocations: 1.324 MB / 370.9 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.06429, allocations: 131.7 kB / 371 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004307/0.06473, allocations: 180.2 kB / 371.2 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009188/0.07391, allocations: 4.439 MB / 375.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.471e-05/0.074, allocations: 27.75 kB / 375.7 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/0.07429, allocations: 91.89 kB / 375.8 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002891/0.07718, allocations: 1.456 MB / 377.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008119/0.0853, allocations: 2.515 MB / 379.7 MB, free: 236 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.189/0.2743, allocations: 33.87 MB / 413.6 MB, free: 54.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003966/0.2783, allocations: 1.063 MB / 414.7 MB, free: 53.94 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009539/0.2792, allocations: 372.8 kB / 415 MB, free: 53.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-05/0.2793, allocations: 15.72 kB / 415.1 MB, free: 53.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.2793, allocations: 51.16 kB / 415.1 MB, free: 53.85 MB / 330.7 MB Notification: Performance of pre-optimization done (n=102): time 4.338e-06/0.2793, allocations: 0 / 415.1 MB, free: 53.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=110): time 0.01537/0.2947, allocations: 5.771 MB / 420.9 MB, free: 52.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.2948, allocations: 169.1 kB / 421 MB, free: 51.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003509/0.2983, allocations: 3.199 MB / 424.2 MB, free: 51.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000178/0.2985, allocations: 40.73 kB / 424.3 MB, free: 51.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.2996, allocations: 2.554 MB / 426.8 MB, free: 50.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005111/0.3002, allocations: 0.5003 MB / 427.3 MB, free: 49.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.3013, allocations: 1.131 MB / 428.5 MB, free: 49.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3015, allocations: 0.5707 MB / 429 MB, free: 48.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.3027, allocations: 0.5605 MB / 429.6 MB, free: 48.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002369/0.305, allocations: 4.934 MB / 434.5 MB, free: 42.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004119/0.3092, allocations: 5.965 MB / 440.5 MB, free: 35.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-05/0.3093, allocations: 35.94 kB / 440.5 MB, free: 35.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.0066/0.3159, allocations: 3.965 MB / 444.5 MB, free: 31.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.992e-05/0.3159, allocations: 50.19 kB / 444.5 MB, free: 31.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.068e-05/0.316, allocations: 100 kB / 444.6 MB, free: 31.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-05/0.3161, allocations: 139.6 kB / 444.8 MB, free: 31.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003777/0.3199, allocations: 1.236 MB / 446 MB, free: 29.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001041/0.32, allocations: 199.2 kB / 446.2 MB, free: 29.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003176/0.3232, allocations: 287.8 kB / 446.5 MB, free: 29.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004001/0.3236, allocations: 280 kB / 446.8 MB, free: 29.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002/0.3256, allocations: 0.8158 MB / 447.6 MB, free: 28.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002319/0.3279, allocations: 4.925 MB / 452.5 MB, free: 21.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004199/0.3321, allocations: 5.946 MB / 458.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.034e-05/0.3322, allocations: 28 kB / 458.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.006366/0.3385, allocations: 3.945 MB / 462.4 MB, free: 9.586 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.3386, allocations: 48 kB / 462.5 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.389e-05/0.3387, allocations: 104.8 kB / 462.6 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.464e-05/0.3388, allocations: 132 kB / 462.7 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003667/0.3424, allocations: 1.236 MB / 463.9 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001086/0.3425, allocations: 203.2 kB / 464.1 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/0.3456, allocations: 283.5 kB / 464.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003725/0.346, allocations: 280 kB / 464.7 MB, free: 7.324 MB / 330.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.001101/0.3471, allocations: 0.6246 MB / 465.3 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006372/0.3477, allocations: 257.5 kB / 465.6 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.3493, allocations: 0.7019 MB / 466.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.3493, allocations: 12 kB / 466.3 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.3493, allocations: 7.938 kB / 466.3 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3493, allocations: 3.984 kB / 466.3 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007383/0.3567, allocations: 3.717 MB / 470 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.3567, allocations: 4.031 kB / 470 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/0.3586, allocations: 371.4 kB / 470.4 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.3586, allocations: 4 kB / 470.4 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.3587, allocations: 16 kB / 470.4 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.3587, allocations: 4 kB / 470.4 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3587, allocations: 11.88 kB / 470.4 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.3614, allocations: 1.725 MB / 472.1 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/0.3629, allocations: 362.2 kB / 472.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005186/0.3634, allocations: 20 kB / 472.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.3648, allocations: 91.86 kB / 472.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.365, allocations: 68.2 kB / 472.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-05/0.3651, allocations: 32.55 kB / 472.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003052/0.3681, allocations: 1.315 MB / 474 MB, free: 13.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3681, allocations: 0 / 474 MB, free: 13.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007632/0.3757, allocations: 1.234 MB / 475.2 MB, free: 12.69 MB / 346.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.000537/0.3763, allocations: 158.9 kB / 475.4 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01035/0.3866, allocations: 4.183 MB / 479.6 MB, free: 8.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/0.3866, allocations: 0 / 479.6 MB, free: 8.363 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.3877, allocations: 400.2 kB / 480 MB, free: 7.973 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/0.3901, allocations: 275 kB / 480.2 MB, free: 7.719 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.4011, allocations: 4.796 MB / 485 MB, free: 2.863 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002929/0.404, allocations: 1.566 MB / 486.6 MB, free: 1.273 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005952/0.41, allocations: 2.197 MB / 488.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007253/0.4107, allocations: 164.5 kB / 489 MB, free: 14.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.964e-06/0.4107, allocations: 0 / 489 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Templates: time 0.04781/0.4585, allocations: 19.02 MB / 0.4961 GB, free: 12.29 MB / 378.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: 5.899514965014532]