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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 189.5 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.0322/0.0322, allocations: 6.581 MB / 312.6 MB, free: 2.289 MB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 67.89 kB / 435 MB, free: 16.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09589, allocations: 53.67 MB / 488.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.006138/0.102, allocations: 4.766 MB / 493.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007062/0.1091, allocations: 4.588 MB / 498 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005325/0.1096, allocations: 16 kB / 498.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009311/0.1106, allocations: 362.1 kB / 498.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004012/0.1146, allocations: 1.664 MB / 0.4884 GB, free: 15.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00073/0.1153, allocations: 323.2 kB / 0.4887 GB, free: 14.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007016/0.1223, allocations: 5.581 MB / 0.4941 GB, free: 9.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007454/0.1231, allocations: 405.5 kB / 0.4945 GB, free: 8.707 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.1243, allocations: 0.8134 MB / 0.4953 GB, free: 7.891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/0.1261, allocations: 1.366 MB / 0.4966 GB, free: 6.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003326/0.1264, allocations: 156 kB / 0.4968 GB, free: 6.367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.1288, allocations: 1.096 MB / 0.4978 GB, free: 5.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001193/0.13, allocations: 1.149 MB / 0.499 GB, free: 4.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.1315, allocations: 1.247 MB / 0.5002 GB, free: 2.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2073/0.3388, allocations: 3.537 MB / 0.5036 GB, free: 12.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3388, allocations: 0.6562 kB / 0.5036 GB, free: 12.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3388, allocations: 0 / 0.5036 GB, free: 12.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001057/0.3389, allocations: 0 / 0.5036 GB, free: 12.96 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.009329/0.3482, allocations: 3.883 MB / 0.5074 GB, free: 11.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3483, allocations: 8.781 kB / 0.5074 GB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002085/0.3485, allocations: 138 kB / 0.5076 GB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005325/0.3538, allocations: 0.7829 MB / 0.5083 GB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008165/0.362, allocations: 5.15 MB / 0.5134 GB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004669/0.3624, allocations: 295.2 kB / 0.5136 GB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.3626, allocations: 64.16 kB / 0.5137 GB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007102/0.3697, allocations: 2.91 MB / 0.5166 GB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.3697, allocations: 5.906 kB / 0.5166 GB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.3698, allocations: 30.94 kB / 0.5166 GB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.706e-05/0.3699, allocations: 42.03 kB / 0.5166 GB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/0.3808, allocations: 4.097 MB / 0.5206 GB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006132/0.387, allocations: 5.993 MB / 0.5265 GB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006225/0.3932, allocations: 2.546 MB / 0.529 GB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004812/0.398, allocations: 1.957 MB / 0.5309 GB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.3981, allocations: 7.812 kB / 0.5309 GB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.3982, allocations: 59.95 kB / 0.5309 GB, free: 2.852 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.455e-06/0.3982, allocations: 0 / 0.5309 GB, free: 2.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=41): time 0.01641/0.4146, allocations: 5.856 MB / 0.5367 GB, free: 13.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003465/0.4149, allocations: 0.6211 MB / 0.5373 GB, free: 13.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008641/0.4236, allocations: 5.3 MB / 0.5424 GB, free: 7.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003367/0.4239, allocations: 37.7 kB / 0.5425 GB, free: 7.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.4249, allocations: 1.069 MB / 0.5435 GB, free: 6.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.4251, allocations: 146.1 kB / 0.5437 GB, free: 6.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003059/0.4254, allocations: 92.3 kB / 0.5437 GB, free: 6.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4256, allocations: 328.5 kB / 0.5441 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005523/0.4311, allocations: 1.858 MB / 0.5459 GB, free: 4.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005613/0.4367, allocations: 2.051 MB / 0.5479 GB, free: 2.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.447, allocations: 3.604 MB / 0.5514 GB, free: 14.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.447, allocations: 0 / 0.5514 GB, free: 14.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.01225/0.4593, allocations: 3.975 MB / 0.5553 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.4593, allocations: 4 kB / 0.5553 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4593, allocations: 4 kB / 0.5553 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/0.4593, allocations: 10.62 kB / 0.5553 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/0.4623, allocations: 0.7457 MB / 0.556 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.4623, allocations: 10.62 kB / 0.556 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00474/0.467, allocations: 0.8211 MB / 0.5568 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.4672, allocations: 27.48 kB / 0.5569 GB, free: 9.012 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.001236/0.4684, allocations: 0.7034 MB / 0.5576 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/0.4694, allocations: 262.3 kB / 0.5578 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.4699, allocations: 275.6 kB / 0.5581 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.4699, allocations: 8 kB / 0.5581 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.4699, allocations: 4 kB / 0.5581 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.4699, allocations: 11.92 kB / 0.5581 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.4729, allocations: 1.682 MB / 0.5597 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.4729, allocations: 8 kB / 0.5597 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00294/0.4758, allocations: 0.7419 MB / 0.5605 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.4758, allocations: 8 kB / 0.5605 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.673e-05/0.4759, allocations: 21.06 kB / 0.5605 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.4759, allocations: 11.55 kB / 0.5605 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.4759, allocations: 8 kB / 0.5605 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/0.4884, allocations: 5.115 MB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001892/0.4903, allocations: 489.9 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004952/0.4908, allocations: 19.84 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004277/0.4951, allocations: 0.7738 MB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004804/0.4955, allocations: 159 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.821e-05/0.4956, allocations: 20.92 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.006107/0.5017, allocations: 4 MB / 0.5708 GB, free: 10.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5017, allocations: 0 / 0.5708 GB, free: 10.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002659/0.5044, allocations: 0.5838 MB / 0.5714 GB, free: 10.12 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.01388/0.5183, allocations: 6.083 MB / 0.5773 GB, free: 4.051 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01147/0.5297, allocations: 3.822 MB / 0.5811 GB, free: 284 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.5297, allocations: 2.625 kB / 0.5811 GB, free: 284 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006586/0.5363, allocations: 2.424 MB / 0.5834 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006523/0.5429, allocations: 1.296 MB / 0.5847 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08043/0.6233, allocations: 35.94 MB / 0.6198 GB, free: 8.523 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/0.625, allocations: 1.762 MB / 0.6215 GB, free: 6.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002625/0.6276, allocations: 0.6399 MB / 0.6221 GB, free: 6.094 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/0.6297, allocations: 0.9382 MB / 0.6231 GB, free: 5.164 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6297, allocations: 0 / 0.6231 GB, free: 5.164 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1313/0.7609, allocations: 77.18 MB / 0.6984 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.16, allocations: 6.906 kB / 0.6984 GB, free: 8.566 MB / 0.5294 GB " [Timeout remaining time 647] (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: 15.822503738017986] Failed to read output from testmodel.py, exit status != 0: 13.269370323017938 13.452240949 13.110395647 Calling exit ...