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.001628/0.001628, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002133/0.002133, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 8.031 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.03271/0.03271, allocations: 6.585 MB / 319 MB, free: 12.66 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.001932/0.001932, allocations: 69.14 kB / 443.9 MB, free: 5.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1082, allocations: 54.86 MB / 498.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.005924/0.1141, allocations: 4.796 MB / 0.4917 GB, free: 9.598 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007102/0.1212, allocations: 4.646 MB / 0.4963 GB, free: 4.938 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007298/0.1219, allocations: 16 kB / 0.4963 GB, free: 4.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.123, allocations: 361.8 kB / 0.4966 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003969/0.1269, allocations: 1.661 MB / 0.4983 GB, free: 2.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.1276, allocations: 327.2 kB / 0.4986 GB, free: 2.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0073/0.1349, allocations: 6.067 MB / 0.5045 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007002/0.1356, allocations: 417.4 kB / 0.5049 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.1368, allocations: 0.8057 MB / 0.5057 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.1384, allocations: 1.37 MB / 0.507 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002769/0.1387, allocations: 156 kB / 0.5072 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.1413, allocations: 1.322 MB / 0.5085 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.1424, allocations: 1.161 MB / 0.5096 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.1436, allocations: 1.239 MB / 0.5108 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004273/0.1479, allocations: 3.627 MB / 0.5143 GB, free: 2.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1479, allocations: 0 / 0.5143 GB, free: 2.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1479, allocations: 0 / 0.5143 GB, free: 2.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.98e-05/0.1479, allocations: 0 / 0.5143 GB, free: 2.363 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.2333/0.3812, allocations: 3.884 MB / 0.5181 GB, free: 29.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3812, allocations: 7.219 kB / 0.5181 GB, free: 29.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.3814, allocations: 138 kB / 0.5183 GB, free: 29.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005355/0.3867, allocations: 0.7825 MB / 0.519 GB, free: 29.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007629/0.3944, allocations: 5.153 MB / 0.5241 GB, free: 28.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005159/0.3949, allocations: 0.5359 MB / 0.5246 GB, free: 28.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.395, allocations: 65.69 kB / 0.5247 GB, free: 28.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007234/0.4022, allocations: 2.906 MB / 0.5275 GB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.4023, allocations: 7.219 kB / 0.5275 GB, free: 27.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.4024, allocations: 38.56 kB / 0.5275 GB, free: 27.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.502e-05/0.4024, allocations: 42.97 kB / 0.5276 GB, free: 27.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/0.4148, allocations: 4.092 MB / 0.5316 GB, free: 26.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006713/0.4215, allocations: 5.996 MB / 0.5374 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006953/0.4285, allocations: 2.547 MB / 0.5399 GB, free: 20.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005548/0.434, allocations: 1.953 MB / 0.5418 GB, free: 19.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.4342, allocations: 14.28 kB / 0.5418 GB, free: 19.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.4342, allocations: 61.59 kB / 0.5419 GB, free: 19.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 4.919e-06/0.4342, allocations: 1.484 kB / 0.5419 GB, free: 19.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.01684/0.451, allocations: 5.854 MB / 0.5476 GB, free: 15.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.4512, allocations: 0.6219 MB / 0.5482 GB, free: 14.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006424/0.4576, allocations: 5.3 MB / 0.5534 GB, free: 9.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.4578, allocations: 33.7 kB / 0.5534 GB, free: 9.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000651/0.4584, allocations: 1.08 MB / 0.5545 GB, free: 8.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.4586, allocations: 147 kB / 0.5546 GB, free: 8.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.4588, allocations: 85.67 kB / 0.5547 GB, free: 8.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.569e-05/0.4589, allocations: 325.9 kB / 0.555 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004935/0.4638, allocations: 1.864 MB / 0.5568 GB, free: 5.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004988/0.4688, allocations: 2.046 MB / 0.5588 GB, free: 3.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009472/0.4783, allocations: 3.604 MB / 0.5624 GB, free: 108 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.4783, allocations: 0 / 0.5624 GB, free: 108 kB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.01294/0.4912, allocations: 3.976 MB / 0.5662 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.4912, allocations: 4 kB / 0.5662 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.4913, allocations: 4 kB / 0.5663 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.4913, allocations: 8 kB / 0.5663 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/0.4944, allocations: 0.7411 MB / 0.567 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/0.4944, allocations: 11.92 kB / 0.567 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004861/0.4993, allocations: 0.8301 MB / 0.5678 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/0.4994, allocations: 16 kB / 0.5678 GB, free: 10.52 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.001176/0.5006, allocations: 0.7121 MB / 0.5685 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000965/0.5015, allocations: 258.3 kB / 0.5688 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.5019, allocations: 279.6 kB / 0.569 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.502, allocations: 8 kB / 0.569 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.502, allocations: 4 kB / 0.569 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.502, allocations: 4 kB / 0.569 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.5049, allocations: 1.694 MB / 0.5707 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5049, allocations: 4 kB / 0.5707 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/0.5081, allocations: 0.7527 MB / 0.5714 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.5081, allocations: 4 kB / 0.5714 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-05/0.5082, allocations: 16.98 kB / 0.5715 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.5082, allocations: 8 kB / 0.5715 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.607e-06/0.5082, allocations: 7.938 kB / 0.5715 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/0.5213, allocations: 5.119 MB / 0.5765 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001953/0.5233, allocations: 482 kB / 0.5769 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004961/0.5238, allocations: 24.62 kB / 0.577 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004549/0.5283, allocations: 0.7684 MB / 0.5777 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004548/0.5288, allocations: 155.3 kB / 0.5779 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.284e-05/0.5288, allocations: 27.98 kB / 0.5779 GB, free: 124 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.006508/0.5354, allocations: 3.992 MB / 0.5818 GB, free: 12.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5354, allocations: 3.938 kB / 0.5818 GB, free: 12.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003061/0.5384, allocations: 0.5968 MB / 0.5824 GB, free: 11.53 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.01509/0.5535, allocations: 6.086 MB / 0.5883 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01275/0.5662, allocations: 3.818 MB / 0.592 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.5663, allocations: 0 / 0.592 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00701/0.5733, allocations: 2.431 MB / 0.5944 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006593/0.5799, allocations: 1.307 MB / 0.5957 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08192/0.6618, allocations: 35.95 MB / 0.6308 GB, free: 9.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/0.6637, allocations: 1.764 MB / 0.6325 GB, free: 7.793 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002841/0.6665, allocations: 0.6462 MB / 0.6331 GB, free: 7.145 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001905/0.6684, allocations: 0.9326 MB / 0.6341 GB, free: 6.211 MB / 462.1 MB Notification: Performance of SimCode: time 1.563e-06/0.6684, allocations: 0 / 0.6341 GB, free: 6.211 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1429/0.8113, allocations: 77.47 MB / 0.7097 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.94/17.75, allocations: 3.984 kB / 0.7097 GB, free: 9.141 MB / 0.5294 GB " [Timeout remaining time 642] (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: 20.72384816700003] Failed to read output from testmodel.py, exit status != 0: 17.89254393200008 18.18729105 18.036344459 Calling exit ...