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.001529/0.001529, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001606/0.001606, allocations: 154.8 kB / 23.01 MB, free: 4.949 MB / 14.72 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.34/1.34, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 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.03062/0.03062, allocations: 5.076 MB / 264.9 MB, free: 11.7 MB / 254.1 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: StewartPlatform requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.91 kB / 390.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09194/0.09393, allocations: 54.82 MB / 445 MB, free: 6.977 MB / 414.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003706/0.09764, allocations: 2.406 MB / 447.4 MB, free: 4.555 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.09884, allocations: 0.6662 MB / 448 MB, free: 3.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.09895, allocations: 7.938 kB / 448 MB, free: 3.875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.09916, allocations: 47.59 kB / 448.1 MB, free: 3.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.09927, allocations: 55.48 kB / 448.1 MB, free: 3.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.09954, allocations: 104.7 kB / 448.3 MB, free: 3.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.09983, allocations: 247.6 kB / 448.5 MB, free: 3.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.1001, allocations: 96.58 kB / 448.6 MB, free: 3.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.1002, allocations: 103.6 kB / 448.7 MB, free: 3.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.1003, allocations: 83.55 kB / 448.8 MB, free: 3.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.1004, allocations: 24 kB / 448.8 MB, free: 3.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.796e-05/0.1004, allocations: 28 kB / 448.8 MB, free: 3.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.1005, allocations: 55.78 kB / 448.9 MB, free: 3.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1006, allocations: 99.52 kB / 449 MB, free: 2.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1009, allocations: 251 kB / 449.2 MB, free: 2.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.465e-06/0.1009, allocations: 8 kB / 449.2 MB, free: 2.691 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1009, allocations: 3.938 kB / 449.2 MB, free: 2.688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1009, allocations: 0 / 449.2 MB, free: 2.688 MB / 414.1 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.000702/0.1016, allocations: 461.7 kB / 449.7 MB, free: 2.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1016, allocations: 8.031 kB / 449.7 MB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.1017, allocations: 24.8 kB / 449.7 MB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.102, allocations: 189 kB / 449.9 MB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.102, allocations: 16.88 kB / 449.9 MB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.102, allocations: 24.38 kB / 449.9 MB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.1025, allocations: 269.6 kB / 450.2 MB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1025, allocations: 7.953 kB / 450.2 MB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.1026, allocations: 12 kB / 450.2 MB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1026, allocations: 4 kB / 450.2 MB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.103, allocations: 161.9 kB / 450.4 MB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009986/0.104, allocations: 0.6621 MB / 451 MB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.1043, allocations: 114.4 kB / 451.2 MB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.1045, allocations: 52.81 kB / 451.2 MB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1045, allocations: 0 / 451.2 MB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1045, allocations: 34.56 kB / 451.2 MB, free: 0.5352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.1045, allocations: 0 / 451.2 MB, free: 0.5352 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005374/0.1051, allocations: 181.6 kB / 451.4 MB, free: 360 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.1051, allocations: 77.11 kB / 451.5 MB, free: 264 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.1053, allocations: 171.2 kB / 451.7 MB, free: 76 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.1053, allocations: 29.64 kB / 451.7 MB, free: 40 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1054, allocations: 168 kB / 451.9 MB, free: 15.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.1055, allocations: 31.73 kB / 451.9 MB, free: 15.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.1055, allocations: 37.66 kB / 451.9 MB, free: 15.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1057, allocations: 326.8 kB / 452.2 MB, free: 15.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.1058, allocations: 60.75 kB / 452.3 MB, free: 15.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.106, allocations: 128.9 kB / 452.4 MB, free: 15.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.1064, allocations: 153.8 kB / 452.6 MB, free: 15.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.1064, allocations: 7.938 kB / 452.6 MB, free: 15.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003909/0.1068, allocations: 177.5 kB / 452.8 MB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1068, allocations: 8 kB / 452.8 MB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1068, allocations: 0 / 452.8 MB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1068, allocations: 7.938 kB / 452.8 MB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.107, allocations: 35.97 kB / 452.8 MB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.107, allocations: 4 kB / 452.8 MB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.1071, allocations: 23.88 kB / 452.8 MB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1071, allocations: 12.16 kB / 452.8 MB, free: 14.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001735/0.1073, allocations: 136.1 kB / 453 MB, free: 14.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001616/0.1074, allocations: 119.9 kB / 453.1 MB, free: 14.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002386/0.1077, allocations: 129.9 kB / 453.2 MB, free: 14.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.948e-06/0.1077, allocations: 3.984 kB / 453.2 MB, free: 14.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0003188/0.108, allocations: 169.3 kB / 453.4 MB, free: 14.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.108, allocations: 8 kB / 453.4 MB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.108, allocations: 0 / 453.4 MB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.631e-06/0.108, allocations: 12.17 kB / 453.4 MB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1081, allocations: 31.92 kB / 453.4 MB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1081, allocations: 4 kB / 453.4 MB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1082, allocations: 19.88 kB / 453.5 MB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1082, allocations: 8 kB / 453.5 MB, free: 14.11 MB / 430.1 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 0.0001101/0.1084, allocations: 192.1 kB / 453.7 MB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.1084, allocations: 11.95 kB / 453.7 MB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.1084, allocations: 17.45 kB / 453.7 MB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1084, allocations: 3.984 kB / 453.7 MB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1084, allocations: 4 kB / 453.7 MB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1084, allocations: 0 / 453.7 MB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.1087, allocations: 181.2 kB / 453.9 MB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1087, allocations: 3.938 kB / 453.9 MB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1088, allocations: 23.98 kB / 453.9 MB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1088, allocations: 3.984 kB / 453.9 MB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.1088, allocations: 4 kB / 453.9 MB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1088, allocations: 0 / 453.9 MB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1088, allocations: 4 kB / 453.9 MB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/0.1094, allocations: 287.3 kB / 454.2 MB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.747e-05/0.1094, allocations: 19.86 kB / 454.2 MB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.1094, allocations: 8 kB / 454.2 MB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.1095, allocations: 11.98 kB / 454.2 MB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1096, allocations: 3.984 kB / 454.2 MB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.1096, allocations: 8.062 kB / 454.2 MB, free: 13.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1097, allocations: 132.8 kB / 454.4 MB, free: 13.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1097, allocations: 0 / 454.4 MB, free: 13.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003752/0.1101, allocations: 87.67 kB / 454.5 MB, free: 13.08 MB / 430.1 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 9.422e-05/0.1102, allocations: 91.25 kB / 454.6 MB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004883/0.1107, allocations: 180.1 kB / 454.7 MB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1107, allocations: 0 / 454.7 MB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.1108, allocations: 55.89 kB / 454.8 MB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.1111, allocations: 34.98 kB / 454.8 MB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008782/0.112, allocations: 486.3 kB / 455.3 MB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.1121, allocations: 125.1 kB / 455.4 MB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.851e-05/0.1122, allocations: 16.62 kB / 455.4 MB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.1122, allocations: 20.5 kB / 455.4 MB, free: 12.04 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1122, allocations: 0 / 455.4 MB, free: 12.04 MB / 430.1 MB Notification: Performance of Templates: time 0.004636/0.1169, allocations: 1.569 MB / 457 MB, free: 10.48 MB / 430.1 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 -s ida -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.098455333034508] Failed to read output from testmodel.py, exit status != 0: 0.1249480820260942 0.138698513 0.03499807 Calling exit ...