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.001006/0.001006, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006782/0.006783, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.2028/0.2028, allocations: 6.49 MB / 297.9 MB, free: 3.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 8 kB / 360.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1174, allocations: 51.84 MB / 412.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.2759/0.3933, allocations: 38.48 MB / 450.8 MB, free: 22.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02168/0.4151, allocations: 9.238 MB / 460.1 MB, free: 17.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009371/0.4245, allocations: 178.8 kB / 460.3 MB, free: 17.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.4263, allocations: 491.7 kB / 460.7 MB, free: 17.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004859/0.4311, allocations: 1.829 MB / 462.6 MB, free: 16.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.4327, allocations: 0.6944 MB / 463.3 MB, free: 16.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00825/0.441, allocations: 7.555 MB / 470.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006298/0.4473, allocations: 4.512 MB / 475.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.451, allocations: 1.231 MB / 476.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004532/0.4556, allocations: 2.096 MB / 478.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009876/0.4566, allocations: 148.2 kB / 478.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.4597, allocations: 0.9694 MB / 479.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003106/0.4628, allocations: 1.717 MB / 481.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00473/0.4676, allocations: 1.999 MB / 483.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.4791, allocations: 6.874 MB / 490.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4792, allocations: 1.094 kB / 490.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4792, allocations: 0 / 490.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003072/0.4795, allocations: 0 / 490.4 MB, free: 6.422 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: 1308 * Number of variables: 1308 Notification: Performance of Generate backend data structure: time 0.01244/0.4919, allocations: 3.892 MB / 494.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.492, allocations: 9.625 kB / 494.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02059/0.5126, allocations: 2.868 MB / 497.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.5232, allocations: 3.599 MB / 0.489 GB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002628/0.5236, allocations: 217.7 kB / 0.4892 GB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/0.5252, allocations: 302.1 kB / 0.4895 GB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02093/0.5461, allocations: 8.546 MB / 0.4978 GB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002233/0.5464, allocations: 51.5 kB / 0.4979 GB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006059/0.547, allocations: 135.9 kB / 0.498 GB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002551/0.5496, allocations: 1.571 MB / 0.4995 GB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01781/0.5674, allocations: 6.935 MB / 0.5063 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05597/0.6235, allocations: 33.13 MB / 0.5387 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004927/0.6285, allocations: 2.157 MB / 0.5408 GB, free: 9.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.6297, allocations: 0.6772 MB / 0.5414 GB, free: 8.859 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006621/0.6364, allocations: 3.101 MB / 0.5445 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.6365, allocations: 47.06 kB / 0.5445 GB, free: 5.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=114): time 5.08e-06/0.6365, allocations: 4 kB / 0.5445 GB, free: 5.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=134): time 0.02166/0.6582, allocations: 7.587 MB / 0.5519 GB, free: 13.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/0.6584, allocations: 281.6 kB / 0.5522 GB, free: 13.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01048/0.6689, allocations: 4.116 MB / 0.5562 GB, free: 9.363 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000313/0.6692, allocations: 49.69 kB / 0.5563 GB, free: 9.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003511/0.6728, allocations: 2.918 MB / 0.5591 GB, free: 6.352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.6738, allocations: 0.5479 MB / 0.5596 GB, free: 5.797 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001626/0.6755, allocations: 482 kB / 0.5601 GB, free: 5.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6756, allocations: 305.1 kB / 0.5604 GB, free: 5.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003524/0.6792, allocations: 1.479 MB / 0.5618 GB, free: 3.535 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007217/0.6864, allocations: 4.945 MB / 0.5667 GB, free: 12.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/0.6976, allocations: 6.903 MB / 0.5734 GB, free: 4.242 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002372/0.698, allocations: 36 kB / 0.5734 GB, free: 4.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.297/0.995, allocations: 6.198 MB / 0.5795 GB, free: 119.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.9951, allocations: 58.72 kB / 0.5796 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/0.9953, allocations: 120.2 kB / 0.5797 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.9955, allocations: 162.8 kB / 0.5798 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003905/0.9994, allocations: 1.288 MB / 0.5811 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001728/0.9996, allocations: 241.1 kB / 0.5813 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004755/1.004, allocations: 263 kB / 0.5816 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006013/1.005, allocations: 329.6 kB / 0.5819 GB, free: 119.6 MB / 446.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.004245/1.009, allocations: 2.035 MB / 0.5839 GB, free: 119.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009519/1.01, allocations: 339.3 kB / 0.5842 GB, free: 119.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008962/1.011, allocations: 381.3 kB / 0.5845 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.358e-05/1.011, allocations: 18.45 kB / 0.5846 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/1.011, allocations: 3.719 kB / 0.5846 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/1.011, allocations: 7.172 kB / 0.5846 GB, free: 119.4 MB / 446.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.008789/1.02, allocations: 5.324 MB / 0.5898 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/1.02, allocations: 12.88 kB / 0.5898 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008035/1.021, allocations: 234.5 kB / 0.59 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.091e-05/1.021, allocations: 27.56 kB / 0.59 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-05/1.021, allocations: 39.7 kB / 0.5901 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.805e-05/1.021, allocations: 26.17 kB / 0.5901 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/1.021, allocations: 20.03 kB / 0.5901 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/1.024, allocations: 2.891 MB / 0.5929 GB, free: 117.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.025, allocations: 0.5323 MB / 0.5935 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003557/1.026, allocations: 39.64 kB / 0.5935 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.027, allocations: 63.55 kB / 0.5936 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/1.027, allocations: 113 kB / 0.5937 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.053e-05/1.027, allocations: 55.73 kB / 0.5937 GB, free: 116.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004948/1.032, allocations: 2.613 MB / 0.5963 GB, free: 116 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.02e-07/1.032, allocations: 0 / 0.5963 GB, free: 116 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006277/1.039, allocations: 0.8493 MB / 0.5971 GB, free: 115.9 MB / 446.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.0006002/1.039, allocations: 180 kB / 0.5973 GB, free: 115.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005862/1.045, allocations: 3.378 MB / 0.6006 GB, free: 114.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/1.045, allocations: 3.062 kB / 0.6006 GB, free: 114.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/1.046, allocations: 0.6588 MB / 0.6012 GB, free: 114.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/1.057, allocations: 0.6101 MB / 0.6018 GB, free: 114.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02288/1.08, allocations: 10.17 MB / 0.6117 GB, free: 108.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007091/1.087, allocations: 3.109 MB / 0.6148 GB, free: 107 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005988/1.093, allocations: 1.662 MB / 0.6164 GB, free: 106.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/1.094, allocations: 255.5 kB / 0.6166 GB, free: 106.9 MB / 446.1 MB Notification: Performance of SimCode: time 9.61e-07/1.094, allocations: 0 / 0.6166 GB, free: 106.9 MB / 446.1 MB Notification: Performance of Templates: time 0.06737/1.162, allocations: 31.47 MB / 0.6474 GB, free: 89.38 MB / 446.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: