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.001033/0.001033, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001227/0.001227, allocations: 177 kB / 23.36 MB, free: 1.129 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.09/1.09, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.02689/0.02689, allocations: 4.098 MB / 264.4 MB, free: 8.914 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 / 282.1 MB, free: 7.156 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.473e-05, allocations: 2.312 kB / 282.1 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.1221/0.1221, allocations: 7.673 MB / 289.8 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005743/0.1279, allocations: 3.599 MB / 293.4 MB, free: 18.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00064/0.1285, allocations: 47.59 kB / 293.4 MB, free: 18.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.1301, allocations: 1.147 MB / 294.6 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.1325, allocations: 1.422 MB / 296 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009992/0.1335, allocations: 0.6278 MB / 296.6 MB, free: 17.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002891/0.1364, allocations: 3.165 MB / 299.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002767/0.1391, allocations: 1.691 MB / 301.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.1419, allocations: 1.412 MB / 302.9 MB, free: 15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002173/0.144, allocations: 1.368 MB / 304.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007086/0.1448, allocations: 178.6 kB / 304.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.1466, allocations: 0.8764 MB / 305.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000965/0.1475, allocations: 1.166 MB / 306.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.1487, allocations: 0.7331 MB / 307.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003823/0.1525, allocations: 2.981 MB / 310.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1525, allocations: 0 / 310.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1525, allocations: 4 kB / 310.2 MB, free: 9.781 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.699e-05/0.1526, allocations: 0 / 310.2 MB, free: 9.781 MB / 266.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.004146/0.1567, allocations: 2.912 MB / 313.1 MB, free: 6.832 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1568, allocations: 8.031 kB / 313.1 MB, free: 6.824 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/0.1602, allocations: 0.8279 MB / 314 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.162, allocations: 1.119 MB / 315.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.22e-05/0.1621, allocations: 131.7 kB / 315.2 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003292/0.1624, allocations: 184.2 kB / 315.4 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00437/0.1668, allocations: 3.319 MB / 318.7 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.171e-05/0.1669, allocations: 31.7 kB / 318.7 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.1671, allocations: 91.89 kB / 318.8 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001586/0.1687, allocations: 1.226 MB / 320 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00438/0.1731, allocations: 1.675 MB / 321.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02332/0.1964, allocations: 21.75 MB / 343.5 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.1987, allocations: 0.7634 MB / 344.2 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.199, allocations: 175.4 kB / 344.4 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003949/0.203, allocations: 2.032 MB / 346.4 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.203, allocations: 42.8 kB / 346.5 MB, free: 3.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=81): time 4.568e-06/0.203, allocations: 0 / 346.5 MB, free: 3.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=84): time 0.006041/0.209, allocations: 1.972 MB / 348.5 MB, free: 1.945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.2091, allocations: 170.2 kB / 348.6 MB, free: 1.742 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/0.2122, allocations: 2.348 MB / 351 MB, free: 15.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/0.2122, allocations: 33.7 kB / 351 MB, free: 15.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001588/0.2138, allocations: 2.237 MB / 353.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/0.2141, allocations: 385.3 kB / 353.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009552/0.2151, allocations: 0.8344 MB / 354.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2152, allocations: 365.8 kB / 354.8 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.2164, allocations: 0.5258 MB / 355.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003225/0.2196, allocations: 3.39 MB / 358.7 MB, free: 6.027 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004348/0.2239, allocations: 4.282 MB / 363 MB, free: 264 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.927e-05/0.224, allocations: 32 kB / 363 MB, free: 232 kB / 314.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.006036/0.2301, allocations: 2.992 MB / 366 MB, free: 13.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.917e-05/0.2301, allocations: 49.75 kB / 366.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/0.2303, allocations: 112 kB / 366.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.2304, allocations: 136 kB / 366.3 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00308/0.2335, allocations: 1.057 MB / 367.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001894/0.2337, allocations: 203.2 kB / 367.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/0.2369, allocations: 211.8 kB / 367.8 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003845/0.2372, allocations: 240.6 kB / 368 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002051/0.2393, allocations: 0.6815 MB / 368.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003258/0.2425, allocations: 3.386 MB / 372.1 MB, free: 5.648 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004943/0.2475, allocations: 4.258 MB / 376.3 MB, free: 15.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.3e-05/0.2476, allocations: 32 kB / 376.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=575) (initialization_lambda0): time 0.003523/0.2511, allocations: 2.997 MB / 379.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.2511, allocations: 52 kB / 379.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-05/0.2512, allocations: 104 kB / 379.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.801e-05/0.2513, allocations: 140 kB / 379.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.2531, allocations: 1.069 MB / 380.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.963e-05/0.2532, allocations: 203.2 kB / 380.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.2547, allocations: 211.7 kB / 381.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.255, allocations: 244 kB / 381.4 MB, free: 10.86 MB / 346.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.0007066/0.2557, allocations: 0.5453 MB / 381.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.2559, allocations: 139.8 kB / 382.1 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/0.2563, allocations: 350.3 kB / 382.4 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.2563, allocations: 8 kB / 382.4 MB, free: 9.812 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2563, allocations: 8 kB / 382.4 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2563, allocations: 0 / 382.4 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.259, allocations: 2.05 MB / 384.5 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.259, allocations: 4.219 kB / 384.5 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004027/0.2594, allocations: 135.8 kB / 384.6 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.2594, allocations: 7.938 kB / 384.6 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.2595, allocations: 12 kB / 384.6 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.2595, allocations: 12.53 kB / 384.6 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2595, allocations: 0 / 384.6 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008338/0.2603, allocations: 1.072 MB / 385.7 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.2606, allocations: 262.3 kB / 386 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.2607, allocations: 15.94 kB / 386 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.2611, allocations: 31.72 kB / 386 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.2612, allocations: 47.86 kB / 386.1 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.2612, allocations: 20 kB / 386.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007719/0.262, allocations: 0.9503 MB / 387 MB, free: 5.086 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.262, allocations: 0 / 387 MB, free: 5.086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003292/0.2653, allocations: 1.172 MB / 388.2 MB, free: 3.914 MB / 346.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.0002349/0.2655, allocations: 152 kB / 388.3 MB, free: 3.758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002834/0.2683, allocations: 3.11 MB / 391.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.014e-05/0.2684, allocations: 59.94 kB / 391.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.2686, allocations: 179.7 kB / 391.7 MB, free: 428 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009933/0.2696, allocations: 387.2 kB / 392.1 MB, free: 44 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/0.2743, allocations: 4.579 MB / 396.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/0.275, allocations: 0.7611 MB / 397.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001071/0.2761, allocations: 444.7 kB / 397.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004858/0.2765, allocations: 369.3 kB / 398.2 MB, free: 9.793 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2765, allocations: 0 / 398.2 MB, free: 9.793 MB / 362.7 MB Notification: Performance of Templates: time 0.02721/0.3038, allocations: 18.48 MB / 416.7 MB, free: 7.605 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.47338166506961]