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.001519/0.001519, allocations: 92.7 kB / 19.44 MB, free: 324 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.001647/0.001647, allocations: 161.7 kB / 22.75 MB, free: 1.656 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 1.451/1.451, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] 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.03497/0.03497, allocations: 5.072 MB / 264.6 MB, free: 7.992 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.204e-06/2.204e-06, allocations: 0 / 335.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.836e-05/4.057e-05, allocations: 2.312 kB / 335.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.002926/0.002966, allocations: 2.417 MB / 337.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008861/0.003852, allocations: 0.666 MB / 338.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.003955, allocations: 4 kB / 338.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.004177, allocations: 47.53 kB / 338.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.893e-05/0.004275, allocations: 59.48 kB / 338.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.004501, allocations: 99.81 kB / 338.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.004695, allocations: 251.5 kB / 339 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.004876, allocations: 108.5 kB / 339.1 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.005009, allocations: 135.8 kB / 339.2 MB, free: 9.664 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.447e-05/0.005104, allocations: 71.8 kB / 339.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.005137, allocations: 27.98 kB / 339.3 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.903e-05/0.005166, allocations: 24 kB / 339.3 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.005198, allocations: 51.77 kB / 339.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.005262, allocations: 79.83 kB / 339.5 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.005482, allocations: 267.1 kB / 339.7 MB, free: 9.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.005485, allocations: 0 / 339.7 MB, free: 9.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005486, allocations: 0 / 339.7 MB, free: 9.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.00549, allocations: 4 kB / 339.7 MB, free: 9.148 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.0005619/0.006052, allocations: 445.8 kB / 340.2 MB, free: 8.684 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.006082, allocations: 12.03 kB / 340.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.006154, allocations: 40.78 kB / 340.2 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.006396, allocations: 199.7 kB / 340.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.006414, allocations: 24.81 kB / 340.4 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.006455, allocations: 20.38 kB / 340.5 MB, free: 8.371 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.006847, allocations: 269.9 kB / 340.7 MB, free: 8.086 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.006871, allocations: 192 / 340.7 MB, free: 8.086 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.006893, allocations: 12.38 kB / 340.7 MB, free: 8.074 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.006899, allocations: 7.938 kB / 340.8 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.007242, allocations: 165.8 kB / 340.9 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/0.00802, allocations: 0.6855 MB / 341.6 MB, free: 7.172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.008352, allocations: 94.52 kB / 341.7 MB, free: 7.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.008483, allocations: 60.77 kB / 341.8 MB, free: 7.008 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.008506, allocations: 0 / 341.8 MB, free: 7.008 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.00852, allocations: 38.69 kB / 341.8 MB, free: 6.961 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 7.91e-07/0.008521, allocations: 0 / 341.8 MB, free: 6.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005094/0.00903, allocations: 177.5 kB / 342 MB, free: 6.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.009056, allocations: 85.05 kB / 342 MB, free: 6.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.009166, allocations: 165.4 kB / 342.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.009177, allocations: 29.7 kB / 342.2 MB, free: 6.469 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.009236, allocations: 168 kB / 342.4 MB, free: 6.301 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.009256, allocations: 35.7 kB / 342.4 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.009301, allocations: 29.7 kB / 342.5 MB, free: 6.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.009348, allocations: 322.8 kB / 342.8 MB, free: 5.906 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.00949, allocations: 56.81 kB / 342.8 MB, free: 5.848 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.009644, allocations: 132.5 kB / 343 MB, free: 5.688 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.009927, allocations: 149.9 kB / 343.1 MB, free: 5.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009929, allocations: 0 / 343.1 MB, free: 5.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003497/0.01028, allocations: 193.3 kB / 343.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.01029, allocations: 8 kB / 343.3 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.0103, allocations: 4.188 kB / 343.3 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.01032, allocations: 4 kB / 343.3 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.01047, allocations: 39.91 kB / 343.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.01048, allocations: 7.938 kB / 343.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.01059, allocations: 27.88 kB / 343.4 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.0106, allocations: 4 kB / 343.4 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001525/0.01075, allocations: 136.1 kB / 343.5 MB, free: 5.094 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000111/0.01087, allocations: 127.1 kB / 343.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001796/0.01105, allocations: 125.9 kB / 343.8 MB, free: 4.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.001e-06/0.01105, allocations: 0 / 343.8 MB, free: 4.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.000256/0.0113, allocations: 169.4 kB / 343.9 MB, free: 4.625 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.572e-06/0.01131, allocations: 11.94 kB / 343.9 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.01131, allocations: 0 / 343.9 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-06/0.01131, allocations: 4 kB / 344 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.01143, allocations: 39.92 kB / 344 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.01143, allocations: 0 / 344 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.861e-05/0.01153, allocations: 20.12 kB / 344 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.01154, allocations: 8 kB / 344 MB, free: 4.543 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 5.351e-05/0.01159, allocations: 188.2 kB / 344.2 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.01163, allocations: 19.84 kB / 344.2 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.01167, allocations: 17.45 kB / 344.2 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01168, allocations: 4 kB / 344.2 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.01168, allocations: 0 / 344.2 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.01168, allocations: 0 / 344.2 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.01185, allocations: 177.2 kB / 344.4 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01185, allocations: 0 / 344.4 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.01199, allocations: 35.97 kB / 344.5 MB, free: 4.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.012, allocations: 0 / 344.5 MB, free: 4.074 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.01201, allocations: 3.938 kB / 344.5 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01201, allocations: 4 kB / 344.5 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01201, allocations: 0 / 344.5 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.01246, allocations: 295.8 kB / 344.7 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.01247, allocations: 11.91 kB / 344.8 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.0125, allocations: 11.94 kB / 344.8 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.01264, allocations: 11.98 kB / 344.8 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.01268, allocations: 3.984 kB / 344.8 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.01269, allocations: 11.98 kB / 344.8 MB, free: 3.711 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.01275, allocations: 128.8 kB / 344.9 MB, free: 3.586 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01275, allocations: 0 / 344.9 MB, free: 3.586 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000366/0.01312, allocations: 87.67 kB / 345 MB, free: 3.5 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 7.361e-05/0.01319, allocations: 103.2 kB / 345.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004337/0.01362, allocations: 172.4 kB / 345.3 MB, free: 3.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01362, allocations: 4 kB / 345.3 MB, free: 3.219 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.01375, allocations: 48.03 kB / 345.3 MB, free: 3.172 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.01409, allocations: 31.27 kB / 345.4 MB, free: 3.145 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/0.01475, allocations: 434.1 kB / 345.8 MB, free: 2.695 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.062e-05/0.01482, allocations: 125.1 kB / 345.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.713e-05/0.01489, allocations: 12.64 kB / 345.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.01493, allocations: 20.5 kB / 345.9 MB, free: 2.516 MB / 266.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01493, allocations: 0 / 345.9 MB, free: 2.516 MB / 266.7 MB Notification: Performance of Templates: time 0.004247/0.01918, allocations: 1.608 MB / 347.5 MB, free: 0.9453 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=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.283723640022799]