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.001266/0.001266, allocations: 106.5 kB / 16.41 MB, free: 6.516 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.001199/0.001199, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.201/1.201, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.02834/0.02834, allocations: 6.493 MB / 297.7 MB, free: 8.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 55.91 kB / 411.6 MB, free: 24.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07637/0.07758, allocations: 50.87 MB / 462.5 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.006792/0.08441, allocations: 7.209 MB / 469.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003379/0.0878, allocations: 2.271 MB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005698/0.08839, allocations: 31.94 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.08987, allocations: 0.7976 MB / 472.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.0915, allocations: 0.8439 MB / 473.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.09197, allocations: 211.6 kB / 473.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001724/0.09371, allocations: 1.879 MB / 475.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.09475, allocations: 1.166 MB / 476.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006277/0.09538, allocations: 0.677 MB / 477.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009335/0.09633, allocations: 0.9497 MB / 478.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.0965, allocations: 128 kB / 478.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000788/0.0973, allocations: 0.5928 MB / 479.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005515/0.09786, allocations: 0.8608 MB / 480.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006895/0.09856, allocations: 1.091 MB / 481.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002698/0.1013, allocations: 3.493 MB / 484.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1013, allocations: 0 / 484.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1013, allocations: 4 kB / 484.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.1013, allocations: 0 / 484.7 MB, free: 15.34 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.002905/0.1042, allocations: 2.535 MB / 487.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.1043, allocations: 12.03 kB / 487.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004779/0.1091, allocations: 1.563 MB / 488.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.1104, allocations: 1.041 MB / 489.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/0.1105, allocations: 111.2 kB / 489.9 MB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/0.1107, allocations: 159.7 kB / 490.1 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005634/0.1164, allocations: 5.527 MB / 495.6 MB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.975e-05/0.1164, allocations: 27.81 kB / 495.6 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/0.1166, allocations: 79.89 kB / 495.7 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001636/0.1183, allocations: 1.261 MB / 497 MB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006139/0.1244, allocations: 4.602 MB / 0.4898 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2098/0.3342, allocations: 22.1 MB / 0.5114 GB, free: 30.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.3367, allocations: 1.521 MB / 0.5129 GB, free: 30.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006309/0.3373, allocations: 445.4 kB / 0.5133 GB, free: 30.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/0.3376, allocations: 341.8 kB / 0.5136 GB, free: 29.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.3377, allocations: 41.25 kB / 0.5137 GB, free: 29.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 3.427e-06/0.3377, allocations: 3.406 kB / 0.5137 GB, free: 29.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.00839/0.3461, allocations: 4.367 MB / 0.5179 GB, free: 27.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.3461, allocations: 140 kB / 0.5181 GB, free: 27.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/0.3499, allocations: 2.557 MB / 0.5206 GB, free: 26.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.35, allocations: 35.89 kB / 0.5206 GB, free: 26.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009956/0.351, allocations: 2.028 MB / 0.5226 GB, free: 25.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.3512, allocations: 394.9 kB / 0.5229 GB, free: 24.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008084/0.352, allocations: 0.8305 MB / 0.5238 GB, free: 24.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.095e-05/0.3521, allocations: 307 kB / 0.5241 GB, free: 24.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.3534, allocations: 1.079 MB / 0.5251 GB, free: 23.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.3553, allocations: 3.796 MB / 0.5288 GB, free: 19.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003441/0.3588, allocations: 5.344 MB / 0.534 GB, free: 14.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.178e-05/0.3588, allocations: 28.34 kB / 0.5341 GB, free: 14.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.004747/0.3636, allocations: 4.626 MB / 0.5386 GB, free: 13.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.3636, allocations: 53.17 kB / 0.5386 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.288e-05/0.3637, allocations: 96.28 kB / 0.5387 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.508e-05/0.3638, allocations: 126.1 kB / 0.5388 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/0.3658, allocations: 0.9378 MB / 0.5398 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.087e-05/0.3659, allocations: 192.5 kB / 0.5399 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.3678, allocations: 201.8 kB / 0.5401 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.368, allocations: 265.2 kB / 0.5404 GB, free: 12.75 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.001102/0.3691, allocations: 1.282 MB / 0.5416 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.3693, allocations: 220.5 kB / 0.5418 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.3696, allocations: 249.6 kB / 0.5421 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.3696, allocations: 15.67 kB / 0.5421 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.3696, allocations: 4 kB / 0.5421 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3697, allocations: 8.734 kB / 0.5421 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.3729, allocations: 3.094 MB / 0.5451 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.3729, allocations: 11.98 kB / 0.5451 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.3734, allocations: 148.4 kB / 0.5453 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.3734, allocations: 12 kB / 0.5453 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.3735, allocations: 27.44 kB / 0.5453 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.3735, allocations: 15.62 kB / 0.5453 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.3735, allocations: 8 kB / 0.5453 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.3751, allocations: 2.09 MB / 0.5474 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.3754, allocations: 371.3 kB / 0.5477 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.3756, allocations: 27.88 kB / 0.5478 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.3762, allocations: 27.97 kB / 0.5478 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/0.3763, allocations: 63.88 kB / 0.5479 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/0.3764, allocations: 32 kB / 0.5479 GB, free: 5.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001311/0.3777, allocations: 1.572 MB / 0.5494 GB, free: 3.457 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.72e-07/0.3777, allocations: 0 / 0.5494 GB, free: 3.457 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002173/0.3799, allocations: 0.5349 MB / 0.5499 GB, free: 2.926 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.0002114/0.3801, allocations: 148.3 kB / 0.5501 GB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002331/0.3824, allocations: 2.53 MB / 0.5526 GB, free: 272 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3824, allocations: 4.188 kB / 0.5526 GB, free: 268 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.383, allocations: 483.8 kB / 0.553 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.3841, allocations: 200.8 kB / 0.5532 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006023/0.3901, allocations: 5.231 MB / 0.5583 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/0.3917, allocations: 2.04 MB / 0.5603 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/0.392, allocations: 186.2 kB / 0.5605 GB, free: 8.012 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.392, allocations: 0 / 0.5605 GB, free: 8.012 MB / 398.1 MB Notification: Performance of Templates: time 0.03974/0.4318, allocations: 31.58 MB / 0.5913 GB, free: 8.527 MB / 430.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)