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.00753/0.00753, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001429/0.001429, allocations: 202.3 kB / 16.68 MB, free: 5.965 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1491/0.1491, allocations: 6.489 MB / 297 MB, free: 2.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.91 kB / 410.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2654, allocations: 50.87 MB / 461.3 MB, free: 18.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.004879/0.2704, allocations: 4.715 MB / 466 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006157/0.2766, allocations: 4.546 MB / 470.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000472/0.2771, allocations: 24.44 kB / 470.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009173/0.278, allocations: 355 kB / 470.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004026/0.2821, allocations: 1.654 MB / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008088/0.2829, allocations: 330.6 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007337/0.2903, allocations: 5.569 MB / 478.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009992/0.2913, allocations: 0.7728 MB / 479.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.2927, allocations: 0.7936 MB / 480 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.2939, allocations: 1.271 MB / 481.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003085/0.2942, allocations: 156.2 kB / 481.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002777/0.297, allocations: 1.25 MB / 482.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008683/0.2979, allocations: 1.106 MB / 483.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.299, allocations: 1.244 MB / 485 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004498/0.3035, allocations: 3.614 MB / 488.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3036, allocations: 1.219 kB / 488.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3036, allocations: 0 / 488.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.297e-05/0.3036, allocations: 3.938 kB / 488.7 MB, free: 3.586 MB / 350.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.008979/0.3126, allocations: 3.956 MB / 492.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3127, allocations: 12.03 kB / 492.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/0.3128, allocations: 142.7 kB / 492.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005637/0.3185, allocations: 0.7825 MB / 493.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007923/0.3264, allocations: 5.144 MB / 498.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004885/0.3269, allocations: 285.2 kB / 499 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.3271, allocations: 69.11 kB / 499 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007622/0.3347, allocations: 2.909 MB / 0.4902 GB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.3348, allocations: 7.938 kB / 0.4902 GB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.3349, allocations: 35.98 kB / 0.4902 GB, free: 7.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.497e-05/0.335, allocations: 43.98 kB / 0.4903 GB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.3478, allocations: 4.099 MB / 0.4943 GB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008722/0.3566, allocations: 6.032 MB / 0.5002 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00801/0.3646, allocations: 2.567 MB / 0.5027 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006362/0.371, allocations: 1.963 MB / 0.5046 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.3712, allocations: 16 kB / 0.5046 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.3712, allocations: 58.42 kB / 0.5047 GB, free: 7.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.235e-06/0.3712, allocations: 0 / 0.5047 GB, free: 7.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.02043/0.3917, allocations: 5.841 MB / 0.5104 GB, free: 2.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002789/0.392, allocations: 0.6258 MB / 0.511 GB, free: 1.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009651/0.4017, allocations: 5.237 MB / 0.5161 GB, free: 12.08 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003309/0.402, allocations: 41.64 kB / 0.5161 GB, free: 12.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.4033, allocations: 1.081 MB / 0.5172 GB, free: 10.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004121/0.4037, allocations: 146.8 kB / 0.5173 GB, free: 10.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004959/0.4043, allocations: 85.67 kB / 0.5174 GB, free: 10.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4044, allocations: 325.9 kB / 0.5177 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006253/0.4106, allocations: 1.853 MB / 0.5195 GB, free: 8.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006388/0.4171, allocations: 2.052 MB / 0.5215 GB, free: 6.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/0.4291, allocations: 3.61 MB / 0.5251 GB, free: 2.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.4291, allocations: 4 kB / 0.5251 GB, free: 2.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.01386/0.443, allocations: 3.968 MB / 0.5289 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.4431, allocations: 8 kB / 0.5289 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.4431, allocations: 4 kB / 0.529 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/0.4431, allocations: 4 kB / 0.529 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/0.4465, allocations: 0.7449 MB / 0.5297 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.4466, allocations: 11.92 kB / 0.5297 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005084/0.4516, allocations: 0.8264 MB / 0.5305 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002504/0.4519, allocations: 19.98 kB / 0.5305 GB, free: 13.14 MB / 414.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.001604/0.4535, allocations: 0.7131 MB / 0.5312 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/0.4549, allocations: 262.3 kB / 0.5315 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008272/0.4557, allocations: 279.6 kB / 0.5317 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.4558, allocations: 12 kB / 0.5317 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.4558, allocations: 4 kB / 0.5317 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.4558, allocations: 7.984 kB / 0.5318 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.4599, allocations: 1.72 MB / 0.5334 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.46, allocations: 4 kB / 0.5334 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003418/0.4634, allocations: 0.7449 MB / 0.5342 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.4634, allocations: 8 kB / 0.5342 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/0.4636, allocations: 15.98 kB / 0.5342 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/0.4636, allocations: 7.938 kB / 0.5342 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4636, allocations: 4 kB / 0.5342 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/0.4775, allocations: 5.106 MB / 0.5392 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/0.4791, allocations: 0.5538 MB / 0.5397 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001123/0.4802, allocations: 15.98 kB / 0.5397 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005417/0.4857, allocations: 0.7762 MB / 0.5405 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005502/0.4862, allocations: 147.9 kB / 0.5406 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.4864, allocations: 27.98 kB / 0.5407 GB, free: 2.617 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.007148/0.4935, allocations: 3.953 MB / 0.5445 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4936, allocations: 0 / 0.5445 GB, free: 14.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003407/0.497, allocations: 0.5852 MB / 0.5451 GB, free: 14.08 MB / 430.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.01625/0.5133, allocations: 6.09 MB / 0.551 GB, free: 7.945 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01309/0.5264, allocations: 3.824 MB / 0.5548 GB, free: 4.117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.5265, allocations: 4.188 kB / 0.5548 GB, free: 4.113 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007308/0.5338, allocations: 2.443 MB / 0.5572 GB, free: 1.668 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007338/0.5411, allocations: 1.303 MB / 0.5584 GB, free: 412 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3027/0.8439, allocations: 35.75 MB / 0.5934 GB, free: 115.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002388/0.8464, allocations: 1.76 MB / 0.5951 GB, free: 114.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003051/0.8494, allocations: 0.6388 MB / 0.5957 GB, free: 114.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001907/0.8514, allocations: 0.9346 MB / 0.5966 GB, free: 114.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.132e-06/0.8514, allocations: 0 / 0.5966 GB, free: 114.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.456/2.308, allocations: 75.28 MB / 0.6701 GB, free: 59.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/16.45, allocations: 17.89 kB / 0.6701 GB, free: 59.49 MB / 462.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)