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.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.001652/0.001652, allocations: 102.8 kB / 16.4 MB, free: 6.453 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.001437/0.001437, allocations: 194.8 kB / 19.36 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.413/1.413, 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.02771/0.02771, allocations: 5.231 MB / 302.4 MB, free: 7.48 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.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 0.002013/0.002013, allocations: 67.89 kB / 417.8 MB, free: 25.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.1014, allocations: 50.57 MB / 468.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.0103/0.1117, allocations: 7.982 MB / 476.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007452/0.1192, allocations: 3.571 MB / 479.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.1208, allocations: 35.88 kB / 479.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002702/0.1235, allocations: 1.105 MB / 481 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004114/0.1277, allocations: 1.381 MB / 482.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.1292, allocations: 0.5887 MB / 483 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004939/0.1341, allocations: 2.776 MB / 485.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002538/0.1367, allocations: 1.658 MB / 487.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.1385, allocations: 0.8991 MB / 488.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/0.1406, allocations: 1.265 MB / 489.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005435/0.1411, allocations: 180 kB / 489.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.1431, allocations: 0.9321 MB / 490.7 MB, free: 124 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001302/0.1444, allocations: 1.099 MB / 491.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.146, allocations: 1.355 MB / 493.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006144/0.1522, allocations: 4.443 MB / 497.6 MB, free: 9.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.1522, allocations: 4 kB / 497.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1523, allocations: 0 / 497.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001086/0.1524, allocations: 0 / 497.6 MB, free: 9.191 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: 996 * Number of variables: 996 Notification: Performance of Generate backend data structure: time 0.006552/0.1589, allocations: 3.256 MB / 0.4891 GB, free: 5.871 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.159, allocations: 16.03 kB / 0.4891 GB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006128/0.1651, allocations: 1.684 MB / 0.4908 GB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00332/0.1685, allocations: 1.497 MB / 0.4923 GB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.1686, allocations: 139.7 kB / 0.4924 GB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004178/0.1691, allocations: 180 kB / 0.4926 GB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.1801, allocations: 6.746 MB / 0.4991 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-05/0.1803, allocations: 31.69 kB / 0.4992 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002704/0.1806, allocations: 87.89 kB / 0.4993 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002614/0.1832, allocations: 1.468 MB / 0.5007 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/0.1948, allocations: 5.998 MB / 0.5065 GB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2609/0.4557, allocations: 27.52 MB / 0.5334 GB, free: 27.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004542/0.4603, allocations: 2.411 MB / 0.5358 GB, free: 25.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.4617, allocations: 1.09 MB / 0.5368 GB, free: 25.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.788e-05/0.4618, allocations: 19.22 kB / 0.5369 GB, free: 25.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.4618, allocations: 38.53 kB / 0.5369 GB, free: 25.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 3.005e-06/0.4618, allocations: 0 / 0.5369 GB, free: 25.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.01748/0.4793, allocations: 8.095 MB / 0.5448 GB, free: 21.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.4794, allocations: 161.6 kB / 0.545 GB, free: 21.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/0.4824, allocations: 2.939 MB / 0.5478 GB, free: 19.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.994e-05/0.4825, allocations: 37.67 kB / 0.5479 GB, free: 19.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009147/0.4835, allocations: 2.276 MB / 0.5501 GB, free: 18.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.4838, allocations: 481.9 kB / 0.5505 GB, free: 17.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000851/0.4846, allocations: 0.8995 MB / 0.5514 GB, free: 17.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.4847, allocations: 305.1 kB / 0.5517 GB, free: 16.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/0.4864, allocations: 1.492 MB / 0.5532 GB, free: 15.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/0.489, allocations: 4.337 MB / 0.5574 GB, free: 9.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004786/0.4938, allocations: 6.274 MB / 0.5635 GB, free: 1.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.638e-05/0.4938, allocations: 28 kB / 0.5636 GB, free: 1.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009492/0.5033, allocations: 5.612 MB / 0.569 GB, free: 12.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.323e-05/0.5034, allocations: 50.19 kB / 0.5691 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/0.5035, allocations: 100 kB / 0.5692 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/0.5037, allocations: 135.7 kB / 0.5693 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004466/0.5082, allocations: 1.24 MB / 0.5705 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001906/0.5084, allocations: 199.2 kB / 0.5707 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003684/0.5121, allocations: 251.8 kB / 0.5709 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004989/0.5126, allocations: 280 kB / 0.5712 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004527/0.5171, allocations: 2.594 MB / 0.5737 GB, free: 7.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004714/0.5218, allocations: 4.326 MB / 0.578 GB, free: 1.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008187/0.5301, allocations: 6.238 MB / 0.5841 GB, free: 9.926 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.363e-05/0.5302, allocations: 32 kB / 0.5841 GB, free: 9.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01136/0.5416, allocations: 5.58 MB / 0.5895 GB, free: 4.309 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.5417, allocations: 48 kB / 0.5896 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001925/0.5419, allocations: 100 kB / 0.5897 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.5421, allocations: 140.7 kB / 0.5898 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004651/0.5467, allocations: 1.236 MB / 0.591 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002155/0.547, allocations: 199.2 kB / 0.5912 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003558/0.5505, allocations: 255.1 kB / 0.5915 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006962/0.5512, allocations: 283.5 kB / 0.5917 GB, free: 2.074 MB / 414.1 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.001415/0.5527, allocations: 0.5429 MB / 0.5923 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007644/0.5535, allocations: 258.3 kB / 0.5925 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/0.5563, allocations: 1.308 MB / 0.5938 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.114e-05/0.5564, allocations: 12 kB / 0.5938 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.5564, allocations: 4 kB / 0.5938 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.5564, allocations: 3.984 kB / 0.5938 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009248/0.5657, allocations: 4.292 MB / 0.598 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.5657, allocations: 9.062 kB / 0.598 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/0.5678, allocations: 379.4 kB / 0.5984 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.738e-05/0.5679, allocations: 4 kB / 0.5984 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.568, allocations: 19.28 kB / 0.5984 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.334e-05/0.568, allocations: 9.578 kB / 0.5984 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.568, allocations: 4 kB / 0.5984 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004933/0.5729, allocations: 3.229 MB / 0.6016 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.5741, allocations: 467.2 kB / 0.602 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005249/0.5746, allocations: 20 kB / 0.602 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.5758, allocations: 63.91 kB / 0.6021 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.576, allocations: 63.91 kB / 0.6021 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-05/0.5761, allocations: 28.81 kB / 0.6022 GB, free: 7.281 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002922/0.579, allocations: 1.834 MB / 0.604 GB, free: 5.445 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.579, allocations: 0 / 0.604 GB, free: 5.445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006159/0.5852, allocations: 1.187 MB / 0.6051 GB, free: 4.262 MB / 430.1 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.0003963/0.5856, allocations: 143.8 kB / 0.6053 GB, free: 4.113 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01044/0.596, allocations: 5.945 MB / 0.6111 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/0.5961, allocations: 0 / 0.6111 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.5976, allocations: 0.8338 MB / 0.6119 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/0.5998, allocations: 286.6 kB / 0.6122 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.6123, allocations: 5.892 MB / 0.6179 GB, free: 7.188 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002959/0.6153, allocations: 2.308 MB / 0.6202 GB, free: 4.855 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005787/0.6211, allocations: 2.504 MB / 0.6226 GB, free: 2.344 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005949/0.6217, allocations: 171.4 kB / 0.6228 GB, free: 2.176 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.6218, allocations: 4 kB / 0.6228 GB, free: 2.172 MB / 446.1 MB Notification: Performance of Templates: time 0.04756/0.6693, allocations: 20.97 MB / 0.6433 GB, free: 13.34 MB / 478.1 MB [Timeout remaining time 659] 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=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.917705335654318]