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.001489/0.001489, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001346/0.001346, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.0313/0.0313, allocations: 6.502 MB / 297.7 MB, free: 8.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.91 kB / 411.6 MB, free: 24.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 50.87 MB / 462.5 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.009656/0.137, allocations: 7.203 MB / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005608/0.1426, allocations: 2.267 MB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.1437, allocations: 35.88 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.1455, allocations: 0.8093 MB / 472.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.1478, allocations: 0.8362 MB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006147/0.1484, allocations: 215.5 kB / 473.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.1507, allocations: 1.876 MB / 475.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.1521, allocations: 1.166 MB / 476.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009232/0.1531, allocations: 0.6732 MB / 477.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.1542, allocations: 0.9535 MB / 478.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002319/0.1545, allocations: 128 kB / 478.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.1556, allocations: 0.6006 MB / 479.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007534/0.1564, allocations: 0.853 MB / 480.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000999/0.1574, allocations: 1.094 MB / 481.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00393/0.1613, allocations: 3.493 MB / 484.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1614, allocations: 0 / 484.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1614, allocations: 0 / 484.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.704e-05/0.1614, allocations: 0 / 484.7 MB, free: 15.35 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.00433/0.1658, allocations: 2.539 MB / 487.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.1658, allocations: 8.031 kB / 487.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005114/0.1709, allocations: 1.571 MB / 488.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.1729, allocations: 1.037 MB / 489.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-05/0.173, allocations: 115.1 kB / 489.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002815/0.1733, allocations: 159.8 kB / 490.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007446/0.1808, allocations: 5.523 MB / 495.6 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.679e-05/0.1809, allocations: 31.75 kB / 495.6 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.1811, allocations: 71.91 kB / 495.7 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001943/0.183, allocations: 1.264 MB / 497 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008108/0.1911, allocations: 4.602 MB / 0.4898 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.32/0.5112, allocations: 22.08 MB / 0.5114 GB, free: 30.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/0.514, allocations: 1.522 MB / 0.5129 GB, free: 29.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000773/0.5148, allocations: 449.4 kB / 0.5133 GB, free: 29.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000356/0.5152, allocations: 338.6 kB / 0.5136 GB, free: 29.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.5152, allocations: 41.84 kB / 0.5137 GB, free: 29.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 3.617e-06/0.5152, allocations: 1.969 kB / 0.5137 GB, free: 29.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.009016/0.5242, allocations: 4.369 MB / 0.5179 GB, free: 27.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.5243, allocations: 141.1 kB / 0.5181 GB, free: 27.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004333/0.5286, allocations: 2.558 MB / 0.5206 GB, free: 26.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.5287, allocations: 35.95 kB / 0.5206 GB, free: 26.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001513/0.5302, allocations: 2.028 MB / 0.5226 GB, free: 24.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003838/0.5306, allocations: 395.6 kB / 0.523 GB, free: 24.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/0.5318, allocations: 0.8275 MB / 0.5238 GB, free: 24.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.5319, allocations: 306.1 kB / 0.5241 GB, free: 23.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.5338, allocations: 1.079 MB / 0.5251 GB, free: 23.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002592/0.5364, allocations: 3.795 MB / 0.5288 GB, free: 19.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004176/0.5406, allocations: 5.351 MB / 0.534 GB, free: 14.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.648e-05/0.5406, allocations: 29.62 kB / 0.5341 GB, free: 14.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.005676/0.5463, allocations: 4.624 MB / 0.5386 GB, free: 12.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/0.5464, allocations: 46.56 kB / 0.5386 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-05/0.5464, allocations: 96.91 kB / 0.5387 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.5466, allocations: 130.6 kB / 0.5388 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/0.5488, allocations: 0.9436 MB / 0.5398 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001234/0.5489, allocations: 188.3 kB / 0.5399 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/0.5514, allocations: 205 kB / 0.5401 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/0.5516, allocations: 257.9 kB / 0.5404 GB, free: 12.59 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.001465/0.5531, allocations: 1.278 MB / 0.5416 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.5534, allocations: 218.5 kB / 0.5418 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.5538, allocations: 253.2 kB / 0.5421 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.5538, allocations: 7.516 kB / 0.5421 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5538, allocations: 2.812 kB / 0.5421 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004941/0.5543, allocations: 358.2 kB / 0.5424 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.5545, allocations: 22.38 kB / 0.5425 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000553/0.5551, allocations: 27.31 kB / 0.5425 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.5552, allocations: 45.36 kB / 0.5425 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001392/0.5566, allocations: 1.217 MB / 0.5437 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001779/0.5584, allocations: 1.985 MB / 0.5457 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004564/0.5589, allocations: 408.2 kB / 0.546 GB, free: 7.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001652/0.5605, allocations: 1.572 MB / 0.5476 GB, free: 5.434 MB / 382.1 MB Notification: Performance of Backend: time 4.1e-07/0.5605, allocations: 4 kB / 0.5476 GB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003935/0.5645, allocations: 2.291 MB / 0.5498 GB, free: 3.164 MB / 382.1 MB Notification: Performance of SimCode: time 0.008643/0.5731, allocations: 5.258 MB / 0.555 GB, free: 13.86 MB / 398.1 MB Notification: Performance of Templates: time 0.06129/0.6345, allocations: 19.59 MB / 0.5741 GB, free: 10.39 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)