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.001398/0.001398, allocations: 114.5 kB / 16.42 MB, free: 6.508 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.001362/0.001362, allocations: 183.9 kB / 17.34 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.5/1.5, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03076/0.03076, allocations: 6.491 MB / 297.7 MB, free: 8.402 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.89 kB / 411.6 MB, free: 24.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1624, allocations: 50.86 MB / 462.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.01032/0.1728, allocations: 7.215 MB / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006906/0.1798, allocations: 2.267 MB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.1812, allocations: 31.94 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.1837, allocations: 0.8054 MB / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003101/0.1869, allocations: 0.8439 MB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008798/0.1878, allocations: 211.6 kB / 473.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003464/0.1913, allocations: 1.88 MB / 475.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.1936, allocations: 1.162 MB / 476.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008892/0.2025, allocations: 0.6692 MB / 477.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.2047, allocations: 0.9536 MB / 478.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007368/0.2055, allocations: 128 kB / 478.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.2074, allocations: 0.6044 MB / 479.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001281/0.2087, allocations: 0.8569 MB / 480.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.2111, allocations: 1.087 MB / 481.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005984/0.2171, allocations: 3.493 MB / 484.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2172, allocations: 0 / 484.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2172, allocations: 0 / 484.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.626e-05/0.2173, allocations: 0 / 484.7 MB, free: 15.36 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.00484/0.2221, allocations: 2.535 MB / 487.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.2222, allocations: 12.03 kB / 487.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004876/0.2271, allocations: 1.571 MB / 488.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.2295, allocations: 1.041 MB / 489.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-05/0.2296, allocations: 111.1 kB / 489.9 MB, free: 9.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/0.2299, allocations: 147.8 kB / 490.1 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02696/0.2569, allocations: 5.539 MB / 495.6 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001378/0.2571, allocations: 23.81 kB / 495.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006981/0.2578, allocations: 71.91 kB / 495.7 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002249/0.2601, allocations: 1.261 MB / 497 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.2763, allocations: 4.608 MB / 0.4898 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4019/0.6783, allocations: 22.1 MB / 0.5114 GB, free: 30.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.6815, allocations: 1.519 MB / 0.5129 GB, free: 30.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00072/0.6822, allocations: 445.5 kB / 0.5133 GB, free: 29.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003755/0.6826, allocations: 339.1 kB / 0.5136 GB, free: 29.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.6826, allocations: 43.78 kB / 0.5137 GB, free: 29.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 4.839e-06/0.6827, allocations: 1.188 kB / 0.5137 GB, free: 29.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.01041/0.6931, allocations: 4.371 MB / 0.5179 GB, free: 27.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.6932, allocations: 140.7 kB / 0.5181 GB, free: 27.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006561/0.6998, allocations: 2.557 MB / 0.5206 GB, free: 26.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.7, allocations: 37.09 kB / 0.5206 GB, free: 26.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.7017, allocations: 2.027 MB / 0.5226 GB, free: 25.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00047/0.7022, allocations: 398.4 kB / 0.523 GB, free: 24.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/0.7034, allocations: 0.8262 MB / 0.5238 GB, free: 24.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.858e-05/0.7035, allocations: 309.1 kB / 0.5241 GB, free: 24.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002002/0.7055, allocations: 1.075 MB / 0.5251 GB, free: 23.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00315/0.7086, allocations: 3.794 MB / 0.5288 GB, free: 19.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006045/0.7147, allocations: 5.343 MB / 0.534 GB, free: 14.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.347e-05/0.7148, allocations: 27.56 kB / 0.5341 GB, free: 14.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.007164/0.722, allocations: 4.628 MB / 0.5386 GB, free: 13.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/0.7221, allocations: 49.44 kB / 0.5386 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.013e-05/0.7222, allocations: 96.62 kB / 0.5387 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000131/0.7223, allocations: 126.9 kB / 0.5388 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/0.7246, allocations: 0.9361 MB / 0.5398 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001295/0.7247, allocations: 193.2 kB / 0.5399 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003142/0.7279, allocations: 206.2 kB / 0.5401 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/0.7281, allocations: 260.2 kB / 0.5404 GB, free: 12.81 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.001653/0.7298, allocations: 1.283 MB / 0.5416 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/0.7302, allocations: 228.4 kB / 0.5419 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.7305, allocations: 247.5 kB / 0.5421 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.7305, allocations: 3.422 kB / 0.5421 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.7306, allocations: 0 / 0.5421 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005633/0.7311, allocations: 358.2 kB / 0.5424 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.7313, allocations: 27.52 kB / 0.5425 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/0.7319, allocations: 26.95 kB / 0.5425 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.732, allocations: 38.86 kB / 0.5425 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001408/0.7334, allocations: 1.223 MB / 0.5437 GB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001815/0.7353, allocations: 1.981 MB / 0.5457 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004628/0.7357, allocations: 412.3 kB / 0.5461 GB, free: 7.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0018/0.7375, allocations: 1.58 MB / 0.5476 GB, free: 5.758 MB / 382.1 MB Notification: Performance of Backend: time 2.11e-07/0.7375, allocations: 0 / 0.5476 GB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004215/0.7418, allocations: 2.291 MB / 0.5498 GB, free: 3.492 MB / 382.1 MB Notification: Performance of SimCode: time 0.007169/0.7489, allocations: 5.246 MB / 0.555 GB, free: 14.2 MB / 398.1 MB Notification: Performance of Templates: time 0.04538/0.7944, allocations: 19.59 MB / 0.5741 GB, free: 10.73 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)