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.001187/0.001187, allocations: 78.34 kB / 19 MB, free: 2.867 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.001426/0.001426, allocations: 158.7 kB / 22.25 MB, free: 5.133 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.55/1.55, allocations: 177.2 MB / 202.6 MB, free: 9.27 MB / 190.1 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.03192/0.03192, allocations: 5.07 MB / 264.1 MB, free: 11.86 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: "" <> buildModelFMU(StewartPlatform.Tests.ServoMotor_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.ServoMotor_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) [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.002094/0.002094, allocations: 71.88 kB / 388.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1379, allocations: 54.83 MB / 443.7 MB, free: 6.473 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.004786/0.1427, allocations: 2.417 MB / 446.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.1447, allocations: 0.6623 MB / 446.8 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004611/0.1452, allocations: 7.938 kB / 446.8 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.1457, allocations: 47.58 kB / 446.8 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.1461, allocations: 59.48 kB / 446.9 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.1467, allocations: 99.89 kB / 447 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006678/0.1474, allocations: 243.5 kB / 447.2 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004289/0.1478, allocations: 100.8 kB / 447.3 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003591/0.1482, allocations: 155.6 kB / 447.5 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1484, allocations: 87.55 kB / 447.6 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/0.1484, allocations: 27.94 kB / 447.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.141e-05/0.1485, allocations: 24 kB / 447.6 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.1485, allocations: 55.78 kB / 447.7 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.1486, allocations: 91.61 kB / 447.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.1491, allocations: 263 kB / 448 MB, free: 2.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1491, allocations: 0 / 448 MB, free: 2.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1491, allocations: 0 / 448 MB, free: 2.137 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1491, allocations: 4 kB / 448 MB, free: 2.133 MB / 366.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.0009298/0.15, allocations: 453.7 kB / 448.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1501, allocations: 8.031 kB / 448.5 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.915e-05/0.1502, allocations: 54.73 kB / 448.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.1502, allocations: 32.75 kB / 448.6 MB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.1507, allocations: 189.2 kB / 448.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.1507, allocations: 20.88 kB / 448.8 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.1507, allocations: 20.38 kB / 448.8 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.1513, allocations: 273.4 kB / 449.1 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1513, allocations: 0 / 449.1 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.1513, allocations: 15.98 kB / 449.1 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1514, allocations: 8 kB / 449.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.1518, allocations: 153.9 kB / 449.2 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.1531, allocations: 0.7083 MB / 449.9 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3532/0.5062, allocations: 106.2 kB / 450 MB, free: 19.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.5065, allocations: 50.64 kB / 450.1 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.5065, allocations: 2.047 kB / 450.1 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.5065, allocations: 35.31 kB / 450.1 MB, free: 19.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 3.577e-06/0.5065, allocations: 1.031 kB / 450.1 MB, free: 19.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006899/0.5072, allocations: 176.8 kB / 450.3 MB, free: 19.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.5073, allocations: 81.64 kB / 450.4 MB, free: 18.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.5075, allocations: 173.8 kB / 450.5 MB, free: 18.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.5075, allocations: 25.7 kB / 450.6 MB, free: 18.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.5077, allocations: 167.8 kB / 450.7 MB, free: 18.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.5077, allocations: 38.16 kB / 450.8 MB, free: 18.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-05/0.5078, allocations: 37.7 kB / 450.8 MB, free: 18.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5079, allocations: 326.5 kB / 451.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.5081, allocations: 57.84 kB / 451.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.5083, allocations: 127.1 kB / 451.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.5086, allocations: 151.3 kB / 451.5 MB, free: 18.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5086, allocations: 4.219 kB / 451.5 MB, free: 18.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004379/0.5091, allocations: 185.8 kB / 451.6 MB, free: 18.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.5091, allocations: 8.25 kB / 451.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.5091, allocations: 2.844 kB / 451.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.5091, allocations: 5.781 kB / 451.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.5093, allocations: 37.16 kB / 451.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.5094, allocations: 9.109 kB / 451.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.5095, allocations: 27.5 kB / 451.7 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.5095, allocations: 5.031 kB / 451.7 MB, free: 18.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001916/0.5097, allocations: 140.3 kB / 451.9 MB, free: 18.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001612/0.5099, allocations: 123.2 kB / 452 MB, free: 17.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002382/0.5101, allocations: 129.6 kB / 452.1 MB, free: 17.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.5101, allocations: 0.875 kB / 452.1 MB, free: 17.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0003236/0.5104, allocations: 158.4 kB / 452.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.5104, allocations: 6.297 kB / 452.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-06/0.5104, allocations: 1.5 kB / 452.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/0.5104, allocations: 6.234 kB / 452.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.5106, allocations: 41.11 kB / 452.3 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5106, allocations: 3.344 kB / 452.3 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.5107, allocations: 23.25 kB / 452.4 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.5107, allocations: 5.609 kB / 452.4 MB, free: 17.75 MB / 366.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.000101/0.5108, allocations: 195.8 kB / 452.6 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.5108, allocations: 9.828 kB / 452.6 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/0.5109, allocations: 18.73 kB / 452.6 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.5109, allocations: 2.953 kB / 452.6 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.5109, allocations: 0 / 452.6 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.5109, allocations: 1.344 kB / 452.6 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.5112, allocations: 225.1 kB / 452.8 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5112, allocations: 1.469 kB / 452.8 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.5114, allocations: 27.42 kB / 452.8 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5114, allocations: 1.031 kB / 452.8 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.5114, allocations: 5.312 kB / 452.8 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.5114, allocations: 1.406 kB / 452.8 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5114, allocations: 3.938 kB / 452.8 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005893/0.512, allocations: 285.4 kB / 453.1 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.512, allocations: 21.25 kB / 453.1 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.5121, allocations: 5.906 kB / 453.1 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.5122, allocations: 17.78 kB / 453.2 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.5123, allocations: 11.45 kB / 453.2 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.5123, allocations: 0.9375 kB / 453.2 MB, free: 17.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.5124, allocations: 120.1 kB / 453.3 MB, free: 17.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5124, allocations: 0 / 453.3 MB, free: 17.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004328/0.5128, allocations: 87.61 kB / 453.4 MB, free: 17.02 MB / 366.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 0.0007869/0.5136, allocations: 0.8238 MB / 454.2 MB, free: 16.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005802/0.5142, allocations: 172.7 kB / 454.4 MB, free: 16.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5142, allocations: 64 / 454.4 MB, free: 16.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.5143, allocations: 57.36 kB / 454.4 MB, free: 16.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.5147, allocations: 25.72 kB / 454.5 MB, free: 16.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.5177, allocations: 2.074 MB / 456.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.5178, allocations: 122.7 kB / 456.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.869e-05/0.5179, allocations: 18.66 kB / 456.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.518, allocations: 59.69 kB / 456.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.518, allocations: 1.031 kB / 456.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03913/0.5572, allocations: 4.044 MB / 460.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.55, allocations: 9.438 kB / 460.8 MB, free: 13.41 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file StewartPlatform_StewartPlatform.Tests.ServoMotor_test_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 StewartPlatform_StewartPlatform_Tests_ServoMotor_test.fmu > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.91284932103008] Failed to read output from testmodel.py, exit status != 0: 12.662351010832936 12.683586838 12.530609669 Calling exit ...