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.001174/0.001174, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001738/0.002912, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001322/0.001322, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001589/0.002911, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9178/0.9178, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08954/1.007, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.01894/0.01894, allocations: 5.061 MB / 249 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003253/0.0222, allocations: 1.905 MB / 250.9 MB, free: 8 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.703e-06/1.703e-06, allocations: 0 / 252.3 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.521e-05, allocations: 5.547 kB / 252.3 MB, free: 6.637 MB / 250.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.002472/0.002487, allocations: 2.574 MB / 254.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007688/0.003256, allocations: 0.7009 MB / 255.6 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.898e-05/0.003345, allocations: 7.938 kB / 255.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.003463, allocations: 47.58 kB / 255.6 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.003538, allocations: 55.5 kB / 255.7 MB, free: 3.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.003703, allocations: 103.8 kB / 255.8 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.003906, allocations: 259.4 kB / 256 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.004107, allocations: 91.27 kB / 256.1 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.004256, allocations: 167.6 kB / 256.3 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.004358, allocations: 71.78 kB / 256.4 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.004388, allocations: 28 kB / 256.4 MB, free: 2.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.272e-05/0.004411, allocations: 24 kB / 256.4 MB, free: 2.496 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.004439, allocations: 35.88 kB / 256.4 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.004492, allocations: 63.88 kB / 256.5 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.00467, allocations: 163.4 kB / 256.7 MB, free: 2.238 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.004682, allocations: 0 / 256.7 MB, free: 2.238 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004683, allocations: 0 / 256.7 MB, free: 2.238 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.004696, allocations: 0 / 256.7 MB, free: 2.238 MB / 250.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.0004623/0.005158, allocations: 471.9 kB / 257.1 MB, free: 1.754 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.005188, allocations: 15.98 kB / 257.1 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.005233, allocations: 36.91 kB / 257.2 MB, free: 1.703 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.005405, allocations: 176.6 kB / 257.3 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.005418, allocations: 16.88 kB / 257.4 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.005448, allocations: 24.36 kB / 257.4 MB, free: 1.465 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.005648, allocations: 217.8 kB / 257.6 MB, free: 1.23 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.005659, allocations: 4.188 kB / 257.6 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.005672, allocations: 8.375 kB / 257.6 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.005679, allocations: 11.94 kB / 257.6 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.2e-05/0.005751, allocations: 51.47 kB / 257.7 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.006263, allocations: 0.5492 MB / 258.2 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.0064, allocations: 74.39 kB / 258.3 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.006422, allocations: 16.86 kB / 258.3 MB, free: 488 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.006439, allocations: 0 / 258.3 MB, free: 488 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.006457, allocations: 34.56 kB / 258.3 MB, free: 444 kB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 7.61e-07/0.006458, allocations: 4 kB / 258.4 MB, free: 440 kB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001219/0.00658, allocations: 73.73 kB / 258.4 MB, free: 360 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.006602, allocations: 51.41 kB / 258.5 MB, free: 296 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.891e-05/0.006681, allocations: 164 kB / 258.6 MB, free: 116 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.006692, allocations: 25.7 kB / 258.7 MB, free: 84 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.006763, allocations: 164 kB / 258.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.006784, allocations: 35.69 kB / 258.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.006819, allocations: 33.69 kB / 258.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.006894, allocations: 330.8 kB / 259.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.006915, allocations: 12.86 kB / 259.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.557e-05/0.006971, allocations: 92.56 kB / 259.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.689e-05/0.007038, allocations: 90.08 kB / 259.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00704, allocations: 4 kB / 259.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.286e-05/0.007132, allocations: 101.7 kB / 259.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.007144, allocations: 7.984 kB / 259.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.00715, allocations: 7.938 kB / 259.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.00716, allocations: 4 kB / 259.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.007283, allocations: 43.92 kB / 259.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.007287, allocations: 4 kB / 259.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.007335, allocations: 19.88 kB / 259.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.007341, allocations: 4 kB / 259.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.543e-05/0.007386, allocations: 92.14 kB / 259.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.533e-05/0.007432, allocations: 92.2 kB / 259.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.362e-05/0.007485, allocations: 89.91 kB / 259.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.01e-07/0.007486, allocations: 0 / 259.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 7.784e-05/0.007564, allocations: 97.45 kB / 260 MB, free: 14.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.809e-06/0.007568, allocations: 8.188 kB / 260 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-06/0.00757, allocations: 0 / 260 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-06/0.007572, allocations: 7.938 kB / 260 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.007639, allocations: 43.92 kB / 260 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-06/0.00764, allocations: 0 / 260 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.934e-05/0.00768, allocations: 15.92 kB / 260 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.007686, allocations: 11.94 kB / 260 MB, free: 14.56 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 6.047e-05/0.007746, allocations: 184.3 kB / 260.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.007763, allocations: 11.94 kB / 260.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.007789, allocations: 21.45 kB / 260.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007791, allocations: 4 kB / 260.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.007794, allocations: 7.922 kB / 260.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.007796, allocations: 0 / 260.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.007909, allocations: 117.8 kB / 260.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-07/0.00791, allocations: 0 / 260.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-05/0.007981, allocations: 27.98 kB / 260.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.007992, allocations: 11.95 kB / 260.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.007994, allocations: 3.938 kB / 260.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.008002, allocations: 4 kB / 260.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.008002, allocations: 4 kB / 260.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.008003, allocations: 0 / 260.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.008125, allocations: 187.3 kB / 260.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.008139, allocations: 0 / 260.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.798e-05/0.008187, allocations: 15.94 kB / 260.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.008211, allocations: 3.984 kB / 260.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.008214, allocations: 4 kB / 260.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.822e-05/0.008242, allocations: 45.73 kB / 260.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008242, allocations: 0 / 260.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.008417, allocations: 83.67 kB / 260.8 MB, free: 13.79 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.923e-05/0.008476, allocations: 80.45 kB / 260.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.00859, allocations: 97.94 kB / 260.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.008597, allocations: 7.938 kB / 260.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.449e-05/0.008621, allocations: 24.98 kB / 261 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.008774, allocations: 39.97 kB / 261 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.0106, allocations: 426.1 kB / 261.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.169e-05/0.01064, allocations: 79.84 kB / 261.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.672e-05/0.01069, allocations: 16.64 kB / 261.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.01077, allocations: 79.28 kB / 261.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01077, allocations: 0 / 261.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Templates: time 0.003309/0.01408, allocations: 1.8 MB / 263.4 MB, free: 11.12 MB / 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.4063841020688415]