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.001189/0.001189, allocations: 105.9 kB / 15.98 MB, free: 6.352 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: 193.5 kB / 16.91 MB, free: 6.195 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.181/1.181, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.02821/0.02821, allocations: 6.491 MB / 297.2 MB, free: 8.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 59.91 kB / 358.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1903, allocations: 50.85 MB / 409.7 MB, free: 28.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.02556/0.2159, allocations: 39.58 MB / 449.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0165/0.2324, allocations: 9.211 MB / 458.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006577/0.239, allocations: 175.6 kB / 458.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004701/0.2438, allocations: 2.325 MB / 461 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004554/0.2484, allocations: 1.814 MB / 462.8 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.2501, allocations: 0.7218 MB / 463.6 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007039/0.2572, allocations: 5.945 MB / 469.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004821/0.262, allocations: 3.699 MB / 473.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003049/0.2651, allocations: 1.694 MB / 474.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003626/0.2688, allocations: 2.504 MB / 477.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.27, allocations: 400 kB / 477.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.2726, allocations: 1.178 MB / 479 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002661/0.2753, allocations: 2.011 MB / 481 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003724/0.279, allocations: 2.316 MB / 483.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00657/0.2856, allocations: 5.934 MB / 489.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.2857, allocations: 0 / 489.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2857, allocations: 3.938 kB / 489.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002308/0.2859, allocations: 0 / 489.2 MB, free: 12.87 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.01064/0.2966, allocations: 4.745 MB / 494 MB, free: 8.051 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2966, allocations: 16.02 kB / 494 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01813/0.3148, allocations: 2.784 MB / 496.8 MB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007333/0.3221, allocations: 3.614 MB / 0.4887 GB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.3223, allocations: 209.9 kB / 0.4889 GB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007985/0.3231, allocations: 299.7 kB / 0.4891 GB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0128/0.3359, allocations: 8.524 MB / 0.4975 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/0.3361, allocations: 51.55 kB / 0.4975 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003877/0.3365, allocations: 135.8 kB / 0.4977 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002126/0.3387, allocations: 1.564 MB / 0.4992 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.16/0.4987, allocations: 6.916 MB / 0.5059 GB, free: 90.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02928/0.528, allocations: 33.08 MB / 0.5382 GB, free: 64.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003357/0.5314, allocations: 2.16 MB / 0.5404 GB, free: 63.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007683/0.5322, allocations: 0.6726 MB / 0.541 GB, free: 63.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003574/0.5358, allocations: 3.088 MB / 0.544 GB, free: 60.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.5359, allocations: 49.11 kB / 0.5441 GB, free: 60.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=114): time 3.336e-06/0.5359, allocations: 4 kB / 0.5441 GB, free: 60.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01406/0.5499, allocations: 7.569 MB / 0.5515 GB, free: 52.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/0.55, allocations: 279.6 kB / 0.5517 GB, free: 52.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004536/0.5546, allocations: 4.113 MB / 0.5557 GB, free: 48.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.5547, allocations: 49.64 kB / 0.5558 GB, free: 47.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.5559, allocations: 2.926 MB / 0.5587 GB, free: 45.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.5562, allocations: 0.5368 MB / 0.5592 GB, free: 44.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009131/0.5571, allocations: 1.112 MB / 0.5603 GB, free: 43.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.084e-05/0.5572, allocations: 305.1 kB / 0.5606 GB, free: 43.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.5587, allocations: 1.477 MB / 0.562 GB, free: 41.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00249/0.5612, allocations: 4.944 MB / 0.5668 GB, free: 34.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004496/0.5657, allocations: 6.906 MB / 0.5736 GB, free: 26.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.798e-05/0.5658, allocations: 36 kB / 0.5736 GB, free: 26.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.007176/0.573, allocations: 6.191 MB / 0.5796 GB, free: 20.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.5731, allocations: 60.03 kB / 0.5797 GB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.021e-05/0.5732, allocations: 122.4 kB / 0.5798 GB, free: 19.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001127/0.5733, allocations: 160 kB / 0.58 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/0.5762, allocations: 1.283 MB / 0.5812 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001177/0.5764, allocations: 239.1 kB / 0.5815 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002873/0.5793, allocations: 265.9 kB / 0.5817 GB, free: 18.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003253/0.5796, allocations: 340 kB / 0.582 GB, free: 17.68 MB / 382.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.001997/0.5816, allocations: 2.033 MB / 0.584 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004289/0.582, allocations: 335.6 kB / 0.5843 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004954/0.5825, allocations: 385.6 kB / 0.5847 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.5826, allocations: 19.98 kB / 0.5847 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.5826, allocations: 0 / 0.5847 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.5826, allocations: 7.984 kB / 0.5847 GB, free: 14.89 MB / 382.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.005815/0.5884, allocations: 5.324 MB / 0.5899 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.5884, allocations: 12 kB / 0.5899 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007322/0.5892, allocations: 231.6 kB / 0.5902 GB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/0.5892, allocations: 19.94 kB / 0.5902 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.225e-05/0.5893, allocations: 43.98 kB / 0.5902 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.5893, allocations: 23.88 kB / 0.5902 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.5893, allocations: 20.38 kB / 0.5903 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.5917, allocations: 2.883 MB / 0.5931 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007548/0.5924, allocations: 0.5317 MB / 0.5936 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003313/0.5928, allocations: 35.98 kB / 0.5936 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009964/0.5938, allocations: 51.97 kB / 0.5937 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.5939, allocations: 131.4 kB / 0.5938 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-05/0.594, allocations: 52 kB / 0.5939 GB, free: 5.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002656/0.5967, allocations: 2.608 MB / 0.5964 GB, free: 2.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5967, allocations: 480 / 0.5964 GB, free: 2.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003389/0.6001, allocations: 0.845 MB / 0.5972 GB, free: 1.637 MB / 382.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.0002717/0.6003, allocations: 179.1 kB / 0.5974 GB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004323/0.6047, allocations: 3.513 MB / 0.6008 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.6047, allocations: 4 kB / 0.6008 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008356/0.6055, allocations: 0.6541 MB / 0.6015 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.6082, allocations: 0.5201 MB / 0.602 GB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.6213, allocations: 10.44 MB / 0.6122 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002993/0.6243, allocations: 3.086 MB / 0.6152 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007228/0.6251, allocations: 271.4 kB / 0.6155 GB, free: 14.8 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.6251, allocations: 0 / 0.6155 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Templates: time 0.06426/0.6893, allocations: 52.54 MB / 0.6668 GB, free: 10.39 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)