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.001489/0.001489, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001685/0.001685, allocations: 215.7 kB / 22.25 MB, free: 5.254 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.311/1.311, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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.03109/0.03109, allocations: 6.587 MB / 319 MB, free: 12.43 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.001895/0.001895, allocations: 63.91 kB / 443.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08851/0.0904, allocations: 54.86 MB / 498.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003572/0.09397, allocations: 2.415 MB / 0.4893 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.09513, allocations: 0.6661 MB / 0.49 GB, free: 10.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.09524, allocations: 11.94 kB / 0.49 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.09546, allocations: 43.59 kB / 0.49 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.09557, allocations: 51.5 kB / 0.4901 GB, free: 10.72 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.09584, allocations: 103.9 kB / 0.4902 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.09612, allocations: 247.5 kB / 0.4904 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.09634, allocations: 96.59 kB / 0.4905 GB, free: 10.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.09645, allocations: 95.59 kB / 0.4906 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.09658, allocations: 91.55 kB / 0.4907 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.09662, allocations: 28 kB / 0.4907 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.919e-05/0.09666, allocations: 24 kB / 0.4907 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.09671, allocations: 51.83 kB / 0.4908 GB, free: 9.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.755e-05/0.0968, allocations: 95.55 kB / 0.4909 GB, free: 9.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.09709, allocations: 251 kB / 0.4911 GB, free: 9.652 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.0971, allocations: 0 / 0.4911 GB, free: 9.652 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.0971, allocations: 0 / 0.4911 GB, free: 9.652 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.0971, allocations: 0 / 0.4911 GB, free: 9.652 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.0006957/0.0978, allocations: 461.6 kB / 0.4916 GB, free: 9.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.09784, allocations: 8.031 kB / 0.4916 GB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.778e-05/0.09791, allocations: 62.67 kB / 0.4916 GB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/0.09797, allocations: 32.69 kB / 0.4917 GB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.09829, allocations: 184.4 kB / 0.4918 GB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.09831, allocations: 20.81 kB / 0.4919 GB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.09836, allocations: 20.38 kB / 0.4919 GB, free: 8.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.09883, allocations: 284.5 kB / 0.4922 GB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.09885, allocations: 0 / 0.4922 GB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.09887, allocations: 11.98 kB / 0.4922 GB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.09888, allocations: 4 kB / 0.4922 GB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.09926, allocations: 157.6 kB / 0.4923 GB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.1003, allocations: 0.7154 MB / 0.493 GB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.1007, allocations: 110.4 kB / 0.4931 GB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.1008, allocations: 44.83 kB / 0.4932 GB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.1008, allocations: 0 / 0.4932 GB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1009, allocations: 34.56 kB / 0.4932 GB, free: 7.367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 9.01e-07/0.1009, allocations: 0 / 0.4932 GB, free: 7.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005078/0.1014, allocations: 185.5 kB / 0.4934 GB, free: 7.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.1014, allocations: 77.11 kB / 0.4934 GB, free: 7.086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1016, allocations: 170.5 kB / 0.4936 GB, free: 6.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1016, allocations: 29.7 kB / 0.4936 GB, free: 6.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1017, allocations: 164 kB / 0.4938 GB, free: 6.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.1018, allocations: 39.73 kB / 0.4938 GB, free: 6.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.1018, allocations: 33.67 kB / 0.4939 GB, free: 6.629 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.102, allocations: 326.8 kB / 0.4942 GB, free: 6.301 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.1021, allocations: 56.81 kB / 0.4942 GB, free: 6.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.1023, allocations: 132.5 kB / 0.4944 GB, free: 6.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.1026, allocations: 145.9 kB / 0.4945 GB, free: 5.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1026, allocations: 4 kB / 0.4945 GB, free: 5.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003895/0.103, allocations: 181.4 kB / 0.4947 GB, free: 5.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.103, allocations: 8 kB / 0.4947 GB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.103, allocations: 0 / 0.4947 GB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1031, allocations: 4 kB / 0.4947 GB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.1032, allocations: 43.84 kB / 0.4947 GB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1032, allocations: 4 kB / 0.4947 GB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.1033, allocations: 32.06 kB / 0.4948 GB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1033, allocations: 4 kB / 0.4948 GB, free: 5.637 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001674/0.1035, allocations: 132.6 kB / 0.4949 GB, free: 5.504 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001557/0.1037, allocations: 120.5 kB / 0.495 GB, free: 5.355 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002331/0.1039, allocations: 141.8 kB / 0.4951 GB, free: 5.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.1039, allocations: 0 / 0.4951 GB, free: 5.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002928/0.1042, allocations: 157.4 kB / 0.4953 GB, free: 5.035 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.1042, allocations: 8.188 kB / 0.4953 GB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.1042, allocations: 4 kB / 0.4953 GB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.289e-06/0.1042, allocations: 4 kB / 0.4953 GB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1043, allocations: 35.92 kB / 0.4953 GB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1043, allocations: 4 kB / 0.4953 GB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.1044, allocations: 19.88 kB / 0.4954 GB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1044, allocations: 8 kB / 0.4954 GB, free: 4.953 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.0001097/0.1046, allocations: 188.2 kB / 0.4956 GB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.1046, allocations: 15.89 kB / 0.4956 GB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.1046, allocations: 25.39 kB / 0.4956 GB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1046, allocations: 0 / 0.4956 GB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1046, allocations: 0 / 0.4956 GB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1046, allocations: 0 / 0.4956 GB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.1049, allocations: 220.6 kB / 0.4958 GB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1049, allocations: 0 / 0.4958 GB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.1051, allocations: 31.97 kB / 0.4958 GB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1051, allocations: 3.984 kB / 0.4958 GB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1051, allocations: 4 kB / 0.4958 GB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1051, allocations: 0 / 0.4958 GB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1051, allocations: 8 kB / 0.4958 GB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.1056, allocations: 291.3 kB / 0.4961 GB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.1056, allocations: 15.88 kB / 0.4961 GB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1056, allocations: 0 / 0.4961 GB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.1058, allocations: 11.98 kB / 0.4962 GB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.1058, allocations: 16.05 kB / 0.4962 GB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1058, allocations: 3.938 kB / 0.4962 GB, free: 4.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1059, allocations: 120 kB / 0.4963 GB, free: 3.953 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1059, allocations: 0 / 0.4963 GB, free: 3.953 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.1063, allocations: 83.73 kB / 0.4964 GB, free: 3.871 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.0007875/0.1071, allocations: 0.8293 MB / 0.4972 GB, free: 3.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004606/0.1075, allocations: 175.7 kB / 0.4973 GB, free: 2.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1075, allocations: 0.8125 kB / 0.4973 GB, free: 2.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.1077, allocations: 51.97 kB / 0.4974 GB, free: 2.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.108, allocations: 23.08 kB / 0.4974 GB, free: 2.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.1106, allocations: 2.088 MB / 0.4995 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.1107, allocations: 121.1 kB / 0.4996 GB, free: 436 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.1108, allocations: 20.62 kB / 0.4996 GB, free: 416 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.212e-05/0.1108, allocations: 55.42 kB / 0.4996 GB, free: 360 kB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1108, allocations: 0 / 0.4996 GB, free: 360 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.1421, allocations: 3.929 MB / 0.5035 GB, free: 12.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.75, allocations: 10.75 kB / 0.5035 GB, free: 12.55 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.715850352775306] Failed to read output from testmodel.py, exit status != 0: 10.858378591015935 11.046748154 10.779588025 Calling exit ...