Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_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.0007823/0.0007823, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.0008834/0.0008834, allocations: 165 kB / 24.05 MB, free: 452 kB / 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 0.9196/0.9196, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.01869/0.01869, allocations: 4.082 MB / 265.1 MB, free: 8.871 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.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") translateModel(DeltaRobot.Tests.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 336.1 MB, free: 15.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.79e-05, allocations: 2.312 kB / 336.1 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.008725/0.008743, allocations: 7.567 MB / 343.7 MB, free: 7.574 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005876/0.01462, allocations: 3.411 MB / 347.1 MB, free: 4.152 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006084/0.01523, allocations: 39.81 kB / 347.1 MB, free: 4.113 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.01721, allocations: 1.148 MB / 348.3 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.01951, allocations: 1.447 MB / 349.7 MB, free: 1.508 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.02009, allocations: 0.5728 MB / 350.3 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001933/0.02202, allocations: 3.13 MB / 353.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.0233, allocations: 1.712 MB / 355.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.02436, allocations: 1.422 MB / 356.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.02543, allocations: 1.414 MB / 358 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.0256, allocations: 172 kB / 358.1 MB, free: 9.055 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008349/0.02644, allocations: 0.8501 MB / 359 MB, free: 8.203 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000608/0.02705, allocations: 1.157 MB / 360.1 MB, free: 7.043 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005058/0.02755, allocations: 0.7241 MB / 360.9 MB, free: 6.316 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.02975, allocations: 2.957 MB / 363.8 MB, free: 3.348 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.02975, allocations: 4 kB / 363.8 MB, free: 3.344 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.02975, allocations: 0 / 363.8 MB, free: 3.344 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.307e-05/0.02977, allocations: 0 / 363.8 MB, free: 3.344 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: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.002986/0.03276, allocations: 3.308 MB / 367.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.03279, allocations: 8.031 kB / 367.1 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/0.03522, allocations: 1.119 MB / 368.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.03661, allocations: 1.193 MB / 369.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.03667, allocations: 135.6 kB / 369.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.03688, allocations: 188.2 kB / 369.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003082/0.03996, allocations: 3.718 MB / 373.5 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.689e-05/0.04001, allocations: 31.7 kB / 373.5 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.04017, allocations: 87.89 kB / 373.6 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009944/0.04116, allocations: 1.226 MB / 374.8 MB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/0.04363, allocations: 1.652 MB / 376.5 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01618/0.05981, allocations: 30.47 MB / 407 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.06118, allocations: 0.7379 MB / 407.7 MB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.06142, allocations: 220 kB / 407.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002207/0.06362, allocations: 2.429 MB / 410.3 MB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.06365, allocations: 53.33 kB / 410.4 MB, free: 2.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 2.215e-06/0.06365, allocations: 0 / 410.4 MB, free: 2.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.003898/0.06755, allocations: 2.105 MB / 412.5 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.0676, allocations: 140.5 kB / 412.6 MB, free: 460 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.06941, allocations: 2.63 MB / 415.3 MB, free: 13.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.06944, allocations: 37.7 kB / 415.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.07049, allocations: 2.496 MB / 417.8 MB, free: 11.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.0707, allocations: 393.3 kB / 418.2 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000867/0.07156, allocations: 0.9799 MB / 419.2 MB, free: 9.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.07172, allocations: 0.5471 MB / 419.7 MB, free: 9.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/0.07221, allocations: 368.5 kB / 420.1 MB, free: 8.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/0.075, allocations: 4.768 MB / 424.8 MB, free: 2.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003764/0.07876, allocations: 5.684 MB / 430.5 MB, free: 10.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-05/0.0788, allocations: 32 kB / 430.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.003361/0.08216, allocations: 3.512 MB / 434.1 MB, free: 6.836 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.0822, allocations: 48 kB / 434.1 MB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-05/0.08226, allocations: 108 kB / 434.2 MB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.663e-05/0.08234, allocations: 136 kB / 434.3 MB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.0839, allocations: 1.01 MB / 435.4 MB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001017/0.084, allocations: 211.5 kB / 435.6 MB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.08537, allocations: 203.8 kB / 435.8 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/0.08557, allocations: 244 kB / 436 MB, free: 4.895 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: idealActuatorVel.revolute.phi:VARIABLE(start = idealActuatorVel.actuatorParameters.initialAngle unit = \"rad\" fixed = true stateSelect=StateSelect.prefer ) \"Relative rotation angle from frame_a to frame_b\" type: Real idealActuatorVel.revolute.w:VARIABLE(start = 0.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.prefer ) \"First derivative of angle phi (relative angular velocity)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 482 * Number of states: 0 () * Number of discrete variables: 18 (idealActuatorVel.revolute.cylinderColor[1],idealActuatorVel.revolute.cylinderColor[2],idealActuatorVel.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 (550): * Single equations (assignments): 547 * 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.0008837/0.08645, allocations: 0.5358 MB / 436.5 MB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.0867, allocations: 246.4 kB / 436.8 MB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/0.08712, allocations: 378.5 kB / 437.1 MB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.08713, allocations: 12 kB / 437.2 MB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.08714, allocations: 4 kB / 437.2 MB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.08715, allocations: 7.984 kB / 437.2 MB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/0.09017, allocations: 2.393 MB / 439.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.09018, allocations: 4 kB / 439.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.0905, allocations: 120 kB / 439.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.0905, allocations: 4 kB / 439.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.09053, allocations: 16 kB / 439.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.09054, allocations: 4 kB / 439.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.09054, allocations: 4 kB / 439.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1542/0.2447, allocations: 1.263 MB / 441 MB, free: 128.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007162/0.2454, allocations: 212 kB / 441.2 MB, free: 128.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.2456, allocations: 20.86 kB / 441.2 MB, free: 128.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.2461, allocations: 20.97 kB / 441.2 MB, free: 128.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.2462, allocations: 52.08 kB / 441.3 MB, free: 128.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.2462, allocations: 23.28 kB / 441.3 MB, free: 128.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001056/0.2473, allocations: 1.044 MB / 442.3 MB, free: 128.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2473, allocations: 3.125 kB / 442.3 MB, free: 128.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002271/0.2495, allocations: 0.6205 MB / 443 MB, free: 128.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (idealActuatorVel.revolute.phi,idealActuatorVel.revolute.w,idealActuatorVel.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 (62): * Single equations (assignments): 59 * 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.0002612/0.2498, allocations: 157.7 kB / 443.1 MB, free: 128.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.2518, allocations: 1.731 MB / 444.8 MB, free: 128.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2518, allocations: 0 / 444.8 MB, free: 128.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.252, allocations: 203.2 kB / 445 MB, free: 128.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008914/0.2528, allocations: 256.5 kB / 445.3 MB, free: 128.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/0.258, allocations: 4.511 MB / 449.8 MB, free: 126.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.2585, allocations: 0.7693 MB / 450.6 MB, free: 126.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000707/0.2593, allocations: 341.8 kB / 450.9 MB, free: 126.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/0.2596, allocations: 394.7 kB / 451.3 MB, free: 126 MB / 410.7 MB Notification: Performance of SimCode: time 1.413e-06/0.2597, allocations: 0 / 451.3 MB, free: 126 MB / 410.7 MB Notification: Performance of Templates: time 0.02508/0.2847, allocations: 16.72 MB / 468 MB, free: 124.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.makefile [Timeout 660] (rm -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.sim & ./DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5430833250284195]