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.001151/0.001151, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0009175/0.0009175, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.96/0.96, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.01866/0.01866, allocations: 5.05 MB / 265 MB, free: 8.305 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.766e-06/2.766e-06, allocations: 0 / 390.4 MB, free: 6.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.105e-05, allocations: 2.281 kB / 390.4 MB, free: 6.883 MB / 314.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003117/0.003148, allocations: 2.402 MB / 392.8 MB, free: 4.469 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.004228, allocations: 0.6815 MB / 393.5 MB, free: 3.781 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.004357, allocations: 4 kB / 393.5 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.004603, allocations: 51.45 kB / 393.6 MB, free: 3.727 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.231e-05/0.004696, allocations: 55.48 kB / 393.6 MB, free: 3.672 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.00499, allocations: 103.4 kB / 393.7 MB, free: 3.574 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.005241, allocations: 263.4 kB / 394 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.005471, allocations: 84.66 kB / 394.1 MB, free: 3.234 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.005622, allocations: 143.8 kB / 394.2 MB, free: 3.094 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.005738, allocations: 83.7 kB / 394.3 MB, free: 3.012 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.005781, allocations: 23.94 kB / 394.3 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.424e-05/0.005805, allocations: 24 kB / 394.3 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.047e-05/0.005846, allocations: 51.83 kB / 394.4 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.005909, allocations: 79.77 kB / 394.5 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.006179, allocations: 263.1 kB / 394.7 MB, free: 2.578 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006182, allocations: 0 / 394.7 MB, free: 2.578 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006183, allocations: 0 / 394.7 MB, free: 2.578 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.006189, allocations: 4 kB / 394.7 MB, free: 2.574 MB / 314.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.0006487/0.006838, allocations: 453.8 kB / 395.2 MB, free: 2.098 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.006884, allocations: 8.031 kB / 395.2 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.006942, allocations: 28.75 kB / 395.2 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.007234, allocations: 190.3 kB / 395.4 MB, free: 1.852 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.007253, allocations: 20.88 kB / 395.4 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.007293, allocations: 20.38 kB / 395.4 MB, free: 1.812 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.007659, allocations: 265.9 kB / 395.7 MB, free: 1.531 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.007677, allocations: 4.172 kB / 395.7 MB, free: 1.527 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.007699, allocations: 12.38 kB / 395.7 MB, free: 1.516 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.007707, allocations: 7.938 kB / 395.7 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.00795, allocations: 161.8 kB / 395.9 MB, free: 1.352 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008057/0.008755, allocations: 0.6737 MB / 396.5 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.00905, allocations: 106.5 kB / 396.6 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.657e-05/0.009137, allocations: 52.83 kB / 396.7 MB, free: 472 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.009167, allocations: 4 kB / 396.7 MB, free: 468 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.009191, allocations: 42.62 kB / 396.7 MB, free: 416 kB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.009192, allocations: 0 / 396.7 MB, free: 416 kB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003533/0.009546, allocations: 173.4 kB / 396.9 MB, free: 236 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.009589, allocations: 81.09 kB / 397 MB, free: 136 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.009716, allocations: 171.3 kB / 397.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.00973, allocations: 25.7 kB / 397.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/0.009818, allocations: 164 kB / 397.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.009843, allocations: 35.69 kB / 397.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.009888, allocations: 38.08 kB / 397.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.01009, allocations: 318.8 kB / 397.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.026e-05/0.01018, allocations: 64.75 kB / 397.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.0103, allocations: 129.5 kB / 397.9 MB, free: 15.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.01049, allocations: 149.8 kB / 398.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.0105, allocations: 4.031 kB / 398.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002378/0.01073, allocations: 193.2 kB / 398.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01075, allocations: 4 kB / 398.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.01076, allocations: 4 kB / 398.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.01077, allocations: 4 kB / 398.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.01087, allocations: 44.16 kB / 398.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.01088, allocations: 7.938 kB / 398.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/0.01094, allocations: 19.88 kB / 398.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.01095, allocations: 8 kB / 398.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001063/0.01105, allocations: 136.1 kB / 398.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001018/0.01115, allocations: 123.2 kB / 398.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001305/0.01128, allocations: 133.9 kB / 398.7 MB, free: 14.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.01e-07/0.01128, allocations: 0 / 398.7 MB, free: 14.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0001764/0.01146, allocations: 169.4 kB / 398.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/0.01147, allocations: 10.75 kB / 398.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.01147, allocations: 4 kB / 398.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-06/0.01148, allocations: 3.984 kB / 398.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.01154, allocations: 31.98 kB / 398.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.01154, allocations: 4 kB / 398.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.01159, allocations: 15.98 kB / 399 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.01159, allocations: 8.125 kB / 399 MB, free: 13.99 MB / 330.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 8.984e-05/0.01168, allocations: 192.2 kB / 399.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.0117, allocations: 19.84 kB / 399.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.01174, allocations: 17.45 kB / 399.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01174, allocations: 4 kB / 399.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.01175, allocations: 0 / 399.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.01175, allocations: 0 / 399.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.0119, allocations: 169.3 kB / 399.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01191, allocations: 0 / 399.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.931e-05/0.01199, allocations: 27.92 kB / 399.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.012, allocations: 7.984 kB / 399.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.01201, allocations: 11.94 kB / 399.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01201, allocations: 4 kB / 399.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01202, allocations: 3.938 kB / 399.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.01235, allocations: 279.3 kB / 399.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.01237, allocations: 19.98 kB / 399.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.01239, allocations: 11.94 kB / 399.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.721e-05/0.01244, allocations: 11.98 kB / 399.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.01249, allocations: 3.984 kB / 399.7 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.01249, allocations: 8 kB / 399.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.613e-05/0.01256, allocations: 120 kB / 399.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01256, allocations: 0 / 399.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002479/0.01281, allocations: 83.67 kB / 399.9 MB, free: 12.96 MB / 330.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 8.691e-05/0.0129, allocations: 99.25 kB / 400 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.01321, allocations: 175.8 kB / 400.2 MB, free: 12.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01321, allocations: 0 / 400.2 MB, free: 12.69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.01329, allocations: 60.64 kB / 400.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.01353, allocations: 23.98 kB / 400.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006628/0.01419, allocations: 455.7 kB / 400.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.292e-05/0.01428, allocations: 125.1 kB / 400.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.01433, allocations: 16.5 kB / 400.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01433, allocations: 0 / 400.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of Templates: time 0.003138/0.01746, allocations: 2.173 MB / 403 MB, free: 9.797 MB / 330.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.910215290263295] Failed to read output from testmodel.py, exit status != 0: 0.022768915630877018 0.27542165500000004 0.266832448 Calling exit ...