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.0012/0.0012, allocations: 103 kB / 16.45 MB, free: 6.449 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.001247/0.001247, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.602/1.602, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.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.03482/0.03482, allocations: 6.577 MB / 315.4 MB, free: 13.79 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.001857/0.001857, allocations: 67.91 kB / 438.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1301, allocations: 54.82 MB / 493.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.004506/0.1346, allocations: 2.51 MB / 496 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1359, allocations: 0.7051 MB / 496.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.136, allocations: 4 kB / 496.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.1363, allocations: 47.56 kB / 496.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.1364, allocations: 59.5 kB / 496.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.1367, allocations: 99.81 kB / 496.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.137, allocations: 247.5 kB / 497.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.1372, allocations: 96.06 kB / 497.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1374, allocations: 99.7 kB / 497.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1375, allocations: 107.5 kB / 497.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.1375, allocations: 20 kB / 497.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.716e-05/0.1376, allocations: 24 kB / 497.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.679e-05/0.1376, allocations: 55.78 kB / 497.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1378, allocations: 111.5 kB / 497.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.1381, allocations: 266.9 kB / 497.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1381, allocations: 0 / 497.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1381, allocations: 0 / 497.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1381, allocations: 0 / 497.9 MB, free: 13.3 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.0009031/0.139, allocations: 0.5184 MB / 498.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.1391, allocations: 12.03 kB / 498.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.833e-05/0.1392, allocations: 58.73 kB / 498.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.1392, allocations: 28.75 kB / 498.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.1397, allocations: 239.9 kB / 498.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.1397, allocations: 16.81 kB / 498.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.1398, allocations: 24.38 kB / 498.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.1404, allocations: 246.8 kB / 499.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.1404, allocations: 4 kB / 499.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.1404, allocations: 8 kB / 499.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.1404, allocations: 7.938 kB / 499.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.1409, allocations: 169.5 kB / 499.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.1423, allocations: 0.8298 MB / 0.4884 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.1428, allocations: 106.5 kB / 0.4885 GB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.1429, allocations: 52.94 kB / 0.4885 GB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.143, allocations: 0 / 0.4885 GB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.143, allocations: 34.56 kB / 0.4886 GB, free: 10.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 8.81e-07/0.143, allocations: 0 / 0.4886 GB, free: 10.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006221/0.1436, allocations: 181.4 kB / 0.4887 GB, free: 10.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.1437, allocations: 77.11 kB / 0.4888 GB, free: 10.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.1439, allocations: 166.6 kB / 0.489 GB, free: 10.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.144, allocations: 29.7 kB / 0.489 GB, free: 10.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.1441, allocations: 160.2 kB / 0.4891 GB, free: 10.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.1441, allocations: 35.69 kB / 0.4892 GB, free: 10.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/0.1442, allocations: 33.7 kB / 0.4892 GB, free: 10.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1444, allocations: 326.8 kB / 0.4895 GB, free: 9.715 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.1445, allocations: 52.83 kB / 0.4896 GB, free: 9.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.1448, allocations: 114.8 kB / 0.4897 GB, free: 9.523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.1451, allocations: 149.9 kB / 0.4898 GB, free: 9.355 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1451, allocations: 0 / 0.4898 GB, free: 9.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004229/0.1455, allocations: 193.7 kB / 0.49 GB, free: 9.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1455, allocations: 4 kB / 0.49 GB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1456, allocations: 4 kB / 0.49 GB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1456, allocations: 0 / 0.49 GB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.1457, allocations: 47.91 kB / 0.4901 GB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1458, allocations: 0 / 0.4901 GB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.1459, allocations: 23.94 kB / 0.4901 GB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1459, allocations: 4.156 kB / 0.4901 GB, free: 9.078 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001866/0.1461, allocations: 140.1 kB / 0.4902 GB, free: 8.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001588/0.1462, allocations: 98.77 kB / 0.4903 GB, free: 8.816 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002532/0.1465, allocations: 133.8 kB / 0.4904 GB, free: 8.664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.1465, allocations: 0 / 0.4904 GB, free: 8.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0003197/0.1468, allocations: 169.3 kB / 0.4906 GB, free: 8.492 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.1468, allocations: 8 kB / 0.4906 GB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/0.1468, allocations: 0 / 0.4906 GB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.428e-06/0.1468, allocations: 4 kB / 0.4906 GB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1469, allocations: 35.91 kB / 0.4907 GB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.147, allocations: 4 kB / 0.4907 GB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.67e-05/0.147, allocations: 16.17 kB / 0.4907 GB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1471, allocations: 8 kB / 0.4907 GB, free: 8.418 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.0001285/0.1472, allocations: 189.3 kB / 0.4909 GB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.1472, allocations: 15.91 kB / 0.4909 GB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.1473, allocations: 9.406 kB / 0.4909 GB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1473, allocations: 4 kB / 0.4909 GB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1473, allocations: 0 / 0.4909 GB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.1473, allocations: 4.172 kB / 0.4909 GB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.1476, allocations: 261.5 kB / 0.4911 GB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1476, allocations: 7.875 kB / 0.4911 GB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.1478, allocations: 31.97 kB / 0.4912 GB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1478, allocations: 0 / 0.4912 GB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.1478, allocations: 4 kB / 0.4912 GB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1478, allocations: 0 / 0.4912 GB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1478, allocations: 0 / 0.4912 GB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.1484, allocations: 295.2 kB / 0.4915 GB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.1484, allocations: 89.05 kB / 0.4915 GB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.1485, allocations: 4 kB / 0.4916 GB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1486, allocations: 11.98 kB / 0.4916 GB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.1486, allocations: 7.984 kB / 0.4916 GB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.1486, allocations: 8.062 kB / 0.4916 GB, free: 7.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1487, allocations: 120 kB / 0.4917 GB, free: 7.289 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1487, allocations: 0 / 0.4917 GB, free: 7.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003884/0.1491, allocations: 87.67 kB / 0.4918 GB, free: 7.203 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.0008529/0.15, allocations: 0.8216 MB / 0.4926 GB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005035/0.1505, allocations: 180.6 kB / 0.4928 GB, free: 6.176 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1505, allocations: 3.938 kB / 0.4928 GB, free: 6.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.1506, allocations: 56.08 kB / 0.4928 GB, free: 6.117 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.151, allocations: 27.27 kB / 0.4928 GB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.1538, allocations: 2.084 MB / 0.4949 GB, free: 3.895 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1542, allocations: 0.728 MB / 0.4956 GB, free: 3.141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.234e-05/0.1542, allocations: 16.64 kB / 0.4956 GB, free: 3.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1543, allocations: 59.42 kB / 0.4957 GB, free: 3.066 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1543, allocations: 0 / 0.4957 GB, free: 3.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.1846, allocations: 3.312 MB / 0.4989 GB, free: 15.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.38, allocations: 7.219 kB / 0.4989 GB, free: 15.83 MB / 382.1 MB " [Timeout remaining time 652] (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: 11.864389187001507] Failed to read output from testmodel.py, exit status != 0: 8.450869975000387 8.476513669 8.334072466 Calling exit ...