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.005335/0.005335, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001216/0.001217, allocations: 201.8 kB / 16.68 MB, free: 5.969 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 / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1407/0.1407, allocations: 6.483 MB / 297 MB, free: 2.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.91 kB / 410.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2541, allocations: 50.85 MB / 461.8 MB, free: 19.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01044/0.2646, allocations: 11.63 MB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008264/0.2729, allocations: 4.379 MB / 477.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.2752, allocations: 71.25 kB / 477.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004444/0.2797, allocations: 2.445 MB / 480.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005264/0.285, allocations: 1.988 MB / 482.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.2865, allocations: 0.7686 MB / 483 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007024/0.2936, allocations: 5.554 MB / 488.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003468/0.2971, allocations: 3.509 MB / 492.1 MB, free: 92 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/0.3002, allocations: 1.685 MB / 493.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003509/0.3037, allocations: 2.252 MB / 496 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007499/0.3044, allocations: 400.3 kB / 496.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.3067, allocations: 1.174 MB / 497.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001895/0.3086, allocations: 1.983 MB / 499.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002407/0.311, allocations: 2.296 MB / 0.4901 GB, free: 7.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007807/0.3188, allocations: 7.441 MB / 0.4974 GB, free: 440 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3189, allocations: 0 / 0.4974 GB, free: 440 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3189, allocations: 0 / 0.4974 GB, free: 440 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000135/0.319, allocations: 0 / 0.4974 GB, free: 440 kB / 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.009077/0.3281, allocations: 4.871 MB / 0.5021 GB, free: 11.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3282, allocations: 8.031 kB / 0.5021 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01866/0.3468, allocations: 2.83 MB / 0.5049 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008149/0.355, allocations: 3.67 MB / 0.5085 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.3552, allocations: 221.9 kB / 0.5087 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008033/0.356, allocations: 295.7 kB / 0.509 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/0.369, allocations: 8.524 MB / 0.5173 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.3692, allocations: 43.69 kB / 0.5174 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003556/0.3695, allocations: 147.9 kB / 0.5175 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002216/0.3717, allocations: 1.556 MB / 0.519 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.3845, allocations: 6.923 MB / 0.5258 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03988/0.4244, allocations: 33.03 MB / 0.558 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004054/0.4285, allocations: 2.152 MB / 0.5601 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009588/0.4295, allocations: 0.6693 MB / 0.5608 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00484/0.4343, allocations: 3.105 MB / 0.5638 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.4344, allocations: 51.06 kB / 0.5639 GB, free: 10.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 3.617e-06/0.4344, allocations: 0 / 0.5639 GB, free: 10.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01747/0.4519, allocations: 7.807 MB / 0.5715 GB, free: 2.277 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/0.4521, allocations: 277.6 kB / 0.5718 GB, free: 1.945 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006851/0.4589, allocations: 4.118 MB / 0.5758 GB, free: 13.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002216/0.4592, allocations: 53.69 kB / 0.5758 GB, free: 13.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002383/0.4616, allocations: 3.039 MB / 0.5788 GB, free: 10.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005834/0.4622, allocations: 0.5623 MB / 0.5793 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001657/0.4638, allocations: 1.112 MB / 0.5804 GB, free: 8.988 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.4639, allocations: 305.1 kB / 0.5807 GB, free: 8.688 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/0.4662, allocations: 1.482 MB / 0.5822 GB, free: 7.199 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004503/0.4707, allocations: 4.937 MB / 0.587 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2185/0.6893, allocations: 6.899 MB / 0.5937 GB, free: 100.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001004/0.6894, allocations: 34.62 kB / 0.5938 GB, free: 100.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0117/0.7011, allocations: 6.21 MB / 0.5998 GB, free: 98.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.992e-05/0.7013, allocations: 66.41 kB / 0.5999 GB, free: 98.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001803/0.7014, allocations: 122.2 kB / 0.6 GB, free: 98.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/0.7017, allocations: 164.4 kB / 0.6002 GB, free: 98.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004199/0.7059, allocations: 1.282 MB / 0.6014 GB, free: 97.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002705/0.7062, allocations: 237.7 kB / 0.6016 GB, free: 97.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004079/0.7103, allocations: 262.7 kB / 0.6019 GB, free: 97.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007379/0.711, allocations: 338.1 kB / 0.6022 GB, free: 97.7 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.00372/0.7147, allocations: 2.026 MB / 0.6042 GB, free: 96.78 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000799/0.7156, allocations: 358.6 kB / 0.6045 GB, free: 96.78 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008648/0.7164, allocations: 381.6 kB / 0.6049 GB, free: 96.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/0.7165, allocations: 15.34 kB / 0.6049 GB, free: 96.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/0.7165, allocations: 3.188 kB / 0.6049 GB, free: 96.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.7165, allocations: 5.344 kB / 0.6049 GB, free: 96.6 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.01066/0.7272, allocations: 5.322 MB / 0.6101 GB, free: 94.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.535e-05/0.7273, allocations: 20.47 kB / 0.6101 GB, free: 94.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009345/0.7282, allocations: 234.8 kB / 0.6104 GB, free: 94.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.181e-05/0.7282, allocations: 18 kB / 0.6104 GB, free: 94.13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/0.7284, allocations: 37.62 kB / 0.6104 GB, free: 94.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.649e-05/0.7284, allocations: 25.36 kB / 0.6104 GB, free: 94.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.7e-05/0.7285, allocations: 19.3 kB / 0.6105 GB, free: 94.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00418/0.7326, allocations: 2.916 MB / 0.6133 GB, free: 92.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/0.7342, allocations: 0.5412 MB / 0.6138 GB, free: 92.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008007/0.735, allocations: 39.52 kB / 0.6139 GB, free: 92.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/0.7366, allocations: 62.06 kB / 0.6139 GB, free: 92.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/0.7368, allocations: 109.4 kB / 0.614 GB, free: 92.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.7369, allocations: 52.83 kB / 0.6141 GB, free: 92.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005652/0.7426, allocations: 2.618 MB / 0.6166 GB, free: 91.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7426, allocations: 0 / 0.6166 GB, free: 91.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005128/0.7477, allocations: 0.845 MB / 0.6175 GB, free: 91.02 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.0004527/0.7482, allocations: 181.3 kB / 0.6176 GB, free: 90.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00533/0.7536, allocations: 3.398 MB / 0.621 GB, free: 89.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/0.7536, allocations: 3.969 kB / 0.621 GB, free: 89.74 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008716/0.7545, allocations: 0.6551 MB / 0.6216 GB, free: 89.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/0.758, allocations: 0.5209 MB / 0.6221 GB, free: 89.31 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/0.7718, allocations: 8.337 MB / 0.6302 GB, free: 85.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003922/0.7757, allocations: 3.111 MB / 0.6333 GB, free: 83.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003633/0.7794, allocations: 1.636 MB / 0.6349 GB, free: 82.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006693/0.7801, allocations: 226.8 kB / 0.6351 GB, free: 81.92 MB / 462.1 MB Notification: Performance of SimCode: time 1.353e-06/0.7801, allocations: 0 / 0.6351 GB, free: 81.92 MB / 462.1 MB Notification: Performance of Templates: time 0.05124/0.8313, allocations: 25.9 MB / 0.6604 GB, free: 56.48 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)