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.001183/0.001183, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008288/0.008289, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.506/1.506, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1727/0.1727, allocations: 6.493 MB / 297.9 MB, free: 3.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 8 kB / 360.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1253, allocations: 51.84 MB / 412.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.2759/0.4013, allocations: 13.62 MB / 426 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008732/0.4101, allocations: 3.359 MB / 429.3 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003087/0.4132, allocations: 53.84 kB / 429.4 MB, free: 33.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.4144, allocations: 270.5 kB / 429.7 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002991/0.4174, allocations: 0.77 MB / 430.4 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008172/0.4182, allocations: 185.2 kB / 430.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003439/0.4217, allocations: 2.627 MB / 433.2 MB, free: 33.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.4243, allocations: 1.486 MB / 434.7 MB, free: 33.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009631/0.4253, allocations: 0.5501 MB / 435.3 MB, free: 32.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.4265, allocations: 0.983 MB / 436.3 MB, free: 32.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.4267, allocations: 74.22 kB / 436.3 MB, free: 32.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009958/0.4277, allocations: 0.5762 MB / 436.9 MB, free: 32.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006529/0.4283, allocations: 0.8345 MB / 437.7 MB, free: 32.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007751/0.4291, allocations: 1.055 MB / 438.8 MB, free: 32.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002785/0.4319, allocations: 3.227 MB / 442 MB, free: 31.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4319, allocations: 0.5625 kB / 442 MB, free: 31.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4319, allocations: 0 / 442 MB, free: 31.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.871e-05/0.432, allocations: 4 kB / 442 MB, free: 31.54 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.003125/0.4351, allocations: 2.044 MB / 444.1 MB, free: 30.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4352, allocations: 12.5 kB / 444.1 MB, free: 30.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004796/0.44, allocations: 1.594 MB / 445.7 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/0.4419, allocations: 1.024 MB / 446.7 MB, free: 29.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-05/0.442, allocations: 112.8 kB / 446.8 MB, free: 29.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002765/0.4423, allocations: 149.8 kB / 447 MB, free: 29.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006684/0.449, allocations: 5.528 MB / 452.5 MB, free: 26.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.822e-05/0.4491, allocations: 32.75 kB / 452.5 MB, free: 26.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.4493, allocations: 73.16 kB / 452.6 MB, free: 26.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00171/0.451, allocations: 1.266 MB / 453.9 MB, free: 26.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007605/0.4586, allocations: 4.6 MB / 458.5 MB, free: 24.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02959/0.4882, allocations: 22.16 MB / 480.6 MB, free: 24.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.4913, allocations: 1.527 MB / 482.1 MB, free: 23.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007919/0.4922, allocations: 447.4 kB / 482.6 MB, free: 23.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004073/0.4926, allocations: 339 kB / 482.9 MB, free: 22.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.4927, allocations: 42.86 kB / 483 MB, free: 22.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 4.238e-06/0.4927, allocations: 0 / 483 MB, free: 22.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.01192/0.5046, allocations: 4.278 MB / 487.2 MB, free: 20.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/0.5047, allocations: 135.6 kB / 487.4 MB, free: 20.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006652/0.5114, allocations: 2.551 MB / 489.9 MB, free: 19.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001958/0.5116, allocations: 36.45 kB / 489.9 MB, free: 19.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001785/0.5134, allocations: 1.944 MB / 491.9 MB, free: 17.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006444/0.5141, allocations: 385.5 kB / 492.3 MB, free: 17.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009077/0.515, allocations: 349 kB / 492.6 MB, free: 17.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5152, allocations: 304 kB / 492.9 MB, free: 16.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002608/0.5178, allocations: 1.078 MB / 494 MB, free: 16.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003933/0.5217, allocations: 3.792 MB / 497.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007055/0.5288, allocations: 5.349 MB / 0.4913 GB, free: 6.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/0.529, allocations: 28 kB / 0.4914 GB, free: 6.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.009523/0.5385, allocations: 4.625 MB / 0.4959 GB, free: 2.316 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.219e-05/0.5386, allocations: 44 kB / 0.4959 GB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/0.5388, allocations: 96 kB / 0.496 GB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001416/0.5389, allocations: 131.9 kB / 0.4961 GB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/0.5416, allocations: 0.9402 MB / 0.4971 GB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001511/0.5418, allocations: 195.2 kB / 0.4972 GB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/0.5446, allocations: 202.6 kB / 0.4974 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003436/0.545, allocations: 260 kB / 0.4977 GB, free: 480 kB / 366.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.002329/0.5473, allocations: 1.274 MB / 0.4989 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000496/0.5478, allocations: 209.2 kB / 0.4991 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004639/0.5483, allocations: 251.9 kB / 0.4994 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/0.5484, allocations: 16 kB / 0.4994 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.5484, allocations: 0.875 kB / 0.4994 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.5484, allocations: 7.984 kB / 0.4994 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005233/0.5536, allocations: 3.115 MB / 0.5024 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.5537, allocations: 4 kB / 0.5024 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.5542, allocations: 147.7 kB / 0.5026 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.5543, allocations: 8 kB / 0.5026 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.5543, allocations: 20 kB / 0.5026 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.5543, allocations: 12 kB / 0.5026 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.5543, allocations: 7.938 kB / 0.5026 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/0.557, allocations: 2.095 MB / 0.5047 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008643/0.5579, allocations: 362.2 kB / 0.505 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.5581, allocations: 19.94 kB / 0.505 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006646/0.5588, allocations: 36.25 kB / 0.5051 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.5589, allocations: 67.81 kB / 0.5051 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.795e-05/0.559, allocations: 36 kB / 0.5052 GB, free: 8.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002604/0.5616, allocations: 1.576 MB / 0.5067 GB, free: 6.953 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5616, allocations: 0 / 0.5067 GB, free: 6.953 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003908/0.5656, allocations: 0.5271 MB / 0.5072 GB, free: 6.43 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.0003839/0.566, allocations: 158.9 kB / 0.5074 GB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00484/0.5708, allocations: 2.508 MB / 0.5098 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.5709, allocations: 0 / 0.5098 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008099/0.5717, allocations: 485.8 kB / 0.5103 GB, free: 3.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/0.5751, allocations: 199.1 kB / 0.5105 GB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.5857, allocations: 6.077 MB / 0.5164 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/0.5878, allocations: 2.039 MB / 0.5184 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003402/0.5912, allocations: 1.308 MB / 0.5197 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.5916, allocations: 151.4 kB / 0.5198 GB, free: 9.383 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5916, allocations: 0 / 0.5198 GB, free: 9.383 MB / 398.1 MB Notification: Performance of Templates: time 0.03341/0.625, allocations: 14.62 MB / 0.5341 GB, free: 10.85 MB / 414.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: