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.001395/0.001395, 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.001414/0.001414, allocations: 165 kB / 23.02 MB, free: 1.555 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.9335/0.9335, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.02065/0.02065, allocations: 5.071 MB / 265 MB, free: 8.078 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.342e-06/1.342e-06, allocations: 0 / 336.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.926e-05, allocations: 4.844 kB / 336.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.002286/0.002306, allocations: 2.526 MB / 338.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008115/0.003117, allocations: 0.6894 MB / 339.4 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.555e-05/0.003213, allocations: 7.938 kB / 339.4 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.003419, allocations: 51.58 kB / 339.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.487e-05/0.003494, allocations: 47.5 kB / 339.5 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.003701, allocations: 107.8 kB / 339.6 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.003872, allocations: 263.4 kB / 339.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.004047, allocations: 96.52 kB / 340 MB, free: 9.273 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.004147, allocations: 147.7 kB / 340.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.695e-05/0.004244, allocations: 71.73 kB / 340.2 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.004272, allocations: 24 kB / 340.2 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/0.004296, allocations: 24 kB / 340.2 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.004328, allocations: 51.83 kB / 340.3 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.004377, allocations: 79.81 kB / 340.3 MB, free: 8.883 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.004552, allocations: 175.3 kB / 340.5 MB, free: 8.711 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.004554, allocations: 0 / 340.5 MB, free: 8.711 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004555, allocations: 4 kB / 340.5 MB, free: 8.707 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.004559, allocations: 0 / 340.5 MB, free: 8.707 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.0004493/0.005009, allocations: 0.5313 MB / 341.1 MB, free: 8.141 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.005041, allocations: 8.031 kB / 341.1 MB, free: 8.133 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.005097, allocations: 44.8 kB / 341.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.005282, allocations: 201.7 kB / 341.3 MB, free: 7.863 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.005298, allocations: 12.88 kB / 341.3 MB, free: 7.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.005334, allocations: 32.36 kB / 341.3 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.005577, allocations: 230.3 kB / 341.6 MB, free: 7.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.005589, allocations: 192 / 341.6 MB, free: 7.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.005606, allocations: 12.38 kB / 341.6 MB, free: 7.559 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.005616, allocations: 7.938 kB / 341.6 MB, free: 7.551 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.005722, allocations: 70.94 kB / 341.7 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.006315, allocations: 0.7655 MB / 342.4 MB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.0065, allocations: 90.89 kB / 342.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.006532, allocations: 19.67 kB / 342.5 MB, free: 6.539 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.006552, allocations: 0 / 342.5 MB, free: 6.539 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.006569, allocations: 45.33 kB / 342.6 MB, free: 6.484 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 7.72e-07/0.00657, allocations: 0 / 342.6 MB, free: 6.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.000175/0.006745, allocations: 93.7 kB / 342.7 MB, free: 6.387 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.006766, allocations: 77.11 kB / 342.7 MB, free: 6.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.589e-05/0.006852, allocations: 220.6 kB / 343 MB, free: 6.059 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.00686, allocations: 33.64 kB / 343 MB, free: 6.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.006912, allocations: 206.8 kB / 343.2 MB, free: 5.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.006928, allocations: 43.67 kB / 343.2 MB, free: 5.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.006963, allocations: 39.38 kB / 343.3 MB, free: 5.723 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.442e-05/0.007007, allocations: 0.4923 MB / 343.8 MB, free: 5.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.306e-05/0.00704, allocations: 27.67 kB / 343.8 MB, free: 5.188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-05/0.007091, allocations: 119.1 kB / 343.9 MB, free: 5.031 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.666e-05/0.007167, allocations: 105.7 kB / 344 MB, free: 4.898 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.00717, allocations: 4 kB / 344 MB, free: 4.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001222/0.007292, allocations: 129.3 kB / 344.1 MB, free: 4.762 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.007302, allocations: 4 kB / 344.1 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.007308, allocations: 8 kB / 344.2 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.007324, allocations: 0 / 344.2 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.00741, allocations: 39.97 kB / 344.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.007417, allocations: 7.938 kB / 344.2 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.007466, allocations: 20.08 kB / 344.2 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-06/0.007473, allocations: 4 kB / 344.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.905e-05/0.007522, allocations: 142.9 kB / 344.4 MB, free: 4.535 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.42e-05/0.007566, allocations: 126.4 kB / 344.5 MB, free: 4.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.013e-05/0.007626, allocations: 101.7 kB / 344.6 MB, free: 4.246 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-07/0.007627, allocations: 4.031 kB / 344.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 9.642e-05/0.007723, allocations: 121.9 kB / 344.7 MB, free: 4.117 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.711e-06/0.007729, allocations: 15.06 kB / 344.7 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-06/0.00773, allocations: 0 / 344.7 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-06/0.007733, allocations: 4 kB / 344.7 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.269e-05/0.007785, allocations: 27.98 kB / 344.8 MB, free: 4.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.007787, allocations: 7.938 kB / 344.8 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.007828, allocations: 16.11 kB / 344.8 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.007833, allocations: 12 kB / 344.8 MB, free: 4.039 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.377e-05/0.007876, allocations: 272.1 kB / 345.1 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.007899, allocations: 19.84 kB / 345.1 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.007931, allocations: 17.45 kB / 345.1 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.007933, allocations: 4 kB / 345.1 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.007936, allocations: 0 / 345.1 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.007939, allocations: 0 / 345.1 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.008055, allocations: 176.6 kB / 345.3 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.008056, allocations: 0 / 345.3 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.36e-05/0.008119, allocations: 31.92 kB / 345.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.00812, allocations: 0 / 345.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.008135, allocations: 3.938 kB / 345.3 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.008135, allocations: 4 kB / 345.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.008136, allocations: 0 / 345.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.008284, allocations: 255.7 kB / 345.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.008298, allocations: 19.83 kB / 345.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.008313, allocations: 3.938 kB / 345.6 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.83e-05/0.008361, allocations: 8 kB / 345.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.008395, allocations: 7.984 kB / 345.6 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.008398, allocations: 8.031 kB / 345.6 MB, free: 3.164 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.148e-05/0.00844, allocations: 160.8 kB / 345.8 MB, free: 3.008 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00844, allocations: 0 / 345.8 MB, free: 3.008 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002196/0.00866, allocations: 83.73 kB / 345.8 MB, free: 2.926 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.446e-05/0.008714, allocations: 99.23 kB / 345.9 MB, free: 2.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.008867, allocations: 107.1 kB / 346 MB, free: 2.707 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.008868, allocations: 0.75 kB / 346 MB, free: 2.707 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.0089, 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.0002126/0.009112, allocations: 35.98 kB / 346.1 MB, free: 2.633 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006306/0.009743, allocations: 428.3 kB / 346.5 MB, free: 2.184 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.079e-05/0.009773, allocations: 71.83 kB / 346.6 MB, free: 2.094 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.302e-05/0.009817, allocations: 20.62 kB / 346.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.00985, allocations: 16.5 kB / 346.6 MB, free: 2.059 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009851, allocations: 0 / 346.6 MB, free: 2.059 MB / 266.7 MB Notification: Performance of Templates: time 0.003021/0.01287, allocations: 1.6 MB / 348.2 MB, free: 500 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.822354121133685]