Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.ElectricCylinder_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.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") translateModel(StewartPlatform.Tests.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00575/0.00575, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001276/0.001276, allocations: 194.6 kB / 16.68 MB, free: 5.973 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1419/0.1419, allocations: 6.472 MB / 297 MB, free: 2.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 59.91 kB / 410.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2881, allocations: 50.85 MB / 461.8 MB, free: 19.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01245/0.3006, allocations: 11.62 MB / 473.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.3108, allocations: 4.378 MB / 477.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003359/0.3142, allocations: 72.16 kB / 477.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005418/0.3197, allocations: 2.438 MB / 480.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006964/0.3267, allocations: 1.998 MB / 482.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.329, allocations: 0.7727 MB / 483 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00962/0.3386, allocations: 5.556 MB / 488.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006227/0.3449, allocations: 3.502 MB / 492.1 MB, free: 296 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00479/0.3498, allocations: 1.685 MB / 493.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005352/0.3552, allocations: 2.261 MB / 496 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002107/0.3573, allocations: 400 kB / 496.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004356/0.3617, allocations: 1.163 MB / 497.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003879/0.3656, allocations: 1.987 MB / 499.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006585/0.3722, allocations: 2.292 MB / 0.4901 GB, free: 8.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.3849, allocations: 7.414 MB / 0.4973 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.385, allocations: 4 kB / 0.4974 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.385, allocations: 0 / 0.4974 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003678/0.3854, allocations: 0 / 0.4974 GB, free: 0.5977 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: 1308 * Number of variables: 1308 Notification: Performance of Generate backend data structure: time 0.01401/0.3994, allocations: 4.737 MB / 0.502 GB, free: 11.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.3995, allocations: 16.03 kB / 0.502 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02017/0.4197, allocations: 2.792 MB / 0.5047 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.4299, allocations: 3.672 MB / 0.5083 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002532/0.4302, allocations: 213.9 kB / 0.5085 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/0.4316, allocations: 295.7 kB / 0.5088 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01866/0.4503, allocations: 8.536 MB / 0.5171 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002982/0.4507, allocations: 43.59 kB / 0.5172 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001263/0.452, allocations: 135.9 kB / 0.5173 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002802/0.4548, allocations: 1.568 MB / 0.5188 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01545/0.4703, allocations: 6.915 MB / 0.5256 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04612/0.5164, allocations: 32.96 MB / 0.5578 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004437/0.5209, allocations: 2.148 MB / 0.5599 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009655/0.5219, allocations: 0.6778 MB / 0.5605 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005215/0.5272, allocations: 3.096 MB / 0.5635 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.5272, allocations: 43.12 kB / 0.5636 GB, free: 10.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 3.857e-06/0.5272, allocations: 4 kB / 0.5636 GB, free: 10.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01759/0.5448, allocations: 7.577 MB / 0.571 GB, free: 2.879 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002064/0.5451, allocations: 277.6 kB / 0.5713 GB, free: 2.547 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006093/0.5512, allocations: 4.128 MB / 0.5753 GB, free: 14.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.5514, allocations: 45.7 kB / 0.5753 GB, free: 14.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002224/0.5537, allocations: 2.925 MB / 0.5782 GB, free: 11.38 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005999/0.5543, allocations: 0.5363 MB / 0.5787 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/0.5556, allocations: 1.114 MB / 0.5798 GB, free: 9.707 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5557, allocations: 301.1 kB / 0.5801 GB, free: 9.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.5579, allocations: 1.482 MB / 0.5815 GB, free: 7.922 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004719/0.5627, allocations: 4.941 MB / 0.5864 GB, free: 1.242 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2488/0.8115, allocations: 6.898 MB / 0.5931 GB, free: 101 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.473e-05/0.8117, allocations: 34.19 kB / 0.5931 GB, free: 101 MB / 462.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01013/0.8218, allocations: 6.194 MB / 0.5992 GB, free: 98.78 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.684e-05/0.8219, allocations: 56.81 kB / 0.5992 GB, free: 98.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/0.822, allocations: 121.4 kB / 0.5993 GB, free: 98.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.8222, allocations: 160.2 kB / 0.5995 GB, free: 98.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00364/0.8259, allocations: 1.288 MB / 0.6008 GB, free: 98.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000237/0.8261, allocations: 237 kB / 0.601 GB, free: 98.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003392/0.8295, allocations: 264 kB / 0.6012 GB, free: 98.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004657/0.83, allocations: 335.8 kB / 0.6016 GB, free: 98.44 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (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],electricCylinder.bodyCylinder.color[3],electricCylinder.bodyCylinder.color[2],electricCylinder.bodyCylinder.color[1],electricCylinder.bodyCylinder.body.sphereColor[3],electricCylinder.bodyCylinder.body.sphereColor[2],electricCylinder.bodyCylinder.body.sphereColor[1],electricCylinder.bodyBox.color[3],electricCylinder.bodyBox.color[2],electricCylinder.bodyBox.color[1],electricCylinder.bodyBox.body.sphereColor[3],electricCylinder.bodyBox.body.sphereColor[2],electricCylinder.bodyBox.body.sphereColor[1],electricCylinder.prismatic.boxColor[3],electricCylinder.prismatic.boxColor[2],electricCylinder.prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (690): * Single equations (assignments): 687 * 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.002839/0.8328, allocations: 2.027 MB / 0.6035 GB, free: 97.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005546/0.8334, allocations: 337.6 kB / 0.6039 GB, free: 97.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006533/0.8341, allocations: 386.5 kB / 0.6042 GB, free: 97.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/0.8341, allocations: 22.59 kB / 0.6042 GB, free: 97.33 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.8341, allocations: 2.406 kB / 0.6043 GB, free: 97.33 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.8341, allocations: 6.609 kB / 0.6043 GB, free: 97.33 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008214/0.8424, allocations: 5.314 MB / 0.6094 GB, free: 94.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/0.8424, allocations: 12.41 kB / 0.6095 GB, free: 94.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008891/0.8433, allocations: 233.6 kB / 0.6097 GB, free: 94.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.459e-05/0.8433, allocations: 18.81 kB / 0.6097 GB, free: 94.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.103e-05/0.8434, allocations: 38.91 kB / 0.6097 GB, free: 94.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.416e-05/0.8435, allocations: 29.11 kB / 0.6098 GB, free: 94.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.401e-05/0.8435, allocations: 18.34 kB / 0.6098 GB, free: 94.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003234/0.8467, allocations: 2.898 MB / 0.6126 GB, free: 93.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.8479, allocations: 0.5241 MB / 0.6131 GB, free: 92.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003951/0.8483, allocations: 42.59 kB / 0.6132 GB, free: 92.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.8495, allocations: 55.62 kB / 0.6132 GB, free: 92.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.8496, allocations: 120.2 kB / 0.6133 GB, free: 92.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-05/0.8497, allocations: 53.28 kB / 0.6134 GB, free: 92.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004496/0.8542, allocations: 2.608 MB / 0.6159 GB, free: 91.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.303e-06/0.8543, allocations: 0 / 0.6159 GB, free: 91.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004871/0.8591, allocations: 0.8424 MB / 0.6168 GB, free: 91.77 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 2 (electricCylinder.prismatic.s,electricCylinder.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 (118): * Single equations (assignments): 115 * 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.0004894/0.8597, allocations: 192 kB / 0.6169 GB, free: 91.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005433/0.8651, allocations: 3.397 MB / 0.6203 GB, free: 90.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.892e-05/0.8652, allocations: 3.969 kB / 0.6203 GB, free: 90.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008859/0.866, allocations: 0.655 MB / 0.6209 GB, free: 90.28 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/0.8692, allocations: 0.5171 MB / 0.6214 GB, free: 90.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.8804, allocations: 8.203 MB / 0.6294 GB, free: 86.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002652/0.8831, allocations: 3.11 MB / 0.6325 GB, free: 84.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003142/0.8863, allocations: 1.632 MB / 0.634 GB, free: 83.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/0.8867, allocations: 227.4 kB / 0.6343 GB, free: 83.03 MB / 462.1 MB Notification: Performance of SimCode: time 1.323e-06/0.8867, allocations: 0 / 0.6343 GB, free: 83.03 MB / 462.1 MB Notification: Performance of Templates: time 0.04263/0.9294, allocations: 25.9 MB / 0.6596 GB, free: 57.66 MB / 462.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.makefile (rm -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.sim & ./StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1)