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.001199/0.001199, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.001102/0.001102, allocations: 183 kB / 17.34 MB, free: 5.75 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.182/1.182, allocations: 222.9 MB / 241 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.0285/0.0285, allocations: 6.5 MB / 297.7 MB, free: 8.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 71.91 kB / 411.6 MB, free: 24.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08065/0.08177, allocations: 50.84 MB / 462.4 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.007377/0.08918, allocations: 7.224 MB / 469.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003892/0.0931, allocations: 2.263 MB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007616/0.09388, allocations: 39.88 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.09555, allocations: 0.7976 MB / 472.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.09744, allocations: 0.8401 MB / 473.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.09816, allocations: 219.5 kB / 473.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002494/0.1007, allocations: 1.869 MB / 475.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.1025, allocations: 1.166 MB / 476.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.1037, allocations: 0.6732 MB / 477.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.1053, allocations: 0.9535 MB / 478.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005018/0.1058, allocations: 128 kB / 478.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.107, allocations: 0.5967 MB / 479.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008148/0.1078, allocations: 0.853 MB / 480.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.1089, allocations: 1.098 MB / 481.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.1118, allocations: 3.483 MB / 484.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1118, allocations: 0 / 484.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1118, allocations: 0 / 484.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.093e-05/0.1118, allocations: 0 / 484.6 MB, free: 15.38 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.002812/0.1146, allocations: 2.465 MB / 487.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.1147, allocations: 12.03 kB / 487.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004503/0.1192, allocations: 1.55 MB / 488.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.121, allocations: 1.033 MB / 489.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.121, allocations: 115.1 kB / 489.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.1213, allocations: 155.7 kB / 490 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005742/0.127, allocations: 5.527 MB / 495.5 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.09e-05/0.1271, allocations: 27.75 kB / 495.5 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.1273, allocations: 75.89 kB / 495.6 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001539/0.1288, allocations: 1.264 MB / 496.9 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006446/0.1353, allocations: 4.606 MB / 0.4897 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2087/0.3441, allocations: 22.04 MB / 0.5112 GB, free: 30.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/0.3463, allocations: 1.523 MB / 0.5127 GB, free: 29.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005506/0.3469, allocations: 441.8 kB / 0.5131 GB, free: 29.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002839/0.3472, allocations: 338.3 kB / 0.5135 GB, free: 29.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.3472, allocations: 45.5 kB / 0.5135 GB, free: 29.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 3.036e-06/0.3472, allocations: 0 / 0.5135 GB, free: 29.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.007115/0.3543, allocations: 4.254 MB / 0.5177 GB, free: 27.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3544, allocations: 139.5 kB / 0.5178 GB, free: 27.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003128/0.3575, allocations: 2.556 MB / 0.5203 GB, free: 26.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.3576, allocations: 36.52 kB / 0.5203 GB, free: 26.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000915/0.3585, allocations: 1.94 MB / 0.5222 GB, free: 24.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.3587, allocations: 379.7 kB / 0.5226 GB, free: 24.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007846/0.3595, allocations: 0.8208 MB / 0.5234 GB, free: 24.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.3596, allocations: 305.6 kB / 0.5237 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.361, allocations: 1.074 MB / 0.5247 GB, free: 23.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.363, allocations: 3.8 MB / 0.5284 GB, free: 19.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003646/0.3666, allocations: 5.337 MB / 0.5336 GB, free: 14.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-05/0.3667, allocations: 27.5 kB / 0.5337 GB, free: 14.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.004839/0.3715, allocations: 4.619 MB / 0.5382 GB, free: 12.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.3716, allocations: 47.06 kB / 0.5382 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.88e-05/0.3716, allocations: 103.6 kB / 0.5383 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-05/0.3717, allocations: 131.9 kB / 0.5385 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/0.3737, allocations: 0.9419 MB / 0.5394 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.01e-05/0.3738, allocations: 186.1 kB / 0.5395 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.3757, allocations: 207.4 kB / 0.5397 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.3759, allocations: 261.5 kB / 0.54 GB, free: 12.54 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.001094/0.377, allocations: 1.282 MB / 0.5412 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.3772, allocations: 209.3 kB / 0.5414 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.3775, allocations: 254.3 kB / 0.5417 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.3775, allocations: 12 kB / 0.5417 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.3775, allocations: 0 / 0.5417 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3775, allocations: 3.422 kB / 0.5417 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/0.381, allocations: 3.109 MB / 0.5447 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.381, allocations: 8.125 kB / 0.5447 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.3815, allocations: 139.8 kB / 0.5449 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.3815, allocations: 11.98 kB / 0.5449 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.3815, allocations: 24 kB / 0.5449 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.3815, allocations: 11.94 kB / 0.5449 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3815, allocations: 8 kB / 0.5449 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.3831, allocations: 2.078 MB / 0.547 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/0.3836, allocations: 362.2 kB / 0.5473 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.3837, allocations: 24.05 kB / 0.5473 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/0.3843, allocations: 34.41 kB / 0.5474 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.106e-05/0.3844, allocations: 67.69 kB / 0.5474 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.3845, allocations: 39.67 kB / 0.5475 GB, free: 5.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001314/0.3858, allocations: 1.572 MB / 0.549 GB, free: 3.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.92e-07/0.3858, allocations: 0 / 0.549 GB, free: 3.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002097/0.3879, allocations: 0.5184 MB / 0.5495 GB, free: 3.039 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.0002148/0.3881, allocations: 153.1 kB / 0.5497 GB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002345/0.3905, allocations: 2.533 MB / 0.5521 GB, free: 384 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3905, allocations: 0 / 0.5521 GB, free: 384 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.391, allocations: 474 kB / 0.5526 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.3921, allocations: 212.1 kB / 0.5528 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00611/0.3982, allocations: 5.163 MB / 0.5578 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/0.3998, allocations: 2.036 MB / 0.5598 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.4002, allocations: 183.4 kB / 0.56 GB, free: 8.211 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4002, allocations: 0 / 0.56 GB, free: 8.211 MB / 398.1 MB Notification: Performance of Templates: time 0.03758/0.4378, allocations: 31.58 MB / 0.5908 GB, free: 8.719 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)