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.007177/0.007177, allocations: 98 kB / 15.73 MB, free: 6.059 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.001288/0.001288, allocations: 191.4 kB / 16.67 MB, free: 5.969 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03055/0.03055, allocations: 6.483 MB / 297 MB, free: 8.363 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 59.89 kB / 410.9 MB, free: 24.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08776/0.08892, allocations: 50.86 MB / 461.8 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.0079/0.09686, allocations: 7.227 MB / 469 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003987/0.1009, allocations: 2.263 MB / 471.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000493/0.1014, allocations: 31.94 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.103, allocations: 0.8054 MB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.1046, allocations: 0.8322 MB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.1051, allocations: 215.5 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001849/0.1069, allocations: 1.875 MB / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.1081, allocations: 1.17 MB / 476.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006818/0.1088, allocations: 0.6692 MB / 476.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009982/0.1098, allocations: 0.9536 MB / 477.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.11, allocations: 132 kB / 477.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008572/0.1109, allocations: 0.5967 MB / 478.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006468/0.1115, allocations: 0.853 MB / 479.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008212/0.1124, allocations: 1.087 MB / 480.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003148/0.1155, allocations: 3.5 MB / 484 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1155, allocations: 0 / 484 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1156, allocations: 0 / 484 MB, free: 15.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.628e-05/0.1156, allocations: 0 / 484 MB, free: 15.31 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: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.003466/0.1191, allocations: 2.539 MB / 486.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1191, allocations: 8.031 kB / 486.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005113/0.1242, allocations: 1.567 MB / 488.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.1258, allocations: 1.045 MB / 489.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.497e-05/0.1259, allocations: 115.1 kB / 489.2 MB, free: 9.934 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/0.1262, allocations: 159.8 kB / 489.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006364/0.1326, allocations: 5.515 MB / 494.9 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.465e-05/0.1326, allocations: 23.81 kB / 494.9 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/0.1328, allocations: 83.88 kB / 495 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001821/0.1347, allocations: 1.257 MB / 496.3 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00684/0.1415, allocations: 4.613 MB / 0.4891 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2346/0.3761, allocations: 22.09 MB / 0.5107 GB, free: 30.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.3785, allocations: 1.522 MB / 0.5122 GB, free: 29.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006346/0.3792, allocations: 449.5 kB / 0.5126 GB, free: 29.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/0.3795, allocations: 336.6 kB / 0.5129 GB, free: 29.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.3795, allocations: 43.47 kB / 0.513 GB, free: 29.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 2.796e-06/0.3796, allocations: 1.375 kB / 0.513 GB, free: 29.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.007912/0.3875, allocations: 4.374 MB / 0.5173 GB, free: 27.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.3875, allocations: 137.2 kB / 0.5174 GB, free: 27.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.3909, allocations: 2.555 MB / 0.5199 GB, free: 26.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.391, allocations: 36.48 kB / 0.5199 GB, free: 26.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.3921, allocations: 2.03 MB / 0.5219 GB, free: 24.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.3923, allocations: 394.9 kB / 0.5223 GB, free: 24.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008908/0.3932, allocations: 0.8293 MB / 0.5231 GB, free: 24.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.826e-05/0.3933, allocations: 305.8 kB / 0.5234 GB, free: 23.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.3949, allocations: 1.083 MB / 0.5244 GB, free: 23.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/0.3976, allocations: 3.797 MB / 0.5281 GB, free: 19.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004093/0.4017, allocations: 5.341 MB / 0.5334 GB, free: 14.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.267e-05/0.4017, allocations: 28.94 kB / 0.5334 GB, free: 14.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.005538/0.4073, allocations: 4.618 MB / 0.5379 GB, free: 12.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.799e-05/0.4074, allocations: 51.73 kB / 0.538 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.272e-05/0.4074, allocations: 96.16 kB / 0.538 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/0.4076, allocations: 126.3 kB / 0.5382 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002214/0.4098, allocations: 0.9452 MB / 0.5391 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.192e-05/0.4099, allocations: 190.2 kB / 0.5393 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.412, allocations: 201.2 kB / 0.5395 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/0.4122, allocations: 266.7 kB / 0.5397 GB, free: 12.55 MB / 382.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.001211/0.4134, allocations: 1.278 MB / 0.541 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.4137, allocations: 222.5 kB / 0.5412 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.414, allocations: 249.7 kB / 0.5414 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.414, allocations: 12.86 kB / 0.5414 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.4141, allocations: 0.5 kB / 0.5414 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4141, allocations: 7.938 kB / 0.5414 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003615/0.4177, allocations: 3.109 MB / 0.5445 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.4177, allocations: 8.719 kB / 0.5445 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.4182, allocations: 141.7 kB / 0.5446 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.4182, allocations: 12 kB / 0.5446 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.4183, allocations: 20 kB / 0.5446 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.4183, allocations: 15.94 kB / 0.5447 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4183, allocations: 4 kB / 0.5447 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.4201, allocations: 2.099 MB / 0.5467 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.4205, allocations: 371.3 kB / 0.5471 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.4207, allocations: 20 kB / 0.5471 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/0.4213, allocations: 32.03 kB / 0.5471 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.4214, allocations: 59.81 kB / 0.5472 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.4215, allocations: 39.94 kB / 0.5472 GB, free: 4.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001425/0.4229, allocations: 1.572 MB / 0.5487 GB, free: 3.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4229, allocations: 4 kB / 0.5488 GB, free: 3.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002442/0.4254, allocations: 0.5195 MB / 0.5493 GB, free: 2.758 MB / 382.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.0002721/0.4257, allocations: 162.6 kB / 0.5494 GB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002749/0.4284, allocations: 2.526 MB / 0.5519 GB, free: 92 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4284, allocations: 1.219 kB / 0.5519 GB, free: 92 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006575/0.4291, allocations: 476.9 kB / 0.5523 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.4303, allocations: 213.1 kB / 0.5525 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006718/0.437, allocations: 4.967 MB / 0.5574 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/0.4389, allocations: 2.039 MB / 0.5594 GB, free: 8.289 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002551/0.4414, allocations: 1.311 MB / 0.5607 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.4417, allocations: 151.4 kB / 0.5608 GB, free: 6.828 MB / 398.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4417, allocations: 0 / 0.5608 GB, free: 6.828 MB / 398.1 MB Notification: Performance of Templates: time 0.02936/0.4711, allocations: 13.19 MB / 0.5737 GB, free: 9.762 MB / 414.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)