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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004568/0.004568, allocations: 101.3 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 194.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03331/0.03331, allocations: 6.498 MB / 297 MB, free: 8.336 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 67.91 kB / 410.4 MB, free: 24.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07671/0.07857, allocations: 50.85 MB / 461.3 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.006205/0.08481, allocations: 4.715 MB / 466 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006733/0.09158, allocations: 4.557 MB / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003576/0.09196, allocations: 16 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008378/0.09286, allocations: 353.9 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00339/0.09627, allocations: 1.646 MB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006273/0.0969, allocations: 323.2 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006461/0.1034, allocations: 5.566 MB / 478.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009703/0.1044, allocations: 0.7935 MB / 479.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009459/0.1053, allocations: 0.7822 MB / 480 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.1068, allocations: 1.269 MB / 481.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003007/0.1071, allocations: 156 kB / 481.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.1094, allocations: 1.248 MB / 482.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.1105, allocations: 1.103 MB / 483.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.1118, allocations: 1.247 MB / 485 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004047/0.1158, allocations: 3.604 MB / 488.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1158, allocations: 0 / 488.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1158, allocations: 4 kB / 488.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.317e-05/0.1159, allocations: 0 / 488.6 MB, free: 10.62 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.008741/0.1246, allocations: 3.965 MB / 492.6 MB, free: 6.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1247, allocations: 12.03 kB / 492.6 MB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/0.1249, allocations: 138.7 kB / 492.8 MB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006156/0.1311, allocations: 0.7795 MB / 493.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007561/0.1386, allocations: 5.148 MB / 498.7 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005271/0.1392, allocations: 297.2 kB / 499 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.1393, allocations: 68.12 kB / 499 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008196/0.1475, allocations: 2.897 MB / 0.4902 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.1476, allocations: 7.938 kB / 0.4902 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.1477, allocations: 32 kB / 0.4902 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.865e-05/0.1478, allocations: 43.97 kB / 0.4903 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.1617, allocations: 4.098 MB / 0.4943 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007302/0.169, allocations: 6.036 MB / 0.5002 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1779/0.347, allocations: 2.552 MB / 0.5026 GB, free: 47.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006769/0.3538, allocations: 1.969 MB / 0.5046 GB, free: 47.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.3539, allocations: 10.16 kB / 0.5046 GB, free: 47.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.354, allocations: 55.8 kB / 0.5046 GB, free: 47.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.685e-06/0.354, allocations: 0.9062 kB / 0.5046 GB, free: 47.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.02054/0.3745, allocations: 5.857 MB / 0.5104 GB, free: 47.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.3747, allocations: 0.6204 MB / 0.511 GB, free: 46.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007973/0.3827, allocations: 5.248 MB / 0.5161 GB, free: 44.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.3828, allocations: 36.39 kB / 0.5161 GB, free: 44.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007174/0.3836, allocations: 1.076 MB / 0.5172 GB, free: 43.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.3838, allocations: 144.6 kB / 0.5173 GB, free: 43.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/0.3841, allocations: 85.02 kB / 0.5174 GB, free: 43.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.3841, allocations: 325.8 kB / 0.5177 GB, free: 43.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005903/0.39, allocations: 1.858 MB / 0.5195 GB, free: 42.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005719/0.3958, allocations: 2.049 MB / 0.5215 GB, free: 41.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/0.4067, allocations: 3.605 MB / 0.525 GB, free: 39.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.4068, allocations: 0 / 0.525 GB, free: 39.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.01203/0.4188, allocations: 3.98 MB / 0.5289 GB, free: 35.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.4188, allocations: 8 kB / 0.5289 GB, free: 35.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4189, allocations: 4 kB / 0.5289 GB, free: 35.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.4189, allocations: 4.875 kB / 0.5289 GB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003094/0.422, allocations: 0.748 MB / 0.5297 GB, free: 34.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.422, allocations: 9.25 kB / 0.5297 GB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00449/0.4265, allocations: 0.821 MB / 0.5305 GB, free: 33.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.4266, allocations: 27.98 kB / 0.5305 GB, free: 33.48 MB / 382.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.0008818/0.4275, allocations: 0.7106 MB / 0.5312 GB, free: 32.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008358/0.4284, allocations: 262.3 kB / 0.5314 GB, free: 32.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004344/0.4288, allocations: 279.6 kB / 0.5317 GB, free: 32.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.4288, allocations: 8 kB / 0.5317 GB, free: 32.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.4288, allocations: 7.438 kB / 0.5317 GB, free: 32.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4289, allocations: 4 kB / 0.5317 GB, free: 32.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.4313, allocations: 1.717 MB / 0.5334 GB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.4313, allocations: 8 kB / 0.5334 GB, free: 30.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003313/0.4346, allocations: 0.7482 MB / 0.5341 GB, free: 29.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.4347, allocations: 4 kB / 0.5342 GB, free: 29.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.843e-05/0.4348, allocations: 15.98 kB / 0.5342 GB, free: 29.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.4348, allocations: 4 kB / 0.5342 GB, free: 29.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4348, allocations: 8 kB / 0.5342 GB, free: 29.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/0.4469, allocations: 5.112 MB / 0.5392 GB, free: 24.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008877/0.4478, allocations: 0.555 MB / 0.5397 GB, free: 23.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005392/0.4483, allocations: 15.98 kB / 0.5397 GB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0046/0.4529, allocations: 0.7732 MB / 0.5405 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003981/0.4533, allocations: 151.7 kB / 0.5406 GB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/0.4534, allocations: 23.98 kB / 0.5406 GB, free: 23.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004461/0.4579, allocations: 3.961 MB / 0.5445 GB, free: 19.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4579, allocations: 0 / 0.5445 GB, free: 19.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001875/0.4598, allocations: 0.5812 MB / 0.5451 GB, free: 18.49 MB / 382.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.01322/0.473, allocations: 6.085 MB / 0.551 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01173/0.4848, allocations: 3.825 MB / 0.5548 GB, free: 8.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4848, allocations: 0 / 0.5548 GB, free: 8.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006508/0.4913, allocations: 2.437 MB / 0.5571 GB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/0.4968, allocations: 1.313 MB / 0.5584 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08017/0.577, allocations: 35.76 MB / 0.5933 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/0.579, allocations: 1.761 MB / 0.5951 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002261/0.5812, allocations: 0.6384 MB / 0.5957 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001904/0.5831, allocations: 0.9366 MB / 0.5966 GB, free: 13.43 MB / 430.1 MB Notification: Performance of SimCode: time 2.595e-06/0.5832, allocations: 0 / 0.5966 GB, free: 13.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1264/0.7096, allocations: 75.29 MB / 0.6701 GB, free: 2.484 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.67, allocations: 2.812 kB / 0.6701 GB, free: 2.484 MB / 494.1 MB (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)