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.001477/0.001476, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001376/0.001376, allocations: 191.1 kB / 16.14 MB, free: 6.711 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.288/1.288, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1296/0.1296, allocations: 6.485 MB / 296.4 MB, free: 2.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 51.92 kB / 358.1 MB, free: 0.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08064/0.08169, allocations: 50.85 MB / 408.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.1572/0.239, allocations: 14.2 MB / 423.1 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005432/0.2444, allocations: 3.397 MB / 426.5 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009052/0.2454, allocations: 52.28 kB / 426.6 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.2467, allocations: 0.7728 MB / 427.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.2479, allocations: 0.7705 MB / 428.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.2482, allocations: 193 kB / 428.3 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.2499, allocations: 2.635 MB / 430.9 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009261/0.2508, allocations: 1.124 MB / 432.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004495/0.2513, allocations: 0.5947 MB / 432.7 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008064/0.2521, allocations: 1.028 MB / 433.7 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.2523, allocations: 92.41 kB / 433.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007801/0.2531, allocations: 0.595 MB / 434.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004623/0.2535, allocations: 0.847 MB / 435.2 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005577/0.2541, allocations: 1.063 MB / 436.3 MB, free: 33.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001874/0.256, allocations: 3.292 MB / 439.6 MB, free: 31.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.256, allocations: 4 kB / 439.6 MB, free: 31.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.256, allocations: 0.5625 kB / 439.6 MB, free: 31.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.623e-05/0.256, allocations: 0 / 439.6 MB, free: 31.9 MB / 350.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.002775/0.2588, allocations: 2.477 MB / 442 MB, free: 30.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.2589, allocations: 9.344 kB / 442.1 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004521/0.2634, allocations: 1.544 MB / 443.6 MB, free: 30.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.2646, allocations: 1.033 MB / 444.6 MB, free: 29.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/0.2647, allocations: 110.1 kB / 444.7 MB, free: 29.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/0.2649, allocations: 152.2 kB / 444.9 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004992/0.2699, allocations: 5.528 MB / 450.4 MB, free: 26.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.673e-05/0.27, allocations: 24.5 kB / 450.4 MB, free: 26.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.2702, allocations: 74.5 kB / 450.5 MB, free: 26.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001457/0.2717, allocations: 1.264 MB / 451.8 MB, free: 26.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005619/0.2773, allocations: 4.607 MB / 456.4 MB, free: 25.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/0.2943, allocations: 22.14 MB / 478.5 MB, free: 24.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/0.2967, allocations: 1.521 MB / 480 MB, free: 23.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005823/0.2973, allocations: 440.2 kB / 480.5 MB, free: 23.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003005/0.2976, allocations: 336.1 kB / 480.8 MB, free: 22.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2976, allocations: 43.55 kB / 480.8 MB, free: 22.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 3.286e-06/0.2976, allocations: 0 / 480.8 MB, free: 22.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.007677/0.3053, allocations: 4.268 MB / 485.1 MB, free: 20.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.3054, allocations: 140 kB / 485.3 MB, free: 20.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/0.3083, allocations: 2.552 MB / 487.8 MB, free: 19.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.3084, allocations: 36.2 kB / 487.8 MB, free: 19.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008697/0.3092, allocations: 1.937 MB / 489.8 MB, free: 17.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.3095, allocations: 388.8 kB / 490.2 MB, free: 17.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008436/0.3103, allocations: 0.8207 MB / 491 MB, free: 17.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3104, allocations: 301.1 kB / 491.3 MB, free: 16.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.3118, allocations: 1.078 MB / 492.3 MB, free: 16.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.3141, allocations: 3.79 MB / 496.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004904/0.319, allocations: 5.339 MB / 0.4897 GB, free: 6.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.043e-05/0.3191, allocations: 28 kB / 0.4897 GB, free: 6.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.006359/0.3255, allocations: 4.619 MB / 0.4943 GB, free: 2.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.758e-05/0.3255, allocations: 51.94 kB / 0.4943 GB, free: 2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.883e-05/0.3256, allocations: 96 kB / 0.4944 GB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001093/0.3258, allocations: 128.8 kB / 0.4945 GB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/0.3282, allocations: 0.9396 MB / 0.4954 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001411/0.3284, allocations: 191.2 kB / 0.4956 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.3305, allocations: 203.6 kB / 0.4958 GB, free: 464 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/0.3308, allocations: 260 kB / 0.4961 GB, free: 204 kB / 366.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.001618/0.3324, allocations: 1.282 MB / 0.4973 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.3327, allocations: 209.2 kB / 0.4975 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.333, allocations: 247.9 kB / 0.4978 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.3331, allocations: 15.36 kB / 0.4978 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.3331, allocations: 4.266 kB / 0.4978 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3331, allocations: 4 kB / 0.4978 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/0.3375, allocations: 3.106 MB / 0.5008 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.3375, allocations: 7.938 kB / 0.5008 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005399/0.3381, allocations: 143.7 kB / 0.501 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.3381, allocations: 8 kB / 0.501 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.037e-05/0.3382, allocations: 24.14 kB / 0.501 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.3382, allocations: 11.98 kB / 0.501 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.3382, allocations: 11.94 kB / 0.501 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.3405, allocations: 2.085 MB / 0.503 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004793/0.341, allocations: 362.2 kB / 0.5034 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.3412, allocations: 19.94 kB / 0.5034 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006406/0.3418, allocations: 31.97 kB / 0.5034 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.3419, allocations: 71.8 kB / 0.5035 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.505e-05/0.342, allocations: 35.2 kB / 0.5035 GB, free: 8.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001881/0.3439, allocations: 1.572 MB / 0.5051 GB, free: 6.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3439, allocations: 0 / 0.5051 GB, free: 6.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002513/0.3464, allocations: 0.5273 MB / 0.5056 GB, free: 6.172 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.0002612/0.3467, allocations: 157 kB / 0.5057 GB, free: 6.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003198/0.3499, allocations: 2.499 MB / 0.5082 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3499, allocations: 0 / 0.5082 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006217/0.3505, allocations: 487.1 kB / 0.5086 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.3518, allocations: 200.5 kB / 0.5088 GB, free: 2.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00702/0.3588, allocations: 6.001 MB / 0.5147 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/0.3607, allocations: 2.043 MB / 0.5167 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002932/0.3637, allocations: 1.312 MB / 0.518 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/0.364, allocations: 143.4 kB / 0.5181 GB, free: 9.219 MB / 398.1 MB Notification: Performance of SimCode: time 1.833e-06/0.364, allocations: 4 kB / 0.5181 GB, free: 9.215 MB / 398.1 MB Notification: Performance of Templates: time 0.0257/0.3897, allocations: 14.72 MB / 0.5325 GB, free: 10.58 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)