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.001368/0.001368, allocations: 102.9 kB / 16.35 MB, free: 5.879 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.001101/0.001101, allocations: 195.9 kB / 17.3 MB, free: 5.52 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.366/1.366, 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.03064/0.03064, allocations: 6.507 MB / 297.7 MB, free: 8.383 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.89 kB / 360.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2467, allocations: 50.85 MB / 411 MB, free: 28.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.006379/0.2531, allocations: 7.23 MB / 418.3 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003728/0.2569, allocations: 2.267 MB / 420.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006752/0.2576, allocations: 31.94 kB / 420.6 MB, free: 18.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.259, allocations: 0.8015 MB / 421.4 MB, free: 17.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.2606, allocations: 0.8128 MB / 422.2 MB, free: 17.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.261, allocations: 227.5 kB / 422.4 MB, free: 16.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.2627, allocations: 1.871 MB / 424.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009653/0.2637, allocations: 1.162 MB / 425.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006187/0.2643, allocations: 0.6654 MB / 426.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000842/0.2652, allocations: 0.9574 MB / 427.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.2654, allocations: 128 kB / 427.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007823/0.2662, allocations: 0.6045 MB / 427.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004667/0.2666, allocations: 0.853 MB / 428.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006322/0.2673, allocations: 1.083 MB / 429.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.2694, allocations: 3.481 MB / 433.2 MB, free: 6.047 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2695, allocations: 0 / 433.2 MB, free: 6.047 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2695, allocations: 0 / 433.2 MB, free: 6.047 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.214e-05/0.2695, allocations: 0 / 433.2 MB, free: 6.047 MB / 302.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.00288/0.2724, allocations: 2.48 MB / 435.7 MB, free: 3.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2724, allocations: 12.03 kB / 435.7 MB, free: 3.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004326/0.2768, allocations: 1.55 MB / 437.2 MB, free: 1.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.2787, allocations: 1.033 MB / 438.3 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/0.2787, allocations: 115.2 kB / 438.4 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/0.279, allocations: 163.7 kB / 438.5 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007554/0.2866, allocations: 5.515 MB / 444.1 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-05/0.2867, allocations: 27.81 kB / 444.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.2869, allocations: 75.89 kB / 444.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00194/0.2889, allocations: 1.268 MB / 445.4 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008238/0.2971, allocations: 4.598 MB / 450 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02668/0.3238, allocations: 22.05 MB / 472.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/0.3264, allocations: 1.518 MB / 473.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006501/0.3271, allocations: 443.2 kB / 474 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003636/0.3274, allocations: 335.2 kB / 474.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.3275, allocations: 46.5 kB / 474.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=83): time 2.515e-06/0.3275, allocations: 0 / 474.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.008233/0.3357, allocations: 4.252 MB / 478.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/0.3359, allocations: 148.4 kB / 478.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/0.3391, allocations: 2.543 MB / 481.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.362e-05/0.3392, allocations: 41.7 kB / 481.4 MB, free: 4.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.3406, allocations: 1.935 MB / 483.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/0.341, allocations: 391.2 kB / 483.7 MB, free: 1.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009401/0.3419, allocations: 0.8174 MB / 484.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.342, allocations: 305.1 kB / 484.8 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.3436, allocations: 1.078 MB / 485.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003695/0.3473, allocations: 3.787 MB / 489.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00607/0.3534, allocations: 5.346 MB / 495 MB, free: 3.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.425e-05/0.3535, allocations: 28 kB / 495.1 MB, free: 3.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.009194/0.3627, allocations: 4.628 MB / 499.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.3629, allocations: 44 kB / 499.7 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/0.3631, allocations: 96 kB / 499.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.3633, allocations: 128 kB / 499.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/0.3663, allocations: 0.9396 MB / 0.4891 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001613/0.3665, allocations: 195.2 kB / 0.4893 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/0.3696, allocations: 207.9 kB / 0.4895 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005067/0.3701, allocations: 260 kB / 0.4898 GB, free: 13.19 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.002629/0.3727, allocations: 1.282 MB / 0.491 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005908/0.3733, allocations: 209.2 kB / 0.4912 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000493/0.3738, allocations: 251.9 kB / 0.4915 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.3739, allocations: 12 kB / 0.4915 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.3739, allocations: 0 / 0.4915 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.3739, allocations: 3.984 kB / 0.4915 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005267/0.3792, allocations: 3.107 MB / 0.4945 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.138e-06/0.3792, allocations: 4 kB / 0.4945 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005501/0.3798, allocations: 143.8 kB / 0.4947 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.3798, allocations: 8 kB / 0.4947 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/0.3799, allocations: 20 kB / 0.4947 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/0.3799, allocations: 16.5 kB / 0.4947 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3799, allocations: 8 kB / 0.4947 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.3824, allocations: 2.091 MB / 0.4968 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007822/0.3832, allocations: 362.2 kB / 0.4971 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.3834, allocations: 19.83 kB / 0.4971 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006459/0.3841, allocations: 35.95 kB / 0.4972 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.3842, allocations: 67.81 kB / 0.4972 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.3843, allocations: 36 kB / 0.4973 GB, free: 5.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002148/0.3864, allocations: 1.576 MB / 0.4988 GB, free: 3.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3864, allocations: 0 / 0.4988 GB, free: 3.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003019/0.3895, allocations: 0.5195 MB / 0.4993 GB, free: 3.148 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.0003382/0.3898, allocations: 158.9 kB / 0.4994 GB, free: 2.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003968/0.3938, allocations: 2.523 MB / 0.5019 GB, free: 500 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.3938, allocations: 0 / 0.5019 GB, free: 500 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000744/0.3946, allocations: 487.4 kB / 0.5024 GB, free: 16 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1914/0.586, allocations: 197.5 kB / 0.5026 GB, free: 92.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008656/0.5947, allocations: 4.89 MB / 0.5073 GB, free: 90.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002148/0.5969, allocations: 2.034 MB / 0.5093 GB, free: 89.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0031/0.6001, allocations: 1.317 MB / 0.5106 GB, free: 89.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/0.6005, allocations: 144.8 kB / 0.5108 GB, free: 89.58 MB / 382.1 MB Notification: Performance of SimCode: time 1.273e-06/0.6005, allocations: 0 / 0.5108 GB, free: 89.58 MB / 382.1 MB Notification: Performance of Templates: time 0.0271/0.6276, allocations: 11.78 MB / 0.5223 GB, free: 81.34 MB / 382.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 -s cvode -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1)