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.001233/0.001233, allocations: 102 kB / 16.27 MB, free: 5.859 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.001164/0.001164, allocations: 185.3 kB / 17.19 MB, free: 5.508 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.221/1.221, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.02936/0.02936, allocations: 6.497 MB / 297.6 MB, free: 8.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 67.91 kB / 359.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1774, allocations: 50.86 MB / 410.3 MB, free: 28.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.002882/0.1803, allocations: 2.469 MB / 412.7 MB, free: 25.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008905/0.1813, allocations: 0.6544 MB / 413.4 MB, free: 25.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.1814, allocations: 4 kB / 413.4 MB, free: 25.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.1816, allocations: 43.59 kB / 413.4 MB, free: 25.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.1818, allocations: 59.48 kB / 413.5 MB, free: 25.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.182, allocations: 107.5 kB / 413.6 MB, free: 25.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.1822, allocations: 243.5 kB / 413.8 MB, free: 24.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.1825, allocations: 140 kB / 414 MB, free: 24.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.427e-05/0.1826, allocations: 95.64 kB / 414.1 MB, free: 24.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1827, allocations: 107.5 kB / 414.2 MB, free: 24.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.1827, allocations: 24 kB / 414.2 MB, free: 24.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.135e-05/0.1828, allocations: 24 kB / 414.2 MB, free: 24.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.1828, allocations: 55.78 kB / 414.3 MB, free: 24.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.62e-05/0.1829, allocations: 123.4 kB / 414.4 MB, free: 24.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1831, allocations: 249.1 kB / 414.6 MB, free: 24.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1831, allocations: 4 kB / 414.6 MB, free: 24.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1831, allocations: 0 / 414.6 MB, free: 24.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1831, allocations: 0 / 414.6 MB, free: 24.06 MB / 302.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.0005478/0.1836, allocations: 0.5175 MB / 415.2 MB, free: 23.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.1837, allocations: 11.89 kB / 415.2 MB, free: 23.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.1837, allocations: 28.64 kB / 415.2 MB, free: 23.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1839, allocations: 232 kB / 415.4 MB, free: 23.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.184, allocations: 16.81 kB / 415.4 MB, free: 23.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.184, allocations: 28.25 kB / 415.5 MB, free: 23.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.1844, allocations: 251 kB / 415.7 MB, free: 22.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1844, allocations: 3.906 kB / 415.7 MB, free: 22.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.1844, allocations: 12 kB / 415.7 MB, free: 22.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1844, allocations: 4 kB / 415.7 MB, free: 22.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.1848, allocations: 165.6 kB / 415.9 MB, free: 22.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007949/0.1856, allocations: 0.8335 MB / 416.7 MB, free: 21.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.1859, allocations: 106.5 kB / 416.8 MB, free: 21.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.186, allocations: 52.81 kB / 416.9 MB, free: 21.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.186, allocations: 8 kB / 416.9 MB, free: 21.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.1861, allocations: 34.56 kB / 416.9 MB, free: 21.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.1861, allocations: 0 / 416.9 MB, free: 21.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004452/0.1865, allocations: 169.6 kB / 417.1 MB, free: 21.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.1865, allocations: 89.05 kB / 417.2 MB, free: 21.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1867, allocations: 165.6 kB / 417.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.1867, allocations: 25.7 kB / 417.4 MB, free: 21.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.1867, allocations: 163.8 kB / 417.5 MB, free: 20.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.1868, allocations: 35.83 kB / 417.6 MB, free: 20.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.1868, allocations: 37.7 kB / 417.6 MB, free: 20.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.96e-05/0.1868, allocations: 326.8 kB / 417.9 MB, free: 20.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.187, allocations: 56.83 kB / 418 MB, free: 20.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.1871, allocations: 104.6 kB / 418.1 MB, free: 20.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.1874, allocations: 157.9 kB / 418.2 MB, free: 20.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1874, allocations: 0 / 418.2 MB, free: 20.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003244/0.1877, allocations: 177.3 kB / 418.4 MB, free: 19.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1878, allocations: 9.719 kB / 418.4 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1878, allocations: 8.172 kB / 418.4 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1878, allocations: 4 kB / 418.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.1879, allocations: 39.97 kB / 418.5 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1879, allocations: 4 kB / 418.5 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1881, allocations: 27.77 kB / 418.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1881, allocations: 11.94 kB / 418.5 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001316/0.1882, allocations: 132.1 kB / 418.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001024/0.1883, allocations: 94.83 kB / 418.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001758/0.1885, allocations: 133.9 kB / 418.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.1885, allocations: 3.938 kB / 418.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002477/0.1888, allocations: 165.4 kB / 419 MB, free: 19.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/0.1888, allocations: 4 kB / 419 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.1888, allocations: 3.938 kB / 419 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-06/0.1888, allocations: 4 kB / 419 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1889, allocations: 35.97 kB / 419.1 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.1889, allocations: 0 / 419.1 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.226e-05/0.189, allocations: 23.92 kB / 419.1 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.189, allocations: 4 kB / 419.1 MB, free: 19.23 MB / 302.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.284e-05/0.1891, allocations: 197.4 kB / 419.3 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.1891, allocations: 11.81 kB / 419.3 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.1892, allocations: 17.41 kB / 419.3 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1892, allocations: 0 / 419.3 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1892, allocations: 0 / 419.3 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1892, allocations: 3.984 kB / 419.3 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.1894, allocations: 253.5 kB / 419.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1894, allocations: 0 / 419.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1895, allocations: 35.97 kB / 419.6 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1895, allocations: 4 kB / 419.6 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1895, allocations: 0 / 419.6 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1895, allocations: 4 kB / 419.6 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1895, allocations: 3.938 kB / 419.6 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.19, allocations: 295.1 kB / 419.9 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.19, allocations: 88.98 kB / 420 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.19, allocations: 4 kB / 420 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1901, allocations: 11.98 kB / 420 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.1902, allocations: 7.984 kB / 420 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-06/0.1902, allocations: 0 / 420 MB, free: 18.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.743e-05/0.1902, allocations: 128.9 kB / 420.1 MB, free: 18.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.52e-07/0.1903, allocations: 64 / 420.1 MB, free: 18.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003336/0.1906, allocations: 91.53 kB / 420.2 MB, free: 18.01 MB / 302.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.797e-05/0.1907, allocations: 99.36 kB / 420.3 MB, free: 17.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004166/0.1911, allocations: 192.3 kB / 420.5 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1911, allocations: 0 / 420.5 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1912, allocations: 55.91 kB / 420.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.1916, allocations: 29.12 kB / 420.6 MB, free: 17.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006606/0.1922, allocations: 0.5072 MB / 421.1 MB, free: 17.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.1923, allocations: 0.7319 MB / 421.8 MB, free: 16.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.1924, allocations: 15.44 kB / 421.9 MB, free: 16.32 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1924, allocations: 0 / 421.9 MB, free: 16.32 MB / 302.1 MB Notification: Performance of Templates: time 0.002737/0.1951, allocations: 2.051 MB / 423.9 MB, free: 14.28 MB / 302.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.makefile (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)