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.0009562/0.0009562, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001072/0.001072, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.9378/0.9378, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.01958/0.01958, allocations: 5.071 MB / 265 MB, free: 8.102 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 2.224e-06/2.224e-06, allocations: 0 / 336.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.163e-05, allocations: 4.703 kB / 336.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003212/0.003233, allocations: 2.538 MB / 338.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.004308, allocations: 0.6894 MB / 339.4 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.004434, allocations: 7.938 kB / 339.4 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.004664, allocations: 47.56 kB / 339.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.00477, allocations: 51.45 kB / 339.5 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.005045, allocations: 107.8 kB / 339.6 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.005311, allocations: 255.5 kB / 339.9 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.005536, allocations: 96.52 kB / 340 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.005689, allocations: 147.7 kB / 340.1 MB, free: 9.137 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.005818, allocations: 75.77 kB / 340.2 MB, free: 9.062 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.005863, allocations: 24 kB / 340.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.268e-05/0.005895, allocations: 24 kB / 340.2 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.005935, allocations: 47.84 kB / 340.3 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.006005, allocations: 75.83 kB / 340.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.006242, allocations: 175.3 kB / 340.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.006244, allocations: 4 kB / 340.5 MB, free: 8.719 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.006245, allocations: 0 / 340.5 MB, free: 8.719 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.00625, allocations: 0 / 340.5 MB, free: 8.719 MB / 266.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.0005488/0.006799, allocations: 0.5391 MB / 341.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.006842, allocations: 12.03 kB / 341.1 MB, free: 8.133 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.006918, allocations: 36.8 kB / 341.1 MB, free: 8.098 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.007153, allocations: 205.7 kB / 341.3 MB, free: 7.867 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.007172, allocations: 20.88 kB / 341.3 MB, free: 7.848 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.007211, allocations: 20.38 kB / 341.4 MB, free: 7.828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.007543, allocations: 234.3 kB / 341.6 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.00756, allocations: 192 / 341.6 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.007585, allocations: 12.38 kB / 341.6 MB, free: 7.562 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.007597, allocations: 7.938 kB / 341.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.007748, allocations: 70.94 kB / 341.7 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000806/0.008554, allocations: 0.7733 MB / 342.4 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.008782, allocations: 75.03 kB / 342.5 MB, free: 6.574 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.008823, allocations: 15.69 kB / 342.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.008839, allocations: 4 kB / 342.5 MB, free: 6.551 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.008856, allocations: 45.31 kB / 342.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.008858, allocations: 0 / 342.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001738/0.009031, allocations: 97.64 kB / 342.7 MB, free: 6.395 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.009053, allocations: 77.11 kB / 342.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.471e-05/0.009138, allocations: 232.5 kB / 343 MB, free: 6.055 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.009147, allocations: 33.7 kB / 343 MB, free: 6.016 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.009199, allocations: 202.8 kB / 343.2 MB, free: 5.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.009216, allocations: 39.69 kB / 343.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.009251, allocations: 39.36 kB / 343.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.009297, allocations: 0.4923 MB / 343.8 MB, free: 5.223 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.28e-05/0.009329, allocations: 27.67 kB / 343.8 MB, free: 5.191 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.242e-05/0.009382, allocations: 114.3 kB / 343.9 MB, free: 5.043 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.009459, allocations: 117.7 kB / 344 MB, free: 4.898 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.009461, allocations: 0 / 344 MB, free: 4.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001141/0.009576, allocations: 129.3 kB / 344.2 MB, free: 4.766 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.009587, allocations: 4 kB / 344.2 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.009592, allocations: 4 kB / 344.2 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.009604, allocations: 0 / 344.2 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.238e-05/0.009687, allocations: 36.17 kB / 344.2 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.009693, allocations: 11.94 kB / 344.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.009746, allocations: 19.88 kB / 344.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.009754, allocations: 4 kB / 344.2 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.71e-05/0.009801, allocations: 146.9 kB / 344.4 MB, free: 4.539 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.402e-05/0.009845, allocations: 119.2 kB / 344.5 MB, free: 4.383 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.855e-05/0.009903, allocations: 109.7 kB / 344.6 MB, free: 4.246 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.91e-07/0.009904, allocations: 0 / 344.6 MB, free: 4.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 9.806e-05/0.01, allocations: 117.4 kB / 344.7 MB, free: 4.125 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.43e-06/0.01001, allocations: 11.94 kB / 344.7 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-06/0.01001, allocations: 3.984 kB / 344.7 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-06/0.01001, allocations: 4 kB / 344.7 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.42e-05/0.01007, allocations: 27.98 kB / 344.8 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.01007, allocations: 8.125 kB / 344.8 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.01011, allocations: 15.94 kB / 344.8 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.01011, allocations: 8 kB / 344.8 MB, free: 4.047 MB / 266.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 4.837e-05/0.01016, allocations: 272.1 kB / 345.1 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.01018, allocations: 23.83 kB / 345.1 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.01021, allocations: 17.47 kB / 345.1 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01021, allocations: 0 / 345.1 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01022, allocations: 0 / 345.1 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01022, allocations: 0 / 345.1 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.01033, allocations: 180.5 kB / 345.3 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01033, allocations: 4 kB / 345.3 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.587e-05/0.0104, allocations: 27.92 kB / 345.3 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.0104, allocations: 3.984 kB / 345.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.01042, allocations: 7.938 kB / 345.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.01042, allocations: 0 / 345.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01042, allocations: 0 / 345.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.01056, allocations: 248.3 kB / 345.6 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.299e-05/0.01058, allocations: 15.84 kB / 345.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.01059, allocations: 3.938 kB / 345.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/0.01065, allocations: 15.98 kB / 345.6 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.01068, allocations: 8.016 kB / 345.6 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.01069, allocations: 8 kB / 345.6 MB, free: 3.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.304e-05/0.01073, allocations: 160.8 kB / 345.8 MB, free: 3.012 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01073, allocations: 0 / 345.8 MB, free: 3.012 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.01095, allocations: 83.73 kB / 345.9 MB, free: 2.93 MB / 266.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.903e-05/0.01101, allocations: 95.25 kB / 345.9 MB, free: 2.828 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.01117, allocations: 111.7 kB / 346.1 MB, free: 2.711 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01117, allocations: 4.25 kB / 346.1 MB, free: 2.707 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.0112, allocations: 35.61 kB / 346.1 MB, free: 2.668 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.01141, allocations: 27.98 kB / 346.1 MB, free: 2.641 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.01203, allocations: 432.3 kB / 346.5 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.017e-05/0.01206, allocations: 71.83 kB / 346.6 MB, free: 2.098 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.488e-05/0.01211, allocations: 20.62 kB / 346.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.01214, allocations: 16.5 kB / 346.6 MB, free: 2.062 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01214, allocations: 0 / 346.6 MB, free: 2.062 MB / 266.7 MB Notification: Performance of Templates: time 0.003197/0.01534, allocations: 1.702 MB / 348.4 MB, free: 392 kB / 266.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.685556812211871]