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.001228/0.001228, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001369/0.001369, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.973 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.03176/0.03176, allocations: 6.586 MB / 319 MB, free: 12.62 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.001881/0.001881, allocations: 64.19 kB / 443.9 MB, free: 5.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1347, allocations: 54.86 MB / 498.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.004234/0.1389, allocations: 2.536 MB / 0.4895 GB, free: 11.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1403, allocations: 0.7012 MB / 0.4902 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1404, allocations: 7.938 kB / 0.4902 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.1407, allocations: 47.58 kB / 0.4903 GB, free: 11.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1408, allocations: 55.48 kB / 0.4903 GB, free: 11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1411, allocations: 115.7 kB / 0.4904 GB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.1414, allocations: 243.5 kB / 0.4907 GB, free: 10.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.1417, allocations: 96.81 kB / 0.4908 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.1418, allocations: 99.66 kB / 0.4909 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.142, allocations: 107.5 kB / 0.491 GB, free: 10.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.142, allocations: 24 kB / 0.491 GB, free: 10.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.718e-05/0.1421, allocations: 28 kB / 0.491 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.1421, allocations: 51.84 kB / 0.4911 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.1423, allocations: 111.5 kB / 0.4912 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.1426, allocations: 266.9 kB / 0.4914 GB, free: 9.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1426, allocations: 0 / 0.4914 GB, free: 9.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1426, allocations: 0 / 0.4914 GB, free: 9.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1426, allocations: 0 / 0.4914 GB, free: 9.879 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.0008085/0.1435, allocations: 457.7 kB / 0.4918 GB, free: 9.402 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.1435, allocations: 12.03 kB / 0.4919 GB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.1436, allocations: 54.73 kB / 0.4919 GB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.1437, allocations: 28.75 kB / 0.4919 GB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.144, allocations: 188.4 kB / 0.4921 GB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.1441, allocations: 16.81 kB / 0.4921 GB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.1441, allocations: 20.38 kB / 0.4922 GB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.1446, allocations: 254.8 kB / 0.4924 GB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.1446, allocations: 0 / 0.4924 GB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.1446, allocations: 15.94 kB / 0.4924 GB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.1446, allocations: 4 kB / 0.4924 GB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.145, allocations: 157.6 kB / 0.4926 GB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.1462, allocations: 0.766 MB / 0.4933 GB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.1466, allocations: 102.5 kB / 0.4934 GB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.1467, allocations: 52.81 kB / 0.4935 GB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1467, allocations: 0 / 0.4935 GB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1468, allocations: 34.56 kB / 0.4935 GB, free: 7.586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.1468, allocations: 0 / 0.4935 GB, free: 7.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005382/0.1473, allocations: 177.9 kB / 0.4937 GB, free: 7.406 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.1474, allocations: 77.11 kB / 0.4937 GB, free: 7.312 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.1476, allocations: 174.5 kB / 0.4939 GB, free: 7.129 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1476, allocations: 29.8 kB / 0.4939 GB, free: 7.094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1477, allocations: 164 kB / 0.4941 GB, free: 6.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.1477, allocations: 43.67 kB / 0.4941 GB, free: 6.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.1478, allocations: 37.7 kB / 0.4942 GB, free: 6.844 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1479, allocations: 322.8 kB / 0.4945 GB, free: 6.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.1481, allocations: 56.81 kB / 0.4945 GB, free: 6.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.1483, allocations: 106.8 kB / 0.4946 GB, free: 6.332 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.1486, allocations: 145.9 kB / 0.4948 GB, free: 6.168 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.1486, allocations: 4 kB / 0.4948 GB, free: 6.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003909/0.149, allocations: 189.3 kB / 0.495 GB, free: 5.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.149, allocations: 8 kB / 0.495 GB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.149, allocations: 0 / 0.495 GB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.1491, allocations: 4 kB / 0.495 GB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.1492, allocations: 35.97 kB / 0.495 GB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1492, allocations: 4 kB / 0.495 GB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1493, allocations: 24.06 kB / 0.495 GB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1494, allocations: 12 kB / 0.495 GB, free: 5.887 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001856/0.1495, allocations: 140 kB / 0.4952 GB, free: 5.746 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001475/0.1497, allocations: 90.84 kB / 0.4953 GB, free: 5.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002394/0.1499, allocations: 141.8 kB / 0.4954 GB, free: 5.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.1499, allocations: 4 kB / 0.4954 GB, free: 5.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0003035/0.1502, allocations: 153.4 kB / 0.4955 GB, free: 5.312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1502, allocations: 8 kB / 0.4956 GB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.1502, allocations: 0 / 0.4956 GB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.1503, allocations: 8 kB / 0.4956 GB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1504, allocations: 40.09 kB / 0.4956 GB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.1504, allocations: 4 kB / 0.4956 GB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.576e-05/0.1505, allocations: 15.98 kB / 0.4956 GB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1505, allocations: 8 kB / 0.4956 GB, free: 5.23 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.0001349/0.1506, allocations: 192.1 kB / 0.4958 GB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.1507, allocations: 15.91 kB / 0.4958 GB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.1507, allocations: 17.41 kB / 0.4958 GB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1507, allocations: 3.984 kB / 0.4958 GB, free: 5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1507, allocations: 3.984 kB / 0.4958 GB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1507, allocations: 4 kB / 0.4959 GB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.151, allocations: 224.6 kB / 0.4961 GB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.151, allocations: 0 / 0.4961 GB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.1512, allocations: 31.97 kB / 0.4961 GB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1512, allocations: 0 / 0.4961 GB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1512, allocations: 0 / 0.4961 GB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1512, allocations: 0 / 0.4961 GB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1512, allocations: 4 kB / 0.4961 GB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005372/0.1518, allocations: 295.2 kB / 0.4964 GB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.1518, allocations: 11.94 kB / 0.4964 GB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.1518, allocations: 7.938 kB / 0.4964 GB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1519, allocations: 12.05 kB / 0.4964 GB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.152, allocations: 12.17 kB / 0.4964 GB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.152, allocations: 4 kB / 0.4964 GB, free: 4.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.551e-05/0.1521, allocations: 123.9 kB / 0.4965 GB, free: 4.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1521, allocations: 0 / 0.4965 GB, free: 4.223 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003873/0.1525, allocations: 87.67 kB / 0.4966 GB, free: 4.137 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.0009586/0.1534, allocations: 0.8215 MB / 0.4974 GB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.1539, allocations: 180.1 kB / 0.4976 GB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.154, allocations: 0 / 0.4976 GB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.1541, allocations: 51.91 kB / 0.4977 GB, free: 3.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.1545, allocations: 30.92 kB / 0.4977 GB, free: 3.031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.1579, allocations: 2.08 MB / 0.4997 GB, free: 0.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.1585, allocations: 0.7357 MB / 0.5004 GB, free: 72 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.974e-05/0.1586, allocations: 16.58 kB / 0.5004 GB, free: 56 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.1587, allocations: 59.42 kB / 0.5005 GB, free: 16 MB / 382.1 MB Notification: Performance of SimCode: time 1.733e-06/0.1587, allocations: 4 kB / 0.5005 GB, free: 15.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.1935, allocations: 3.476 MB / 0.5039 GB, free: 12.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.1, allocations: 15.16 kB / 0.5039 GB, free: 12.64 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: 14.955201442000089] Failed to read output from testmodel.py, exit status != 0: 11.196463012000095 11.543645034 11.073759987999999 Calling exit ...