Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.Trajectory_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.001321/0.001321, allocations: 107.9 kB / 16.45 MB, free: 6.453 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.00143/0.00143, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.552/1.552, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.03302/0.03302, allocations: 6.573 MB / 315.4 MB, free: 13.77 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.Trajectory_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_Trajectory_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.Trajectory_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_Trajectory_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.001958/0.001958, allocations: 71.88 kB / 438.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1334, allocations: 54.81 MB / 493.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.006606/0.14, allocations: 4.777 MB / 498.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008169/0.1481, allocations: 4.619 MB / 0.4911 GB, free: 8.285 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005675/0.1487, allocations: 16 kB / 0.4911 GB, free: 8.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009977/0.1497, allocations: 365.7 kB / 0.4915 GB, free: 7.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00441/0.1541, allocations: 1.661 MB / 0.4931 GB, free: 6.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007883/0.1549, allocations: 323.2 kB / 0.4934 GB, free: 5.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007752/0.1627, allocations: 6.06 MB / 0.4993 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000889/0.1635, allocations: 0.5554 MB / 0.4999 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.1651, allocations: 0.8056 MB / 0.5007 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.1669, allocations: 1.37 MB / 0.502 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003075/0.1672, allocations: 156 kB / 0.5021 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.1702, allocations: 1.31 MB / 0.5034 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001175/0.1714, allocations: 1.145 MB / 0.5045 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.173, allocations: 1.243 MB / 0.5058 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00717/0.1802, allocations: 3.627 MB / 0.5093 GB, free: 5.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1802, allocations: 0 / 0.5093 GB, free: 5.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1802, allocations: 0 / 0.5093 GB, free: 5.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.1e-05/0.1802, allocations: 0 / 0.5093 GB, free: 5.59 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.01041/0.1906, allocations: 3.966 MB / 0.5132 GB, free: 1.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.1907, allocations: 12.03 kB / 0.5132 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002247/0.1909, allocations: 138.7 kB / 0.5133 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00614/0.1971, allocations: 0.7795 MB / 0.5141 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3144/0.5114, allocations: 5.14 MB / 0.5191 GB, free: 29.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000682/0.5121, allocations: 292.5 kB / 0.5194 GB, free: 29.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.5123, allocations: 66.31 kB / 0.5194 GB, free: 29.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.5229, allocations: 2.904 MB / 0.5223 GB, free: 29.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.5229, allocations: 4.188 kB / 0.5223 GB, free: 29.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.5231, allocations: 36.5 kB / 0.5223 GB, free: 29.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.995e-05/0.5232, allocations: 41.83 kB / 0.5224 GB, free: 29.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01692/0.5401, allocations: 4.102 MB / 0.5264 GB, free: 29.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.551, allocations: 6.031 MB / 0.5323 GB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008754/0.5598, allocations: 2.551 MB / 0.5347 GB, free: 23.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00695/0.5667, allocations: 1.961 MB / 0.5367 GB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.5669, allocations: 5.688 kB / 0.5367 GB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/0.5669, allocations: 66.22 kB / 0.5367 GB, free: 22.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 4.449e-06/0.5669, allocations: 1.172 kB / 0.5367 GB, free: 22.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.02202/0.589, allocations: 5.843 MB / 0.5424 GB, free: 19.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003692/0.5893, allocations: 0.6258 MB / 0.543 GB, free: 18.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009587/0.5989, allocations: 5.241 MB / 0.5482 GB, free: 13.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004283/0.5994, allocations: 33.7 kB / 0.5482 GB, free: 13.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007594/0.6001, allocations: 1.082 MB / 0.5493 GB, free: 12.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.6003, allocations: 143.2 kB / 0.5494 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000313/0.6007, allocations: 85.67 kB / 0.5495 GB, free: 12.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.6008, allocations: 318 kB / 0.5498 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005823/0.6066, allocations: 1.868 MB / 0.5516 GB, free: 9.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005859/0.6124, allocations: 2.046 MB / 0.5536 GB, free: 7.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/0.6236, allocations: 3.597 MB / 0.5571 GB, free: 4.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.6236, allocations: 3.938 kB / 0.5571 GB, free: 4.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.01371/0.6373, allocations: 3.979 MB / 0.561 GB, free: 148 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.6374, allocations: 13.91 kB / 0.561 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.6374, allocations: 4 kB / 0.561 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.739e-05/0.6374, allocations: 7.938 kB / 0.561 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003569/0.641, allocations: 0.7411 MB / 0.5617 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/0.641, allocations: 9.469 kB / 0.5618 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006182/0.6472, allocations: 0.8166 MB / 0.5626 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.6473, allocations: 27.92 kB / 0.5626 GB, free: 14.54 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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.001735/0.6491, allocations: 0.7157 MB / 0.5633 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001601/0.6507, allocations: 258.3 kB / 0.5635 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006571/0.6513, allocations: 283.3 kB / 0.5638 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.6513, allocations: 8.938 kB / 0.5638 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.6514, allocations: 4 kB / 0.5638 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6514, allocations: 4 kB / 0.5638 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/0.6554, allocations: 1.724 MB / 0.5655 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.6554, allocations: 4 kB / 0.5655 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003597/0.659, allocations: 0.7449 MB / 0.5662 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.659, allocations: 4 kB / 0.5662 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.352e-05/0.6591, allocations: 15.98 kB / 0.5662 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-05/0.6591, allocations: 11.94 kB / 0.5663 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.6591, allocations: 4 kB / 0.5663 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/0.6746, allocations: 5.117 MB / 0.5713 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/0.6768, allocations: 0.5504 MB / 0.5718 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006378/0.6774, allocations: 23.98 kB / 0.5718 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005095/0.6825, allocations: 0.7683 MB / 0.5726 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00052/0.6831, allocations: 155.7 kB / 0.5727 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.973e-05/0.6831, allocations: 27.98 kB / 0.5727 GB, free: 4.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.006988/0.6901, allocations: 3.949 MB / 0.5766 GB, free: 80 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6901, allocations: 4 kB / 0.5766 GB, free: 76 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.003394/0.6935, allocations: 0.5793 MB / 0.5772 GB, free: 15.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 simulation (41): * Single equations (assignments): 41 * 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.01651/0.71, allocations: 6.096 MB / 0.5831 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01373/0.7238, allocations: 3.817 MB / 0.5869 GB, free: 5.609 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.7238, allocations: 0 / 0.5869 GB, free: 5.609 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007787/0.7316, allocations: 2.432 MB / 0.5892 GB, free: 3.176 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008692/0.7403, allocations: 1.315 MB / 0.5905 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09857/0.8388, allocations: 35.75 MB / 0.6254 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002387/0.8412, allocations: 1.764 MB / 0.6271 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002946/0.8442, allocations: 0.6425 MB / 0.6278 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002639/0.8468, allocations: 0.9326 MB / 0.6287 GB, free: 10.47 MB / 462.1 MB Notification: Performance of SimCode: time 1.814e-06/0.8468, allocations: 0 / 0.6287 GB, free: 10.47 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1529/0.9997, allocations: 77.1 MB / 0.704 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.33, allocations: 15.86 kB / 0.704 GB, free: 13.71 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.Trajectory_test.sim & python3 -m fmpy simulate --output-file StewartPlatform_StewartPlatform.Tests.Trajectory_test_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 StewartPlatform_StewartPlatform_Tests_Trajectory_test.fmu > StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.337348952001776] Failed to read output from testmodel.py, exit status != 0: 14.438126705004834 14.452448309 14.269378596 Calling exit ...