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.001702/0.001702, allocations: 113 kB / 17.6 MB, free: 4.684 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.002106/0.002106, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.527/1.527, allocations: 225.6 MB / 249.4 MB, free: 3.012 MB / 190.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.02818/0.02818, allocations: 5.276 MB / 309.8 MB, free: 3.246 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.001961/0.001961, allocations: 67.89 kB / 431.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2796, allocations: 53.32 MB / 484.9 MB, free: 26.79 MB / 366.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.008242/0.2879, allocations: 8.086 MB / 493 MB, free: 21.13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007618/0.2955, allocations: 3.605 MB / 496.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.2969, allocations: 39.31 kB / 496.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002741/0.2997, allocations: 1.118 MB / 497.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004408/0.3041, allocations: 1.419 MB / 499.2 MB, free: 17.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.3059, allocations: 0.5757 MB / 499.7 MB, free: 17.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00488/0.3108, allocations: 2.782 MB / 0.4908 GB, free: 16.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002722/0.3135, allocations: 1.295 MB / 0.492 GB, free: 15.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.3157, allocations: 0.9045 MB / 0.4929 GB, free: 15.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002839/0.3186, allocations: 1.378 MB / 0.4942 GB, free: 14.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00089/0.3195, allocations: 180.5 kB / 0.4944 GB, free: 14.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.3219, allocations: 0.9594 MB / 0.4954 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.3231, allocations: 1.132 MB / 0.4965 GB, free: 13.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.3246, allocations: 1.357 MB / 0.4978 GB, free: 12.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00549/0.3301, allocations: 4.438 MB / 0.5021 GB, free: 9.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3301, allocations: 1.781 kB / 0.5021 GB, free: 9.547 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3301, allocations: 0 / 0.5021 GB, free: 9.547 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.648e-05/0.3302, allocations: 0 / 0.5021 GB, free: 9.547 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.006882/0.3371, allocations: 3.265 MB / 0.5053 GB, free: 7.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3371, allocations: 9.625 kB / 0.5053 GB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005804/0.3429, allocations: 1.693 MB / 0.507 GB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003347/0.3463, allocations: 1.497 MB / 0.5084 GB, free: 5.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.3464, allocations: 141.3 kB / 0.5086 GB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/0.3468, allocations: 181.8 kB / 0.5087 GB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008719/0.3555, allocations: 6.74 MB / 0.5153 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.625e-05/0.3556, allocations: 35.73 kB / 0.5154 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002734/0.3559, allocations: 87.89 kB / 0.5154 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002625/0.3585, allocations: 1.46 MB / 0.5169 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.3705, allocations: 5.994 MB / 0.5227 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03856/0.4091, allocations: 27.52 MB / 0.5496 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005249/0.4143, allocations: 2.333 MB / 0.5519 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.416, allocations: 1.001 MB / 0.5529 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-05/0.4161, allocations: 20.08 kB / 0.5529 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.4161, allocations: 46.5 kB / 0.5529 GB, free: 6.441 MB / 414.1 MB Notification: Performance of pre-optimization done (n=102): time 3.156e-06/0.4161, allocations: 0 / 0.5529 GB, free: 6.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.02007/0.4362, allocations: 8.101 MB / 0.5608 GB, free: 14.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.4363, allocations: 166.7 kB / 0.561 GB, free: 14.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00438/0.4407, allocations: 2.94 MB / 0.5639 GB, free: 11.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.4408, allocations: 41.7 kB / 0.5639 GB, free: 11.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001896/0.4427, allocations: 2.272 MB / 0.5661 GB, free: 8.727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005149/0.4432, allocations: 464.5 kB / 0.5666 GB, free: 8.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/0.4445, allocations: 0.913 MB / 0.5675 GB, free: 7.344 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4447, allocations: 308.9 kB / 0.5677 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002438/0.4471, allocations: 1.496 MB / 0.5692 GB, free: 5.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004979/0.4521, allocations: 4.336 MB / 0.5734 GB, free: 15.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008472/0.4606, allocations: 6.267 MB / 0.5796 GB, free: 8.062 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.66e-05/0.4606, allocations: 28 kB / 0.5796 GB, free: 8.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.0105/0.4711, allocations: 5.612 MB / 0.5851 GB, free: 2.422 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.122e-05/0.4712, allocations: 48 kB / 0.5851 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/0.4713, allocations: 100.1 kB / 0.5852 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.4715, allocations: 140 kB / 0.5853 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004272/0.4757, allocations: 1.24 MB / 0.5866 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001812/0.4759, allocations: 199.2 kB / 0.5867 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/0.4791, allocations: 247.6 kB / 0.587 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004092/0.4795, allocations: 280 kB / 0.5872 GB, free: 192 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004864/0.4844, allocations: 2.601 MB / 0.5898 GB, free: 13.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005192/0.4896, allocations: 4.32 MB / 0.594 GB, free: 7.812 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008358/0.498, allocations: 6.236 MB / 0.6001 GB, free: 160 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.365e-05/0.498, allocations: 32 kB / 0.6001 GB, free: 128 kB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01008/0.5081, allocations: 5.593 MB / 0.6056 GB, free: 10.53 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.408e-05/0.5082, allocations: 48 kB / 0.6056 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/0.5083, allocations: 103.9 kB / 0.6057 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/0.5084, allocations: 136 kB / 0.6059 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00417/0.5126, allocations: 1.232 MB / 0.6071 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001682/0.5128, allocations: 199.5 kB / 0.6073 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/0.5157, allocations: 255.6 kB / 0.6075 GB, free: 8.566 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003862/0.5161, allocations: 276 kB / 0.6078 GB, free: 8.297 MB / 478.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.0009644/0.517, allocations: 0.5429 MB / 0.6083 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004599/0.5175, allocations: 254.3 kB / 0.6085 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/0.5199, allocations: 1.312 MB / 0.6098 GB, free: 6.18 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/0.5199, allocations: 12 kB / 0.6098 GB, free: 6.168 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.5199, allocations: 4 kB / 0.6098 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.5199, allocations: 7.922 kB / 0.6098 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007664/0.5276, allocations: 4.288 MB / 0.614 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.5276, allocations: 0 / 0.614 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/0.5296, allocations: 371.4 kB / 0.6144 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.5296, allocations: 4 kB / 0.6144 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-05/0.5297, allocations: 32.02 kB / 0.6144 GB, free: 1.402 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.5297, allocations: 7.938 kB / 0.6144 GB, free: 1.395 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.5297, allocations: 11.88 kB / 0.6144 GB, free: 1.383 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2705/0.8002, allocations: 3.22 MB / 0.6176 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.8015, allocations: 474 kB / 0.618 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/0.8018, allocations: 18.17 kB / 0.618 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009569/0.8027, allocations: 69.78 kB / 0.6181 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.8029, allocations: 59.66 kB / 0.6182 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/0.803, allocations: 31.83 kB / 0.6182 GB, free: 115.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003545/0.8066, allocations: 1.825 MB / 0.62 GB, free: 115 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8066, allocations: 0 / 0.62 GB, free: 115 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007524/0.8141, allocations: 1.184 MB / 0.6211 GB, free: 114.9 MB / 478.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.0004206/0.8145, allocations: 143.7 kB / 0.6213 GB, free: 114.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0101/0.8246, allocations: 5.699 MB / 0.6268 GB, free: 113 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.8246, allocations: 0 / 0.6268 GB, free: 113 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.8259, allocations: 0.7704 MB / 0.6276 GB, free: 112.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/0.8283, allocations: 280.7 kB / 0.6279 GB, free: 112.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.8396, allocations: 5.897 MB / 0.6336 GB, free: 110.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/0.8422, allocations: 2.302 MB / 0.6359 GB, free: 109 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006249/0.8485, allocations: 2.504 MB / 0.6383 GB, free: 108.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006483/0.8491, allocations: 174.8 kB / 0.6385 GB, free: 108.9 MB / 478.1 MB Notification: Performance of SimCode: time 2.284e-06/0.8491, allocations: 0 / 0.6385 GB, free: 108.9 MB / 478.1 MB Notification: Performance of Templates: time 0.05547/0.9046, allocations: 22.37 MB / 0.6603 GB, free: 97.07 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: 6.301101500168443]