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.0008651/0.0008651, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001048/0.001048, allocations: 177 kB / 23.36 MB, free: 1.137 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.9271/0.9271, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.01677/0.01677, allocations: 4.094 MB / 264.4 MB, free: 8.922 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.843e-06/1.843e-06, allocations: 0 / 282.1 MB, free: 7.207 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.988e-05, allocations: 2.312 kB / 282.1 MB, free: 7.203 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.119/0.1191, allocations: 7.619 MB / 289.7 MB, free: 19.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006046/0.1251, allocations: 3.594 MB / 293.3 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000888/0.126, allocations: 47.72 kB / 293.3 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.1279, allocations: 1.167 MB / 294.5 MB, free: 18.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.1307, allocations: 1.454 MB / 296 MB, free: 18.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.1319, allocations: 0.6291 MB / 296.6 MB, free: 18.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003317/0.1352, allocations: 3.168 MB / 299.8 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002046/0.1372, allocations: 1.797 MB / 301.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.1395, allocations: 1.453 MB / 303 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.1414, allocations: 1.364 MB / 304.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004568/0.1418, allocations: 179.5 kB / 304.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.1431, allocations: 0.8423 MB / 305.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006387/0.1437, allocations: 1.166 MB / 306.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008032/0.1445, allocations: 0.7324 MB / 307.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002593/0.1471, allocations: 2.981 MB / 310.3 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1471, allocations: 0 / 310.3 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1471, allocations: 4 kB / 310.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.539e-05/0.1472, allocations: 0 / 310.3 MB, free: 9.941 MB / 266.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.003089/0.1503, allocations: 2.908 MB / 313.2 MB, free: 6.996 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1503, allocations: 8.031 kB / 313.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.1523, allocations: 0.8279 MB / 314 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.1536, allocations: 1.123 MB / 315.1 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.1536, allocations: 135.7 kB / 315.3 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.1538, allocations: 180.2 kB / 315.4 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.1563, allocations: 3.323 MB / 318.8 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.692e-05/0.1563, allocations: 39.48 kB / 318.8 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.1565, allocations: 91.89 kB / 318.9 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001021/0.1575, allocations: 1.218 MB / 320.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00348/0.161, allocations: 1.672 MB / 321.8 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01823/0.1792, allocations: 21.75 MB / 343.5 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.1806, allocations: 0.7688 MB / 344.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.1809, allocations: 180.9 kB / 344.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002426/0.1833, allocations: 2.023 MB / 346.5 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1833, allocations: 46.73 kB / 346.5 MB, free: 4.121 MB / 298.7 MB Notification: Performance of pre-optimization done (n=81): time 3.707e-06/0.1833, allocations: 0 / 346.5 MB, free: 4.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=84): time 0.00379/0.1871, allocations: 1.978 MB / 348.5 MB, free: 2.098 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.1872, allocations: 166.2 kB / 348.7 MB, free: 1.898 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.1893, allocations: 2.348 MB / 351 MB, free: 15.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.1893, allocations: 37.7 kB / 351.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000846/0.1901, allocations: 2.237 MB / 353.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.1903, allocations: 377.3 kB / 353.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006017/0.1909, allocations: 0.8382 MB / 354.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.191, allocations: 361.8 kB / 354.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007292/0.1918, allocations: 0.5375 MB / 355.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.1939, allocations: 3.386 MB / 358.8 MB, free: 6.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.1971, allocations: 4.267 MB / 363.1 MB, free: 436 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.513e-05/0.1972, allocations: 32 kB / 363.1 MB, free: 404 kB / 314.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.003024/0.2002, allocations: 2.996 MB / 366.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/0.2002, allocations: 51.94 kB / 366.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.976e-05/0.2003, allocations: 108 kB / 366.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-05/0.2004, allocations: 136 kB / 366.4 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.2021, allocations: 1.018 MB / 367.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001059/0.2022, allocations: 207.2 kB / 367.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.2037, allocations: 207.8 kB / 367.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/0.2039, allocations: 248 kB / 368 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001263/0.2052, allocations: 0.6737 MB / 368.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002176/0.2073, allocations: 3.382 MB / 372.1 MB, free: 5.855 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003141/0.2105, allocations: 4.27 MB / 376.4 MB, free: 96 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.991e-05/0.2105, allocations: 32 kB / 376.4 MB, free: 64 kB / 330.7 MB Notification: Performance of matching and sorting (n=575) (initialization_lambda0): time 0.0031/0.2136, allocations: 2.992 MB / 379.4 MB, free: 13.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.2137, allocations: 51.94 kB / 379.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.847e-05/0.2137, allocations: 108 kB / 379.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.456e-05/0.2138, allocations: 136 kB / 379.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.2157, allocations: 1.014 MB / 380.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.65e-05/0.2158, allocations: 210.1 kB / 380.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.2173, allocations: 203.9 kB / 381.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/0.2175, allocations: 256 kB / 381.4 MB, free: 11.11 MB / 346.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 (idealActuatorPos.revolute.cylinderColor[1],idealActuatorPos.revolute.cylinderColor[2],idealActuatorPos.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 (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.0005536/0.218, allocations: 0.5454 MB / 381.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.2183, allocations: 135.8 kB / 382 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004902/0.2187, allocations: 350.2 kB / 382.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.2188, allocations: 15.94 kB / 382.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2188, allocations: 0 / 382.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2188, allocations: 3.984 kB / 382.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.2215, allocations: 2.05 MB / 384.4 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-06/0.2215, allocations: 4 kB / 384.4 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.2218, allocations: 119.8 kB / 384.6 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.2218, allocations: 8.219 kB / 384.6 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.2219, allocations: 15.98 kB / 384.6 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.2219, allocations: 8 kB / 384.6 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2219, allocations: 7.875 kB / 384.6 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008366/0.2227, allocations: 1.067 MB / 385.7 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.223, allocations: 258.3 kB / 385.9 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.2232, allocations: 15.98 kB / 385.9 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.2236, allocations: 23.98 kB / 386 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.2236, allocations: 51.8 kB / 386 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.2237, allocations: 24 kB / 386 MB, free: 6.305 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007874/0.2245, allocations: 0.9503 MB / 387 MB, free: 5.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2245, allocations: 0 / 387 MB, free: 5.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003856/0.2283, allocations: 1.176 MB / 388.2 MB, free: 4.164 MB / 346.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.0002723/0.2286, allocations: 132.2 kB / 388.3 MB, free: 4.027 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003277/0.2319, allocations: 3.119 MB / 391.4 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.555e-05/0.232, allocations: 59.94 kB / 391.5 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.2321, allocations: 179.2 kB / 391.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.2332, allocations: 393.1 kB / 392 MB, free: 308 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005491/0.2387, allocations: 4.582 MB / 396.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/0.2393, allocations: 0.7611 MB / 397.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001118/0.2404, allocations: 437.8 kB / 397.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004651/0.2409, allocations: 373.2 kB / 398.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.2409, allocations: 0 / 398.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of Templates: time 0.02917/0.2701, allocations: 18.4 MB / 416.6 MB, free: 7.938 MB / 378.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.253671634942293]