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.001034/0.001034, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001017/0.001017, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9807/0.9807, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.0202/0.0202, allocations: 5.068 MB / 266.1 MB, free: 7.957 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.523e-06/1.523e-06, allocations: 0 / 337.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.704e-05, allocations: 2.312 kB / 337.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.002281/0.002298, allocations: 2.525 MB / 339.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008143/0.003113, allocations: 0.6894 MB / 340.6 MB, free: 9.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.855e-05/0.003211, allocations: 4 kB / 340.6 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.003397, allocations: 47.53 kB / 340.7 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.13e-05/0.003469, allocations: 59.42 kB / 340.7 MB, free: 9.484 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.003654, allocations: 103.8 kB / 340.8 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.003817, allocations: 247.5 kB / 341.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.003978, allocations: 104.6 kB / 341.2 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.861e-05/0.004076, allocations: 143.7 kB / 341.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.101e-05/0.004167, allocations: 75.8 kB / 341.4 MB, free: 8.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.004192, allocations: 24 kB / 341.4 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.036e-05/0.004212, allocations: 24 kB / 341.4 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.00424, allocations: 55.75 kB / 341.5 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.004286, allocations: 79.83 kB / 341.6 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.004455, allocations: 171.4 kB / 341.7 MB, free: 8.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004457, allocations: 0 / 341.7 MB, free: 8.473 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004458, allocations: 0 / 341.7 MB, free: 8.473 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.004462, allocations: 0 / 341.7 MB, free: 8.473 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.0003907/0.004852, allocations: 0.5391 MB / 342.3 MB, free: 7.898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.004882, allocations: 8.031 kB / 342.3 MB, free: 7.891 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.004927, allocations: 40.8 kB / 342.3 MB, free: 7.852 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.005074, allocations: 209.6 kB / 342.5 MB, free: 7.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.005086, allocations: 20.86 kB / 342.5 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.005113, allocations: 20.38 kB / 342.6 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.005316, allocations: 210.4 kB / 342.8 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.00533, allocations: 4.172 kB / 342.8 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.005344, allocations: 16.31 kB / 342.8 MB, free: 7.328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.005352, allocations: 11.94 kB / 342.8 MB, free: 7.316 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.996e-05/0.005422, allocations: 51.45 kB / 342.9 MB, free: 7.266 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.005983, allocations: 0.7426 MB / 343.6 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.00614, allocations: 74.95 kB / 343.7 MB, free: 6.395 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.006165, allocations: 15.69 kB / 343.7 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.006185, allocations: 8 kB / 343.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.006205, allocations: 33.39 kB / 343.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.006207, allocations: 0 / 343.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001626/0.006369, allocations: 97.58 kB / 343.8 MB, free: 6.223 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.006396, allocations: 81.11 kB / 343.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.574e-05/0.006471, allocations: 224.6 kB / 344.1 MB, free: 5.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.00648, allocations: 25.7 kB / 344.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.006547, allocations: 206.8 kB / 344.3 MB, free: 5.648 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.006562, allocations: 35.67 kB / 344.4 MB, free: 5.613 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.0066, allocations: 43.34 kB / 344.4 MB, free: 5.562 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.6e-05/0.006656, allocations: 0.4923 MB / 344.9 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.00668, allocations: 23.67 kB / 344.9 MB, free: 5.031 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.046e-05/0.006731, allocations: 119.1 kB / 345.1 MB, free: 4.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.76e-05/0.006798, allocations: 101.7 kB / 345.2 MB, free: 4.746 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.006801, allocations: 4 kB / 345.2 MB, free: 4.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001086/0.00691, allocations: 117.4 kB / 345.3 MB, free: 4.621 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.006923, allocations: 15.92 kB / 345.3 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.006927, allocations: 0 / 345.3 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.006938, allocations: 4 kB / 345.3 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.007024, allocations: 31.92 kB / 345.3 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.007029, allocations: 4 kB / 345.3 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.00708, allocations: 19.88 kB / 345.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.007088, allocations: 8 kB / 345.4 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.406e-05/0.007132, allocations: 139 kB / 345.5 MB, free: 4.398 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.437e-05/0.007176, allocations: 119.1 kB / 345.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.578e-05/0.007232, allocations: 93.73 kB / 345.7 MB, free: 4.121 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.007233, allocations: 0 / 345.7 MB, free: 4.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 9.653e-05/0.007329, allocations: 121.5 kB / 345.8 MB, free: 3.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.151e-06/0.007335, allocations: 8 kB / 345.8 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-06/0.007337, allocations: 0 / 345.8 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.947e-06/0.007341, allocations: 7.938 kB / 345.8 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.451e-05/0.007396, allocations: 31.92 kB / 345.9 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.007399, allocations: 11.92 kB / 345.9 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.007439, allocations: 11.94 kB / 345.9 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.007443, allocations: 4 kB / 345.9 MB, free: 3.922 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.651e-05/0.007509, allocations: 276 kB / 346.2 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.007532, allocations: 20 kB / 346.2 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.007562, allocations: 25.39 kB / 346.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.007564, allocations: 0 / 346.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.007566, allocations: 0 / 346.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.007569, allocations: 4 kB / 346.2 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.007684, allocations: 141.2 kB / 346.3 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.007685, allocations: 3.984 kB / 346.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.564e-05/0.007751, allocations: 23.98 kB / 346.4 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.007752, allocations: 0 / 346.4 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.007765, allocations: 4 kB / 346.4 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.007765, allocations: 4 kB / 346.4 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.007767, allocations: 3.938 kB / 346.4 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.007904, allocations: 240.3 kB / 346.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.00792, allocations: 19.84 kB / 346.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.007936, allocations: 4 kB / 346.6 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.007985, allocations: 7.984 kB / 346.7 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.008021, allocations: 23.86 kB / 346.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.008024, allocations: 0 / 346.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.914e-05/0.008063, allocations: 156.8 kB / 346.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008063, allocations: 0 / 346.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000236/0.008299, allocations: 83.77 kB / 346.9 MB, free: 2.852 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 6.377e-05/0.008363, allocations: 95.25 kB / 347 MB, free: 2.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.008507, allocations: 110.4 kB / 347.1 MB, free: 2.637 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.008508, allocations: 0 / 347.1 MB, free: 2.637 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.755e-05/0.008535, allocations: 27.61 kB / 347.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.008757, allocations: 28.73 kB / 347.2 MB, free: 2.578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.0094, allocations: 436.3 kB / 347.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.009432, allocations: 71.83 kB / 347.7 MB, free: 2.031 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.03e-05/0.009482, allocations: 16.64 kB / 347.7 MB, free: 2.016 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.009564, allocations: 102.2 kB / 347.8 MB, free: 1.914 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.009565, allocations: 3.938 kB / 347.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of Templates: time 0.003165/0.01273, allocations: 1.794 MB / 349.6 MB, free: 148 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.8600498610176146]