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.001035/0.001035, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001086/0.001086, allocations: 169 kB / 23.49 MB, free: 1.062 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.9118/0.9118, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.02534/0.02534, allocations: 4.084 MB / 264.4 MB, free: 9.105 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.893e-06/1.893e-06, allocations: 0 / 334.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.492e-05, allocations: 2.312 kB / 334.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.005675/0.0057, allocations: 7.755 MB / 342.6 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004356/0.01006, allocations: 3.503 MB / 346.1 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006575/0.01071, allocations: 43.75 kB / 346.2 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.01209, allocations: 1.163 MB / 347.4 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.01391, allocations: 1.443 MB / 348.8 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007313/0.01464, allocations: 0.6236 MB / 349.4 MB, free: 160 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002455/0.0171, allocations: 3.165 MB / 352.6 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.01851, allocations: 1.762 MB / 354.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.0202, allocations: 1.407 MB / 355.8 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.02149, allocations: 1.457 MB / 357.2 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.02169, allocations: 180 kB / 357.4 MB, free: 8.145 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000996/0.02269, allocations: 0.8578 MB / 358.2 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007078/0.02339, allocations: 1.165 MB / 359.4 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006427/0.02404, allocations: 0.7436 MB / 360.2 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.02719, allocations: 2.989 MB / 363.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.02719, allocations: 0 / 363.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.0272, allocations: 4 kB / 363.1 MB, free: 2.367 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.526e-05/0.02723, allocations: 3.938 kB / 363.1 MB, free: 2.363 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: 996 * Number of variables: 996 Notification: Performance of Generate backend data structure: time 0.003812/0.03104, allocations: 3.473 MB / 366.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.03109, allocations: 8.031 kB / 366.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/0.03476, allocations: 2.039 MB / 368.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.03678, allocations: 1.321 MB / 370 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/0.03686, allocations: 135.7 kB / 370.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.03712, allocations: 176.3 kB / 370.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00501/0.04213, allocations: 4.117 MB / 374.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.828e-05/0.04218, allocations: 35.7 kB / 374.4 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.04237, allocations: 91.89 kB / 374.5 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001843/0.04422, allocations: 1.452 MB / 376 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004426/0.04864, allocations: 2.196 MB / 378.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02399/0.07263, allocations: 31.51 MB / 409.7 MB, free: 1.961 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.07485, allocations: 0.9638 MB / 410.7 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004751/0.07532, allocations: 347.2 kB / 411 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.07537, allocations: 16 kB / 411 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.0754, allocations: 53.31 kB / 411.1 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=102): time 3.877e-06/0.07541, allocations: 0 / 411.1 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of matching and sorting (n=110): time 0.1194/0.1949, allocations: 5.532 MB / 416.6 MB, free: 80.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.1949, allocations: 175.4 kB / 416.8 MB, free: 80.53 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/0.1976, allocations: 2.57 MB / 419.3 MB, free: 80.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.055e-05/0.1977, allocations: 42.33 kB / 419.4 MB, free: 80.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008092/0.1985, allocations: 2.404 MB / 421.8 MB, free: 78.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.1988, allocations: 489.1 kB / 422.3 MB, free: 78.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006912/0.1995, allocations: 0.9726 MB / 423.2 MB, free: 77.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.384e-05/0.1995, allocations: 0.5336 MB / 423.8 MB, free: 77.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007076/0.2002, allocations: 497 kB / 424.2 MB, free: 77.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.2018, allocations: 4.723 MB / 429 MB, free: 71.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002989/0.2048, allocations: 5.684 MB / 434.7 MB, free: 64.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.889e-05/0.2048, allocations: 28 kB / 434.7 MB, free: 64.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.004088/0.2089, allocations: 3.816 MB / 438.5 MB, free: 61.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/0.209, allocations: 48 kB / 438.5 MB, free: 61.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.695e-05/0.209, allocations: 100 kB / 438.6 MB, free: 61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.183e-05/0.2091, allocations: 132 kB / 438.8 MB, free: 60.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/0.2112, allocations: 1.243 MB / 440 MB, free: 59.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000104/0.2114, allocations: 198.4 kB / 440.2 MB, free: 59.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.2132, allocations: 282.1 kB / 440.5 MB, free: 59.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.2134, allocations: 283.7 kB / 440.8 MB, free: 59.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001265/0.2146, allocations: 0.6642 MB / 441.4 MB, free: 58.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00154/0.2162, allocations: 4.718 MB / 446.1 MB, free: 51.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002909/0.2191, allocations: 5.68 MB / 451.8 MB, free: 44.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.277e-05/0.2192, allocations: 28 kB / 451.9 MB, free: 44.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.003886/0.223, allocations: 3.801 MB / 455.7 MB, free: 40.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.2231, allocations: 53 kB / 455.7 MB, free: 40.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.686e-05/0.2231, allocations: 100 kB / 455.8 MB, free: 40.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.306e-05/0.2232, allocations: 136 kB / 455.9 MB, free: 40.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.2252, allocations: 1.228 MB / 457.2 MB, free: 38.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.794e-05/0.2253, allocations: 206 kB / 457.4 MB, free: 38.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.2269, allocations: 291.3 kB / 457.6 MB, free: 38.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/0.2271, allocations: 275.7 kB / 457.9 MB, free: 38.12 MB / 330.7 MB 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],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 (557): * Single equations (assignments): 554 * 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.0005644/0.2277, allocations: 0.6323 MB / 458.6 MB, free: 37.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.228, allocations: 258.5 kB / 458.8 MB, free: 37.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007625/0.2287, allocations: 0.6352 MB / 459.4 MB, free: 36.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.2287, allocations: 16 kB / 459.5 MB, free: 36.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.2287, allocations: 0 / 459.5 MB, free: 36.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.2288, allocations: 3.984 kB / 459.5 MB, free: 36.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/0.2321, allocations: 3.062 MB / 462.5 MB, free: 33.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2321, allocations: 0 / 462.5 MB, free: 33.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008997/0.233, allocations: 371.4 kB / 462.9 MB, free: 33.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-06/0.233, allocations: 4 kB / 462.9 MB, free: 33.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.2331, allocations: 23.91 kB / 462.9 MB, free: 33.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2331, allocations: 4 kB / 462.9 MB, free: 33.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2331, allocations: 4 kB / 462.9 MB, free: 33.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.2344, allocations: 1.573 MB / 464.5 MB, free: 31.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.2349, allocations: 354.2 kB / 464.8 MB, free: 31.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.235, allocations: 20 kB / 464.9 MB, free: 31.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/0.2355, allocations: 95.84 kB / 464.9 MB, free: 31.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.2357, allocations: 60.28 kB / 465 MB, free: 30.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.2357, allocations: 36.45 kB / 465 MB, free: 30.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009366/0.2366, allocations: 1.093 MB / 466.1 MB, free: 29.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2366, allocations: 0 / 466.1 MB, free: 29.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003597/0.2402, allocations: 1.234 MB / 467.4 MB, free: 28.58 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (88): * Single equations (assignments): 85 * 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.0002939/0.2405, allocations: 158.8 kB / 467.5 MB, free: 28.42 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004234/0.2448, allocations: 3.696 MB / 471.2 MB, free: 24.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2448, allocations: 0 / 471.2 MB, free: 24.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.2451, allocations: 328.9 kB / 471.5 MB, free: 24.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009406/0.2461, allocations: 272.4 kB / 471.8 MB, free: 24.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00513/0.2512, allocations: 4.726 MB / 476.5 MB, free: 19.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.2517, allocations: 0.7827 MB / 477.3 MB, free: 18.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002619/0.2544, allocations: 2.2 MB / 479.5 MB, free: 16.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/0.2547, allocations: 160.5 kB / 479.7 MB, free: 16.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.823e-06/0.2547, allocations: 0 / 479.7 MB, free: 16.23 MB / 330.7 MB Notification: Performance of Templates: time 0.02587/0.2806, allocations: 19.04 MB / 498.7 MB, free: 13.58 MB / 346.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.4295245150569826]