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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 81.86 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009199/0.0009199, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8835/0.8835, allocations: 177.2 MB / 203.7 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.01996/0.01996, allocations: 5.066 MB / 265.3 MB, free: 7.922 MB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(StewartPlatform.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") translateModel(StewartPlatform.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 336.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.638e-05, allocations: 6.031 kB / 336.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.002416/0.002432, allocations: 2.524 MB / 339.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000782/0.003214, allocations: 0.6855 MB / 339.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.003309, allocations: 4 kB / 339.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.003482, allocations: 51.56 kB / 339.9 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.27e-05/0.003555, allocations: 59.44 kB / 339.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.003736, allocations: 99.81 kB / 340 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.003918, allocations: 255.5 kB / 340.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.004085, allocations: 96.53 kB / 340.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.0042, allocations: 147.7 kB / 340.5 MB, free: 9.941 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.576e-05/0.004296, allocations: 75.78 kB / 340.6 MB, free: 9.867 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.004324, allocations: 24 kB / 340.6 MB, free: 9.844 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.337e-05/0.004347, allocations: 24 kB / 340.6 MB, free: 9.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.00438, allocations: 51.83 kB / 340.7 MB, free: 9.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.004428, allocations: 79.83 kB / 340.8 MB, free: 9.691 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.004624, allocations: 175.3 kB / 340.9 MB, free: 9.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004626, allocations: 0 / 340.9 MB, free: 9.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004627, allocations: 0 / 340.9 MB, free: 9.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.004631, allocations: 0 / 340.9 MB, free: 9.52 MB / 314.7 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.0004827/0.005113, allocations: 0.5352 MB / 341.5 MB, free: 8.945 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.005145, allocations: 12.02 kB / 341.5 MB, free: 8.934 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.005186, allocations: 48.75 kB / 341.5 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.005348, allocations: 204 kB / 341.7 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.005359, allocations: 12.88 kB / 341.8 MB, free: 8.648 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.005386, allocations: 28.31 kB / 341.8 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.00559, allocations: 214.4 kB / 342 MB, free: 8.387 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.0056, allocations: 192 / 342 MB, free: 8.387 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.005614, allocations: 12.38 kB / 342 MB, free: 8.375 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.005621, allocations: 7.938 kB / 342 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.987e-05/0.005691, allocations: 63.38 kB / 342.1 MB, free: 8.309 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005609/0.006251, allocations: 0.7387 MB / 342.8 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.006382, allocations: 71.02 kB / 342.9 MB, free: 7.441 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.006406, allocations: 19.67 kB / 342.9 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.006421, allocations: 4 kB / 342.9 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.006437, allocations: 37.33 kB / 342.9 MB, free: 7.367 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.006438, allocations: 0 / 342.9 MB, free: 7.367 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001455/0.006584, allocations: 105.6 kB / 343 MB, free: 7.258 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.006614, allocations: 81.05 kB / 343.1 MB, free: 7.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.00671, allocations: 223.4 kB / 343.3 MB, free: 6.922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.006721, allocations: 25.7 kB / 343.4 MB, free: 6.891 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.006797, allocations: 210.8 kB / 343.6 MB, free: 6.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.006815, allocations: 31.73 kB / 343.6 MB, free: 6.648 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.429e-05/0.006899, allocations: 39.36 kB / 343.6 MB, free: 6.602 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.007008, allocations: 0.4962 MB / 344.1 MB, free: 6.094 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.007035, allocations: 19.67 kB / 344.2 MB, free: 6.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.295e-05/0.007098, allocations: 119.2 kB / 344.3 MB, free: 5.914 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.4e-05/0.007172, allocations: 101.7 kB / 344.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007174, allocations: 0 / 344.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001107/0.007285, allocations: 113.4 kB / 344.5 MB, free: 5.668 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.007297, allocations: 12.12 kB / 344.5 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.007301, allocations: 4 kB / 344.5 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.007311, allocations: 4 kB / 344.5 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.107e-05/0.007392, allocations: 39.92 kB / 344.5 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.007396, allocations: 3.984 kB / 344.5 MB, free: 5.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.007445, allocations: 15.89 kB / 344.6 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.007451, allocations: 4 kB / 344.6 MB, free: 5.586 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.343e-05/0.007504, allocations: 146.8 kB / 344.7 MB, free: 5.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.981e-05/0.007554, allocations: 110.1 kB / 344.8 MB, free: 5.293 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.894e-05/0.007613, allocations: 105.7 kB / 344.9 MB, free: 5.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.92e-07/0.007613, allocations: 4 kB / 344.9 MB, free: 5.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 9.171e-05/0.007705, allocations: 113.4 kB / 345 MB, free: 5.039 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/0.007712, allocations: 10.66 kB / 345 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-06/0.007713, allocations: 4.188 kB / 345 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-06/0.007716, allocations: 7.938 kB / 345.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.133e-05/0.007767, allocations: 27.98 kB / 345.1 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.00777, allocations: 7.938 kB / 345.1 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.007811, allocations: 19.92 kB / 345.1 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-06/0.007815, allocations: 4 kB / 345.1 MB, free: 4.961 MB / 314.7 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 7.013e-05/0.007885, allocations: 272.1 kB / 345.4 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.007908, allocations: 11.91 kB / 345.4 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.007936, allocations: 25.34 kB / 345.4 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.007939, allocations: 4 kB / 345.4 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.00794, allocations: 4 kB / 345.4 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.007944, allocations: 3.984 kB / 345.4 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.008063, allocations: 141.2 kB / 345.6 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.008064, allocations: 7.938 kB / 345.6 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.008125, allocations: 23.98 kB / 345.6 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.008127, allocations: 4 kB / 345.6 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.008135, allocations: 0 / 345.6 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.008135, allocations: 0 / 345.6 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.008137, allocations: 3.938 kB / 345.6 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.00828, allocations: 240.3 kB / 345.8 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.008296, allocations: 27.86 kB / 345.9 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.008309, allocations: 4 kB / 345.9 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.659e-05/0.008356, allocations: 4 kB / 345.9 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.008382, allocations: 15.92 kB / 345.9 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.008384, allocations: 0 / 345.9 MB, free: 4.133 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.803e-05/0.008432, allocations: 151.8 kB / 346 MB, free: 3.984 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008432, allocations: 0 / 346 MB, free: 3.984 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.008654, allocations: 87.73 kB / 346.1 MB, free: 3.898 MB / 314.7 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.811e-05/0.008712, allocations: 99.22 kB / 346.2 MB, free: 3.793 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.008839, allocations: 115.1 kB / 346.3 MB, free: 3.672 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.00884, allocations: 0 / 346.3 MB, free: 3.672 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.147e-05/0.008872, allocations: 27.67 kB / 346.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.009062, allocations: 27.89 kB / 346.4 MB, free: 3.613 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.009626, allocations: 439.5 kB / 346.8 MB, free: 3.156 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.927e-05/0.009666, allocations: 71.83 kB / 346.9 MB, free: 3.062 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.465e-05/0.00971, allocations: 20.58 kB / 346.9 MB, free: 3.043 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.311e-05/0.009794, allocations: 98.17 kB / 347 MB, free: 2.945 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.009794, allocations: 0 / 347 MB, free: 2.945 MB / 314.7 MB Notification: Performance of Templates: time 0.003063/0.01286, allocations: 1.761 MB / 348.8 MB, free: 1.223 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.makefile [Timeout 660] (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=240 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.473017137032002]