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.0008857/0.0008857, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009894/0.0009894, allocations: 165 kB / 23.02 MB, free: 1.551 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.046/1.046, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.02155/0.02155, allocations: 4.092 MB / 264 MB, free: 9.066 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.613e-06/1.613e-06, allocations: 0 / 334.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.985e-05, allocations: 6.312 kB / 334.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.005435/0.005455, allocations: 7.711 MB / 342.6 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003887/0.009342, allocations: 3.433 MB / 346 MB, free: 3.223 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004199/0.009762, allocations: 43.75 kB / 346.1 MB, free: 3.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.01105, allocations: 1.163 MB / 347.2 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.01252, allocations: 1.439 MB / 348.7 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.01309, allocations: 0.5729 MB / 349.2 MB, free: 15.99 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.01543, allocations: 3.118 MB / 352.4 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.01685, allocations: 1.716 MB / 354.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.01799, allocations: 1.391 MB / 355.5 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.01913, allocations: 1.426 MB / 356.9 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.01931, allocations: 176 kB / 357.1 MB, free: 8.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008659/0.02018, allocations: 0.8501 MB / 357.9 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006276/0.0208, allocations: 1.157 MB / 359.1 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005251/0.02133, allocations: 0.7319 MB / 359.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.02344, allocations: 2.969 MB / 362.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.02344, allocations: 0 / 362.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.02345, allocations: 4 kB / 362.8 MB, free: 2.398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.02347, allocations: 0 / 362.8 MB, free: 2.398 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: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.003258/0.02672, allocations: 3.441 MB / 366.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.02677, allocations: 8.031 kB / 366.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00386/0.03063, allocations: 2.031 MB / 368.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.03203, allocations: 1.285 MB / 369.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.111e-05/0.0321, allocations: 135.6 kB / 369.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.03232, allocations: 176.2 kB / 369.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003957/0.03628, allocations: 4.078 MB / 373.9 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-05/0.03633, allocations: 31.7 kB / 374 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/0.03649, allocations: 87.89 kB / 374 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001376/0.03787, allocations: 1.464 MB / 375.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003318/0.04119, allocations: 2.184 MB / 377.7 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01737/0.05856, allocations: 31.47 MB / 409.2 MB, free: 2.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.06056, allocations: 0.9604 MB / 410.1 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004373/0.06099, allocations: 338.5 kB / 410.5 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/0.06104, allocations: 16 kB / 410.5 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.06106, allocations: 49.38 kB / 410.5 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of pre-optimization done (n=101): time 4.349e-06/0.06107, allocations: 0 / 410.5 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of matching and sorting (n=109): time 0.1574/0.2185, allocations: 5.505 MB / 416 MB, free: 73.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.2185, allocations: 141.1 kB / 416.2 MB, free: 73.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.221, allocations: 2.562 MB / 418.7 MB, free: 73.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.824e-05/0.2211, allocations: 42.22 kB / 418.8 MB, free: 73.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.2221, allocations: 2.411 MB / 421.2 MB, free: 72.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/0.2225, allocations: 481.5 kB / 421.6 MB, free: 71.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/0.2235, allocations: 0.9673 MB / 422.6 MB, free: 71.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2236, allocations: 0.5405 MB / 423.2 MB, free: 71.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009101/0.2245, allocations: 459.3 kB / 423.6 MB, free: 71.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.2263, allocations: 4.681 MB / 428.3 MB, free: 65.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003262/0.2296, allocations: 5.797 MB / 434.1 MB, free: 59.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.604e-05/0.2296, allocations: 29.95 kB / 434.1 MB, free: 59.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.004791/0.2344, allocations: 3.798 MB / 437.9 MB, free: 57.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.2345, allocations: 50.66 kB / 438 MB, free: 57.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-05/0.2345, allocations: 100 kB / 438.1 MB, free: 57.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-05/0.2346, allocations: 136 kB / 438.2 MB, free: 57.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/0.2367, allocations: 1.235 MB / 439.4 MB, free: 56.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-05/0.2368, allocations: 201.7 kB / 439.6 MB, free: 56.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.2386, allocations: 278.2 kB / 439.9 MB, free: 55.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/0.2388, allocations: 279.1 kB / 440.2 MB, free: 55.57 MB / 330.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: 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],idealActuatorVel.revolute.cylinderColor[3],idealActuatorVel.revolute.cylinderColor[2],idealActuatorVel.revolute.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (556): * Single equations (assignments): 553 * 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.0008867/0.2397, allocations: 0.5325 MB / 440.7 MB, free: 55.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/0.2401, allocations: 257.8 kB / 440.9 MB, free: 54.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007385/0.2408, allocations: 0.6312 MB / 441.6 MB, free: 54.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.2408, allocations: 12 kB / 441.6 MB, free: 54.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.2408, allocations: 3.938 kB / 441.6 MB, free: 54.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.2409, allocations: 10.84 kB / 441.6 MB, free: 54.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00375/0.2446, allocations: 3.036 MB / 444.6 MB, free: 51.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2446, allocations: 0 / 444.6 MB, free: 51.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009245/0.2455, allocations: 376.1 kB / 445 MB, free: 51.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.2455, allocations: 4 kB / 445 MB, free: 51.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.2456, allocations: 20 kB / 445 MB, free: 51.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2456, allocations: 7.938 kB / 445 MB, free: 51.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2456, allocations: 0 / 445 MB, free: 51.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.247, allocations: 1.558 MB / 446.6 MB, free: 49.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/0.2473, allocations: 221.2 kB / 446.8 MB, free: 49.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.2475, allocations: 12 kB / 446.8 MB, free: 49.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005305/0.248, allocations: 92.47 kB / 446.9 MB, free: 49.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.2481, allocations: 65.2 kB / 447 MB, free: 49.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.2482, allocations: 28 kB / 447 MB, free: 49.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.2492, allocations: 1.083 MB / 448.1 MB, free: 48.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2492, allocations: 3.062 kB / 448.1 MB, free: 48.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002286/0.2515, allocations: 0.6757 MB / 448.8 MB, free: 47.85 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (87): * Single equations (assignments): 84 * 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.0003033/0.2518, allocations: 163.3 kB / 448.9 MB, free: 47.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002499/0.2543, allocations: 1.95 MB / 450.9 MB, free: 45.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2543, allocations: 0 / 450.9 MB, free: 45.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.2547, allocations: 340.2 kB / 451.2 MB, free: 45.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009933/0.2556, allocations: 258.5 kB / 451.5 MB, free: 45.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005005/0.2607, allocations: 4.636 MB / 456.1 MB, free: 40.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.2612, allocations: 0.7701 MB / 456.9 MB, free: 39.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001564/0.2627, allocations: 1.225 MB / 458.1 MB, free: 38.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.2631, allocations: 160.5 kB / 458.2 MB, free: 38.32 MB / 330.7 MB Notification: Performance of SimCode: time 1.843e-06/0.2631, allocations: 0 / 458.2 MB, free: 38.32 MB / 330.7 MB Notification: Performance of Templates: time 0.02665/0.2897, allocations: 17.48 MB / 475.7 MB, free: 21.26 MB / 330.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.804000315722078]