Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) Using package StewartPlatform with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 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(StewartPlatform.Tests.SpindleDrive_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.SpindleDrive_test") translateModel(StewartPlatform.Tests.SpindleDrive_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.SpindleDrive_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005946/0.005946, allocations: 105.3 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 191.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1524/0.1524, allocations: 6.479 MB / 297 MB, free: 2.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.83 kB / 410.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2446, allocations: 50.84 MB / 461.8 MB, free: 19.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.007668/0.2523, allocations: 7.226 MB / 469 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004611/0.257, allocations: 2.256 MB / 471.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.2584, allocations: 30.56 kB / 471.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.2602, allocations: 0.8081 MB / 472.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.2625, allocations: 0.8441 MB / 472.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006184/0.2631, allocations: 216.1 kB / 473.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002398/0.2655, allocations: 1.884 MB / 475 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.2669, allocations: 1.149 MB / 476.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.2681, allocations: 0.6738 MB / 476.8 MB, free: 10 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.2694, allocations: 0.9548 MB / 477.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003219/0.2697, allocations: 129.2 kB / 477.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.2709, allocations: 0.5993 MB / 478.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008697/0.2718, allocations: 0.8553 MB / 479.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009189/0.2727, allocations: 1.086 MB / 480.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002974/0.2757, allocations: 3.486 MB / 483.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2757, allocations: 1.062 kB / 483.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2757, allocations: 0 / 483.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.783e-05/0.2758, allocations: 4 kB / 483.9 MB, free: 6.02 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.00341/0.2792, allocations: 2.465 MB / 486.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2793, allocations: 12.69 kB / 486.4 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005132/0.2844, allocations: 1.551 MB / 488 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.2862, allocations: 1.031 MB / 489 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.114e-05/0.2863, allocations: 116.9 kB / 489.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.2866, allocations: 149.2 kB / 489.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007052/0.2936, allocations: 5.529 MB / 494.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-05/0.2937, allocations: 23.81 kB / 494.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/0.294, allocations: 79.91 kB / 494.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001968/0.2959, allocations: 1.264 MB / 496.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007963/0.3039, allocations: 4.606 MB / 0.489 GB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02459/0.3285, allocations: 22.06 MB / 0.5106 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.3312, allocations: 1.519 MB / 0.5121 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006503/0.3319, allocations: 447.2 kB / 0.5125 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003436/0.3322, allocations: 339.1 kB / 0.5128 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.3323, allocations: 42.5 kB / 0.5128 GB, free: 15.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 3.507e-06/0.3323, allocations: 0 / 0.5128 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=91): time 0.008621/0.3409, allocations: 4.255 MB / 0.517 GB, free: 10.74 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.341, allocations: 136.5 kB / 0.5171 GB, free: 10.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003178/0.3442, allocations: 2.554 MB / 0.5196 GB, free: 7.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.102e-05/0.3443, allocations: 41.69 kB / 0.5197 GB, free: 7.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001291/0.3456, allocations: 1.935 MB / 0.5216 GB, free: 5.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.3459, allocations: 383.4 kB / 0.5219 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009206/0.3469, allocations: 0.8212 MB / 0.5227 GB, free: 4.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.347, allocations: 305.1 kB / 0.523 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.3486, allocations: 1.082 MB / 0.5241 GB, free: 3.383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003341/0.352, allocations: 3.79 MB / 0.5278 GB, free: 14.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005902/0.3579, allocations: 5.334 MB / 0.533 GB, free: 7.531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.889e-05/0.358, allocations: 28 kB / 0.533 GB, free: 7.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.007921/0.3659, allocations: 4.629 MB / 0.5375 GB, free: 2.867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/0.366, allocations: 48 kB / 0.5376 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-05/0.3661, allocations: 96.88 kB / 0.5377 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.3662, allocations: 128 kB / 0.5378 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/0.3688, allocations: 0.9435 MB / 0.5387 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000162/0.369, allocations: 187.2 kB / 0.5389 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/0.3714, allocations: 207.5 kB / 0.5391 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003513/0.3717, allocations: 260 kB / 0.5393 GB, free: 1.016 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * Number of states: 0 () * Number of discrete variables: 18 (pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (509): * Single equations (assignments): 506 * 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.001961/0.3737, allocations: 1.278 MB / 0.5406 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/0.3741, allocations: 209.2 kB / 0.5408 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.3746, allocations: 255.9 kB / 0.541 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.3746, allocations: 8 kB / 0.541 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.3746, allocations: 4 kB / 0.541 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.3747, allocations: 3.984 kB / 0.541 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004978/0.3796, allocations: 3.1 MB / 0.5441 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.3797, allocations: 5 kB / 0.5441 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.3803, allocations: 143.7 kB / 0.5442 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.3803, allocations: 12 kB / 0.5442 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.078e-05/0.3803, allocations: 27.92 kB / 0.5443 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.537e-06/0.3803, allocations: 8 kB / 0.5443 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.3804, allocations: 11.94 kB / 0.5443 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/0.3829, allocations: 2.09 MB / 0.5463 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006891/0.3836, allocations: 358.1 kB / 0.5467 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.3838, allocations: 27.98 kB / 0.5467 GB, free: 9.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006517/0.3845, allocations: 32.05 kB / 0.5467 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.3846, allocations: 67.73 kB / 0.5468 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/0.3847, allocations: 35.92 kB / 0.5468 GB, free: 9.078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00227/0.387, allocations: 1.58 MB / 0.5484 GB, free: 7.484 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.387, allocations: 0 / 0.5484 GB, free: 7.484 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003108/0.3901, allocations: 0.5156 MB / 0.5489 GB, free: 6.969 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (73): * Single equations (assignments): 70 * 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.0003535/0.3905, allocations: 150.9 kB / 0.549 GB, free: 6.812 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004399/0.3949, allocations: 2.517 MB / 0.5515 GB, free: 4.316 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.729e-06/0.3949, allocations: 4 kB / 0.5515 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007504/0.3957, allocations: 488.9 kB / 0.5519 GB, free: 3.836 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.3974, allocations: 216.5 kB / 0.5521 GB, free: 3.621 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/0.4061, allocations: 4.883 MB / 0.5569 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/0.4081, allocations: 2.035 MB / 0.5589 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002632/0.4107, allocations: 1.32 MB / 0.5602 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.411, allocations: 147.4 kB / 0.5603 GB, free: 11.08 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.411, allocations: 0 / 0.5603 GB, free: 11.08 MB / 446.1 MB Notification: Performance of Templates: time 0.02928/0.4403, allocations: 13.17 MB / 0.5732 GB, free: 13.94 MB / 462.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.makefile (rm -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.sim & ./StewartPlatform_StewartPlatform.Tests.SpindleDrive_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1)