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.001248/0.001248, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001414/0.001414, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.345/1.345, allocations: 230.6 MB / 256 MB, free: 7.809 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.03196/0.03196, allocations: 6.575 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.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.001919/0.001919, allocations: 75.89 kB / 443.8 MB, free: 4.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.09617, allocations: 54.85 MB / 498.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.005662/0.1018, allocations: 4.345 MB / 0.4912 GB, free: 9.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00651/0.1083, allocations: 4.206 MB / 0.4953 GB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004295/0.1088, allocations: 16 kB / 0.4953 GB, free: 5.293 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008778/0.1097, allocations: 341.8 kB / 0.4957 GB, free: 4.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003744/0.1134, allocations: 1.67 MB / 0.4973 GB, free: 3.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000696/0.1141, allocations: 323.2 kB / 0.4976 GB, free: 2.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00691/0.121, allocations: 6.064 MB / 0.5035 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006902/0.1217, allocations: 409.4 kB / 0.5039 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.1228, allocations: 0.8134 MB / 0.5047 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.1245, allocations: 1.331 MB / 0.506 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003434/0.1248, allocations: 156 kB / 0.5062 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.127, allocations: 1.092 MB / 0.5072 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.1281, allocations: 1.149 MB / 0.5084 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.1293, allocations: 0.9987 MB / 0.5093 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004228/0.1335, allocations: 3.588 MB / 0.5128 GB, free: 3.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1335, allocations: 0 / 0.5128 GB, free: 3.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1335, allocations: 0 / 0.5128 GB, free: 3.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.054e-05/0.1336, allocations: 0 / 0.5128 GB, free: 3.312 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.1975/0.3311, allocations: 3.892 MB / 0.5166 GB, free: 29.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.3311, allocations: 9.5 kB / 0.5166 GB, free: 29.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.3313, allocations: 136 kB / 0.5168 GB, free: 29.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005372/0.3367, allocations: 0.7833 MB / 0.5175 GB, free: 29.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007111/0.3438, allocations: 5.148 MB / 0.5226 GB, free: 28.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005261/0.3443, allocations: 0.5386 MB / 0.5231 GB, free: 28.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.3445, allocations: 71.16 kB / 0.5232 GB, free: 28.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007487/0.3519, allocations: 3.128 MB / 0.5262 GB, free: 27.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.352, allocations: 6.969 kB / 0.5262 GB, free: 27.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.3521, allocations: 35.53 kB / 0.5263 GB, free: 27.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/0.3521, allocations: 43.97 kB / 0.5263 GB, free: 27.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/0.365, allocations: 4.094 MB / 0.5303 GB, free: 26.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006466/0.3715, allocations: 5.456 MB / 0.5356 GB, free: 22.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007202/0.3787, allocations: 2.55 MB / 0.5381 GB, free: 21.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005647/0.3843, allocations: 1.948 MB / 0.54 GB, free: 20.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.216e-05/0.3844, allocations: 15.47 kB / 0.54 GB, free: 20.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.3845, allocations: 61.28 kB / 0.5401 GB, free: 20.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.716e-06/0.3845, allocations: 0 / 0.5401 GB, free: 20.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.01765/0.4021, allocations: 5.86 MB / 0.5458 GB, free: 15.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.4022, allocations: 0.6219 MB / 0.5464 GB, free: 15.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006898/0.4091, allocations: 5.3 MB / 0.5516 GB, free: 9.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.4093, allocations: 37.7 kB / 0.5516 GB, free: 9.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007141/0.41, allocations: 1.069 MB / 0.5527 GB, free: 8.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.4103, allocations: 153 kB / 0.5528 GB, free: 8.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002923/0.4106, allocations: 85.67 kB / 0.5529 GB, free: 8.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.4106, allocations: 321.9 kB / 0.5532 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005335/0.4159, allocations: 1.859 MB / 0.555 GB, free: 6.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005481/0.4214, allocations: 2.258 MB / 0.5572 GB, free: 3.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.4317, allocations: 3.598 MB / 0.5607 GB, free: 280 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.4318, allocations: 4 kB / 0.5608 GB, free: 276 kB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0136/0.4454, allocations: 3.969 MB / 0.5646 GB, free: 12.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.4454, allocations: 8 kB / 0.5646 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.4454, allocations: 7.984 kB / 0.5646 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.4454, allocations: 8 kB / 0.5646 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003318/0.4487, allocations: 0.741 MB / 0.5654 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.4488, allocations: 7.938 kB / 0.5654 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005019/0.4538, allocations: 0.8203 MB / 0.5662 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.4539, allocations: 23.98 kB / 0.5662 GB, free: 10.68 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.001354/0.4553, allocations: 0.7023 MB / 0.5669 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001316/0.4566, allocations: 263 kB / 0.5671 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007266/0.4573, allocations: 283.6 kB / 0.5674 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.4573, allocations: 8 kB / 0.5674 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.4574, allocations: 4 kB / 0.5674 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.4574, allocations: 9.297 kB / 0.5674 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.461, allocations: 1.235 MB / 0.5686 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.461, allocations: 4.844 kB / 0.5686 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00337/0.4643, allocations: 0.7487 MB / 0.5694 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.4644, allocations: 4 kB / 0.5694 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.4645, allocations: 17.31 kB / 0.5694 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.4645, allocations: 7.984 kB / 0.5694 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.4645, allocations: 7.938 kB / 0.5694 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/0.4785, allocations: 5.126 MB / 0.5744 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/0.4803, allocations: 486.3 kB / 0.5749 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/0.4813, allocations: 12 kB / 0.5749 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005211/0.4865, allocations: 0.7723 MB / 0.5756 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005077/0.487, allocations: 155.7 kB / 0.5758 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.4871, allocations: 19.94 kB / 0.5758 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.006946/0.4941, allocations: 4 MB / 0.5797 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4941, allocations: 3.938 kB / 0.5797 GB, free: 12.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002757/0.4968, allocations: 0.5964 MB / 0.5803 GB, free: 12.21 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.01579/0.5126, allocations: 6.095 MB / 0.5863 GB, free: 6.082 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01292/0.5255, allocations: 3.815 MB / 0.59 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.5256, allocations: 0 / 0.59 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00738/0.5329, allocations: 2.435 MB / 0.5924 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007097/0.54, allocations: 1.302 MB / 0.5936 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08252/0.6226, allocations: 35.93 MB / 0.6287 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/0.6244, allocations: 1.197 MB / 0.6299 GB, free: 9.059 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00254/0.627, allocations: 0.6346 MB / 0.6305 GB, free: 8.418 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002141/0.6291, allocations: 0.9366 MB / 0.6314 GB, free: 7.48 MB / 462.1 MB Notification: Performance of SimCode: time 1.282e-06/0.6291, allocations: 0 / 0.6314 GB, free: 7.48 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1366/0.7658, allocations: 83.25 MB / 0.7127 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.24, allocations: 3.938 kB / 0.7127 GB, free: 4.762 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: 16.89938127202913] Failed to read output from testmodel.py, exit status != 0: 14.386428309138864 14.562178998 14.426054171 Calling exit ...