Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.ServoMotor_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.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") translateModel(StewartPlatform.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007743/0.0007744, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0008059/0.0008059, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.2449/0.2449, allocations: 6.486 MB / 297.5 MB, free: 3.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003187, allocations: 8 kB / 359.8 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.156, allocations: 51.84 MB / 411.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.002752/0.1588, allocations: 2.036 MB / 413.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.16, allocations: 0.6161 MB / 414.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1601, allocations: 7.938 kB / 414.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.1603, allocations: 43.69 kB / 414.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.1605, allocations: 51.88 kB / 414.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.1608, allocations: 71.86 kB / 414.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.161, allocations: 164.1 kB / 414.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002518/0.1613, allocations: 110 kB / 414.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.1614, allocations: 67.78 kB / 414.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.1615, allocations: 75.58 kB / 414.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.1616, allocations: 8 kB / 414.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.75e-05/0.1616, allocations: 8 kB / 414.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.981e-05/0.1617, allocations: 39.83 kB / 414.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.703e-05/0.1617, allocations: 65.58 kB / 415 MB, free: 9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.1619, allocations: 179.8 kB / 415.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1619, allocations: 0 / 415.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.162, allocations: 0 / 415.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.162, allocations: 4 kB / 415.2 MB, free: 8.82 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007931/0.1628, allocations: 495 kB / 415.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.1628, allocations: 11.97 kB / 415.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.229e-05/0.1629, allocations: 23.72 kB / 415.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.1632, allocations: 234.7 kB / 415.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.1633, allocations: 16.44 kB / 415.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.57e-05/0.1633, allocations: 31.8 kB / 416 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.1639, allocations: 250.7 kB / 416.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1639, allocations: 7.922 kB / 416.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.1639, allocations: 8 kB / 416.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.1639, allocations: 8 kB / 416.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.1644, allocations: 181.6 kB / 416.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.1656, allocations: 0.8336 MB / 417.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.166, allocations: 126.5 kB / 417.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1661, allocations: 4 kB / 417.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.1661, allocations: 30.56 kB / 417.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1661, allocations: 0 / 417.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005581/0.1667, allocations: 205.6 kB / 417.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.1668, allocations: 77.11 kB / 417.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.167, allocations: 163.3 kB / 417.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.167, allocations: 33.7 kB / 417.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1671, allocations: 159.8 kB / 418 MB, free: 5.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.1671, allocations: 39.45 kB / 418.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.1672, allocations: 4 kB / 418.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1673, allocations: 322.8 kB / 418.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1675, allocations: 59.95 kB / 418.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.1677, allocations: 110.8 kB / 418.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1678, allocations: 72 kB / 418.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1679, allocations: 3.938 kB / 418.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004/0.1683, allocations: 205.8 kB / 418.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003397/0.1686, allocations: 0.6124 MB / 419.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1686, allocations: 3.938 kB / 419.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1687, allocations: 4 kB / 419.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.1688, allocations: 51.91 kB / 419.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1688, allocations: 0 / 419.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.169, allocations: 31.83 kB / 419.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.169, allocations: 4 kB / 419.5 MB, free: 4.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.233e-06/0.169, allocations: 4 kB / 419.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000278/0.1693, allocations: 135.8 kB / 419.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1693, allocations: 4 kB / 419.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.95e-06/0.1693, allocations: 4.188 kB / 419.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1694, allocations: 51.86 kB / 419.7 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1695, allocations: 4 kB / 419.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.794e-05/0.1696, allocations: 19.84 kB / 419.8 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1696, allocations: 8 kB / 419.8 MB, free: 3.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.1697, allocations: 209 kB / 420 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.1698, allocations: 11.91 kB / 420 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.1698, allocations: 17.41 kB / 420 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.1698, allocations: 11.94 kB / 420 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1699, allocations: 0 / 420 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1699, allocations: 0 / 420 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.1702, allocations: 261.5 kB / 420.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1702, allocations: 0 / 420.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.1704, allocations: 35.97 kB / 420.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1704, allocations: 0 / 420.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1704, allocations: 4 kB / 420.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1704, allocations: 0 / 420.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1704, allocations: 3.953 kB / 420.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.171, allocations: 319.3 kB / 420.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.171, allocations: 93.08 kB / 420.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1711, allocations: 0 / 420.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.1712, allocations: 27.92 kB / 420.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.1713, allocations: 11.92 kB / 420.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1713, allocations: 3.953 kB / 420.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1714, allocations: 120.9 kB / 420.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1714, allocations: 64 / 420.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004037/0.1718, allocations: 87.59 kB / 421 MB, free: 2.609 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001199/0.1719, allocations: 99.19 kB / 421.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005194/0.1725, allocations: 204 kB / 421.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1725, allocations: 448 / 421.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.1726, allocations: 71.89 kB / 421.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.1729, allocations: 15.98 kB / 421.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.1739, allocations: 0.6095 MB / 421.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1743, allocations: 0.74 MB / 422.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.92e-05/0.1744, allocations: 16.64 kB / 422.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.1744, allocations: 11.44 kB / 422.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1744, allocations: 0 / 422.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of Templates: time 0.2677/0.4422, allocations: 1.358 MB / 424.1 MB, free: 42.58 MB / 350.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.makefile Environment - environmentSimulation: (rm -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ServoMotor_test.sim & ./StewartPlatform_StewartPlatform.Tests.ServoMotor_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) Environment - environmentSimulation: