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.0.0+maint.om/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 105.9 kB / 16.4 MB, free: 6.504 MB / 14.72 MB [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 198.7 kB / 19.35 MB, free: 3.73 MB / 14.72 MB [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 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.0281/0.0281, allocations: 5.223 MB / 302.4 MB, free: 7.492 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001978/0.001978, allocations: 67.88 kB / 417.8 MB, free: 25.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09752/0.09951, allocations: 50.58 MB / 468.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01049/0.11, allocations: 7.901 MB / 476.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007086/0.1172, allocations: 3.492 MB / 479.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.1183, allocations: 39.88 kB / 479.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002547/0.1209, allocations: 1.097 MB / 480.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003775/0.1247, allocations: 1.381 MB / 482.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.1265, allocations: 0.5341 MB / 482.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005827/0.1324, allocations: 2.718 MB / 485.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003711/0.1361, allocations: 1.638 MB / 487.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.1386, allocations: 0.8757 MB / 488 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003222/0.1418, allocations: 1.246 MB / 489.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008214/0.1427, allocations: 172 kB / 489.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003245/0.1459, allocations: 0.9243 MB / 490.4 MB, free: 496 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002208/0.1482, allocations: 1.095 MB / 491.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003104/0.1513, allocations: 1.343 MB / 492.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008899/0.1602, allocations: 4.4 MB / 497.2 MB, free: 9.617 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.1603, allocations: 0 / 497.2 MB, free: 9.617 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1603, allocations: 3.938 kB / 497.2 MB, free: 9.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001518/0.1604, allocations: 0 / 497.2 MB, free: 9.613 MB / 366.1 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.007558/0.168, allocations: 3.229 MB / 0.4887 GB, free: 6.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1681, allocations: 8.031 kB / 0.4887 GB, free: 6.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006524/0.1746, allocations: 1.688 MB / 0.4904 GB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003407/0.178, allocations: 1.47 MB / 0.4918 GB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.1782, allocations: 135.7 kB / 0.4919 GB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006416/0.1789, allocations: 176 kB / 0.4921 GB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/0.1913, allocations: 6.718 MB / 0.4986 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-05/0.1914, allocations: 31.75 kB / 0.4987 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004593/0.1919, allocations: 87.89 kB / 0.4988 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002779/0.1947, allocations: 1.464 MB / 0.5002 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01201/0.2067, allocations: 5.97 MB / 0.506 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2522/0.4589, allocations: 27.43 MB / 0.5328 GB, free: 27.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005004/0.464, allocations: 2.393 MB / 0.5351 GB, free: 26.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.4659, allocations: 1.071 MB / 0.5362 GB, free: 25.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.466, allocations: 10.97 kB / 0.5362 GB, free: 25.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.4661, allocations: 51.19 kB / 0.5362 GB, free: 25.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 6.131e-06/0.4661, allocations: 0 / 0.5362 GB, free: 25.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01842/0.4845, allocations: 7.999 MB / 0.5441 GB, free: 21.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.4846, allocations: 140.4 kB / 0.5442 GB, free: 21.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004116/0.4888, allocations: 2.917 MB / 0.547 GB, free: 20.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.4889, allocations: 45.08 kB / 0.5471 GB, free: 20.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.4901, allocations: 2.268 MB / 0.5493 GB, free: 18.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004423/0.4905, allocations: 466.5 kB / 0.5497 GB, free: 17.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/0.4917, allocations: 0.9028 MB / 0.5506 GB, free: 17.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.628e-05/0.4918, allocations: 305.1 kB / 0.5509 GB, free: 17.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.4937, allocations: 1.454 MB / 0.5523 GB, free: 15.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/0.4965, allocations: 4.307 MB / 0.5565 GB, free: 10.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/0.5082, allocations: 8.083 MB / 0.5644 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-05/0.5083, allocations: 30.25 kB / 0.5645 GB, free: 0.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01205/0.5204, allocations: 5.573 MB / 0.5699 GB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.5206, allocations: 52 kB / 0.57 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001842/0.5208, allocations: 100 kB / 0.5701 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/0.521, allocations: 132 kB / 0.5702 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004895/0.5259, allocations: 1.232 MB / 0.5714 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002478/0.5262, allocations: 203.4 kB / 0.5716 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003959/0.5302, allocations: 243.7 kB / 0.5718 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009187/0.5311, allocations: 283.9 kB / 0.5721 GB, free: 8.699 MB / 398.1 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.003681/0.5348, allocations: 1.444 MB / 0.5735 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008977/0.5357, allocations: 254.3 kB / 0.5737 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/0.5388, allocations: 1.277 MB / 0.575 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-05/0.5389, allocations: 12 kB / 0.575 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.5389, allocations: 3.938 kB / 0.575 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.982e-05/0.539, allocations: 7.984 kB / 0.575 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.5492, allocations: 4.242 MB / 0.5791 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.5493, allocations: 0 / 0.5791 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002058/0.5514, allocations: 367.4 kB / 0.5795 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.969e-05/0.5514, allocations: 4 kB / 0.5795 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.5515, allocations: 20 kB / 0.5795 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.341e-05/0.5516, allocations: 7.938 kB / 0.5795 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.5516, allocations: 6.188 kB / 0.5795 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005297/0.5569, allocations: 3.178 MB / 0.5826 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.558, allocations: 315.2 kB / 0.5829 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006795/0.5587, allocations: 18.94 kB / 0.583 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.56, allocations: 63.86 kB / 0.583 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.5603, allocations: 56.19 kB / 0.5831 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.93e-05/0.5604, allocations: 28 kB / 0.5831 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003998/0.5644, allocations: 1.811 MB / 0.5849 GB, free: 11.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5644, allocations: 0 / 0.5849 GB, free: 11.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004169/0.5686, allocations: 0.6444 MB / 0.5855 GB, free: 10.87 MB / 414.1 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.0005028/0.5691, allocations: 143.7 kB / 0.5856 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006539/0.5756, allocations: 3.324 MB / 0.5889 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.5757, allocations: 0 / 0.5889 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.5771, allocations: 0.8111 MB / 0.5897 GB, free: 6.613 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/0.58, allocations: 288.4 kB / 0.5899 GB, free: 6.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.5927, allocations: 5.802 MB / 0.5956 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003981/0.5967, allocations: 2.294 MB / 0.5979 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004249/0.601, allocations: 1.455 MB / 0.5993 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007949/0.6018, allocations: 171.4 kB / 0.5994 GB, free: 12.56 MB / 430.1 MB Notification: Performance of SimCode: time 1.813e-06/0.6018, allocations: 4 kB / 0.5994 GB, free: 12.55 MB / 430.1 MB Notification: Performance of Templates: time 0.04579/0.6476, allocations: 19 MB / 0.618 GB, free: 9.695 MB / 446.1 MB [Timeout remaining time 659] 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=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.792339026927948]