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.001194/0.001194, allocations: 93.16 kB / 19.65 MB, free: 288 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.001058/0.001058, allocations: 172.9 kB / 23.02 MB, free: 1.559 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 0.8797/0.8797, allocations: 177.1 MB / 203.4 MB, free: 5.664 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.01581/0.01581, allocations: 4.081 MB / 264 MB, free: 9.078 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 1.613e-06/1.613e-06, allocations: 0 / 334.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.818e-05, allocations: 2.312 kB / 334.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.006471/0.00649, allocations: 7.777 MB / 342.6 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005122/0.01161, allocations: 3.532 MB / 346.2 MB, free: 4.145 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008218/0.01243, allocations: 47.75 kB / 346.2 MB, free: 4.098 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.01396, allocations: 1.16 MB / 347.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002044/0.01601, allocations: 1.443 MB / 348.8 MB, free: 1.484 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008481/0.01685, allocations: 0.6275 MB / 349.5 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002426/0.01928, allocations: 3.174 MB / 352.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.02116, allocations: 1.755 MB / 354.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.02261, allocations: 1.442 MB / 355.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.02376, allocations: 1.43 MB / 357.3 MB, free: 9.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.02396, allocations: 180 kB / 357.4 MB, free: 8.844 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000918/0.02488, allocations: 0.8539 MB / 358.3 MB, free: 7.988 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006013/0.02548, allocations: 1.169 MB / 359.5 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007822/0.02626, allocations: 0.7357 MB / 360.2 MB, free: 6.078 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.02837, allocations: 2.977 MB / 363.2 MB, free: 3.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.02837, allocations: 0 / 363.2 MB, free: 3.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.02838, allocations: 4 kB / 363.2 MB, free: 3.086 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.902e-05/0.0284, allocations: 0 / 363.2 MB, free: 3.086 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: 996 * Number of variables: 996 Notification: Performance of Generate backend data structure: time 0.003479/0.03188, allocations: 3.484 MB / 366.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.03192, allocations: 8.031 kB / 366.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/0.03546, allocations: 2.039 MB / 368.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.03671, allocations: 1.349 MB / 370.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.03677, allocations: 135.7 kB / 370.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.03697, allocations: 172.3 kB / 370.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003924/0.0409, allocations: 4.113 MB / 374.5 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.555e-05/0.04094, allocations: 31.7 kB / 374.5 MB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.0411, allocations: 91.89 kB / 374.6 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001133/0.04223, allocations: 1.398 MB / 376 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/0.04524, allocations: 2.087 MB / 378.1 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01606/0.0613, allocations: 31.59 MB / 409.7 MB, free: 2.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.06311, allocations: 0.8403 MB / 410.5 MB, free: 1.789 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/0.06348, allocations: 262.6 kB / 410.8 MB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002453/0.06593, allocations: 2.551 MB / 413.3 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.06596, allocations: 53.56 kB / 413.4 MB, free: 14.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 5.52e-06/0.06597, allocations: 0 / 413.4 MB, free: 14.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=84): time 0.005262/0.07123, allocations: 4.06 MB / 417.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.07128, allocations: 162.2 kB / 417.6 MB, free: 10.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/0.07325, allocations: 2.656 MB / 420.2 MB, free: 7.855 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.07328, allocations: 33.7 kB / 420.3 MB, free: 7.816 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.07431, allocations: 2.48 MB / 422.7 MB, free: 5.309 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.07451, allocations: 389.4 kB / 423.1 MB, free: 4.926 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00069/0.0752, allocations: 0.9647 MB / 424.1 MB, free: 3.945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000394/0.0756, allocations: 0.5394 MB / 424.6 MB, free: 3.398 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.07617, allocations: 442.3 kB / 425.1 MB, free: 2.945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002437/0.0786, allocations: 4.825 MB / 429.9 MB, free: 12.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/0.08206, allocations: 5.733 MB / 435.6 MB, free: 4.297 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.92e-05/0.08209, allocations: 35.94 kB / 435.7 MB, free: 4.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.003566/0.08565, allocations: 3.748 MB / 439.4 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.0857, allocations: 51.94 kB / 439.5 MB, free: 472 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.955e-05/0.08576, allocations: 108.8 kB / 439.6 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.582e-05/0.08583, allocations: 139.9 kB / 439.7 MB, free: 224 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1183/0.2041, allocations: 1.049 MB / 440.7 MB, free: 126.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001007/0.2042, allocations: 201.2 kB / 440.9 MB, free: 126.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.2059, allocations: 286.3 kB / 441.2 MB, free: 126.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/0.2062, allocations: 285.1 kB / 441.5 MB, free: 126.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001048/0.2072, allocations: 0.6022 MB / 442.1 MB, free: 126.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001531/0.2088, allocations: 4.835 MB / 446.9 MB, free: 120.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002707/0.2115, allocations: 5.725 MB / 452.7 MB, free: 114.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.85e-05/0.2115, allocations: 28.88 kB / 452.7 MB, free: 114.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=575) (initialization_lambda0): time 0.003692/0.2152, allocations: 3.748 MB / 456.4 MB, free: 114.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.2152, allocations: 51.56 kB / 456.5 MB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-05/0.2153, allocations: 105.4 kB / 456.6 MB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.474e-05/0.2154, allocations: 143.8 kB / 456.7 MB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.2169, allocations: 1.045 MB / 457.8 MB, free: 114 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000101/0.217, allocations: 206.1 kB / 458 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.2184, allocations: 282.7 kB / 458.3 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.2186, allocations: 282.7 kB / 458.5 MB, free: 113.9 MB / 410.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 (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 (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.0005482/0.2192, allocations: 0.6435 MB / 459.2 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.2194, allocations: 245.8 kB / 459.4 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000494/0.2199, allocations: 403.8 kB / 459.8 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.2199, allocations: 9.344 kB / 459.8 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.22, allocations: 3.344 kB / 459.8 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.22, allocations: 3.422 kB / 459.8 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.2227, allocations: 2.447 MB / 462.3 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2227, allocations: 3.156 kB / 462.3 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.2231, allocations: 139.2 kB / 462.4 MB, free: 113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.2231, allocations: 6.281 kB / 462.4 MB, free: 113 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.2231, allocations: 14.22 kB / 462.4 MB, free: 113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.2231, allocations: 14.12 kB / 462.4 MB, free: 113 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2231, allocations: 7.078 kB / 462.5 MB, free: 113 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009153/0.224, allocations: 1.345 MB / 463.8 MB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.2243, allocations: 304.5 kB / 464.1 MB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.2244, allocations: 21.02 kB / 464.1 MB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/0.2249, allocations: 71.72 kB / 464.2 MB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.2249, allocations: 43.33 kB / 464.2 MB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.225, allocations: 27.73 kB / 464.3 MB, free: 112.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008987/0.2259, allocations: 1.124 MB / 465.4 MB, free: 112.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2259, allocations: 0 / 465.4 MB, free: 112.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002944/0.2288, allocations: 1.182 MB / 466.6 MB, free: 112.2 MB / 410.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.0002394/0.229, allocations: 155.4 kB / 466.7 MB, free: 112.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003196/0.2322, allocations: 3.516 MB / 470.2 MB, free: 111.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2322, allocations: 0 / 470.2 MB, free: 111.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.2325, allocations: 228.9 kB / 470.5 MB, free: 111 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008158/0.2333, allocations: 266.2 kB / 470.7 MB, free: 110.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004391/0.2377, allocations: 4.6 MB / 475.3 MB, free: 108.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.2382, allocations: 0.7672 MB / 476.1 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002352/0.2405, allocations: 2.102 MB / 478.2 MB, free: 108.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.2408, allocations: 159 kB / 478.3 MB, free: 108.1 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2408, allocations: 0 / 478.3 MB, free: 108.1 MB / 410.7 MB Notification: Performance of Templates: time 0.02318/0.264, allocations: 16.68 MB / 495 MB, free: 101.8 MB / 410.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: 3.2421837649308145]