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.007409/0.007409, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001499/0.001499, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1556/0.1556, allocations: 6.481 MB / 297 MB, free: 2.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.89 kB / 410.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2872, allocations: 50.86 MB / 461.3 MB, free: 18.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.005737/0.293, allocations: 4.716 MB / 466 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006711/0.2998, allocations: 4.555 MB / 470.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005345/0.3003, allocations: 15.97 kB / 470.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009314/0.3013, allocations: 363.2 kB / 470.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004403/0.3057, allocations: 1.65 MB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008944/0.3066, allocations: 331.1 kB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007241/0.3139, allocations: 5.559 MB / 478.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009358/0.3149, allocations: 0.7803 MB / 479.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.3161, allocations: 0.7977 MB / 480 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.3173, allocations: 1.268 MB / 481.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002989/0.3176, allocations: 155.8 kB / 481.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/0.3204, allocations: 1.245 MB / 482.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008993/0.3213, allocations: 1.11 MB / 483.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.3224, allocations: 1.239 MB / 485 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004055/0.3265, allocations: 3.614 MB / 488.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3265, allocations: 1.406 kB / 488.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3265, allocations: 0 / 488.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.497e-05/0.3266, allocations: 0 / 488.7 MB, free: 3.602 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.009802/0.3364, allocations: 3.959 MB / 492.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3364, allocations: 8.031 kB / 492.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/0.3366, allocations: 134.7 kB / 492.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00598/0.3426, allocations: 0.7901 MB / 493.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008711/0.3513, allocations: 5.144 MB / 498.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005543/0.3519, allocations: 293.2 kB / 499 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.3521, allocations: 65.31 kB / 499 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007855/0.36, allocations: 2.909 MB / 0.4902 GB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.36, allocations: 7.875 kB / 0.4902 GB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.3602, allocations: 36 kB / 0.4902 GB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.576e-05/0.3602, allocations: 39.98 kB / 0.4903 GB, free: 7.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/0.3734, allocations: 4.088 MB / 0.4943 GB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008431/0.3819, allocations: 6.052 MB / 0.5002 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007912/0.3898, allocations: 2.559 MB / 0.5027 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006357/0.3962, allocations: 1.967 MB / 0.5046 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.3963, allocations: 15.98 kB / 0.5046 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.3964, allocations: 54.44 kB / 0.5047 GB, free: 7.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 3.146e-06/0.3964, allocations: 0 / 0.5047 GB, free: 7.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.02058/0.417, allocations: 5.85 MB / 0.5104 GB, free: 2.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003141/0.4173, allocations: 0.6219 MB / 0.511 GB, free: 1.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00857/0.4259, allocations: 5.237 MB / 0.5161 GB, free: 12.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00038/0.4263, allocations: 37.7 kB / 0.5161 GB, free: 12.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009825/0.4273, allocations: 1.084 MB / 0.5172 GB, free: 10.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.4276, allocations: 146.7 kB / 0.5173 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.4279, allocations: 89.67 kB / 0.5174 GB, free: 10.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.428, allocations: 325.9 kB / 0.5177 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006111/0.4342, allocations: 1.849 MB / 0.5195 GB, free: 8.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006312/0.4405, allocations: 2.054 MB / 0.5215 GB, free: 6.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/0.4524, allocations: 3.605 MB / 0.5251 GB, free: 2.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.4524, allocations: 0 / 0.5251 GB, free: 2.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0136/0.466, allocations: 3.972 MB / 0.5289 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.4661, allocations: 8 kB / 0.5289 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4661, allocations: 4 kB / 0.5289 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.4661, allocations: 4 kB / 0.529 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/0.4695, allocations: 0.7488 MB / 0.5297 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.4695, allocations: 4 kB / 0.5297 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005144/0.4746, allocations: 0.8225 MB / 0.5305 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/0.4748, allocations: 27.97 kB / 0.5305 GB, free: 13.16 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.001524/0.4764, allocations: 0.7092 MB / 0.5312 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/0.4777, allocations: 270.2 kB / 0.5315 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008214/0.4785, allocations: 279.6 kB / 0.5317 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.4785, allocations: 8 kB / 0.5317 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.4786, allocations: 8 kB / 0.5317 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.4786, allocations: 4 kB / 0.5318 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004471/0.4831, allocations: 1.728 MB / 0.5334 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.4831, allocations: 4 kB / 0.5334 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003419/0.4865, allocations: 0.741 MB / 0.5342 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.4865, allocations: 4 kB / 0.5342 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.4866, allocations: 19.98 kB / 0.5342 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.4867, allocations: 7.938 kB / 0.5342 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4867, allocations: 4 kB / 0.5342 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/0.501, allocations: 5.102 MB / 0.5392 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002506/0.5035, allocations: 0.5577 MB / 0.5397 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00151/0.505, allocations: 12 kB / 0.5397 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005547/0.5106, allocations: 0.784 MB / 0.5405 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004821/0.5111, allocations: 147.7 kB / 0.5406 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.5112, allocations: 27.98 kB / 0.5407 GB, free: 2.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.007468/0.5187, allocations: 3.949 MB / 0.5445 GB, free: 14.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5187, allocations: 4 kB / 0.5445 GB, free: 14.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003533/0.5223, allocations: 0.5851 MB / 0.5451 GB, free: 14.09 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.01606/0.5384, allocations: 6.083 MB / 0.551 GB, free: 7.969 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0132/0.5516, allocations: 3.824 MB / 0.5548 GB, free: 4.141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/0.5516, allocations: 0 / 0.5548 GB, free: 4.141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007358/0.559, allocations: 2.444 MB / 0.5572 GB, free: 1.695 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008299/0.5673, allocations: 1.306 MB / 0.5584 GB, free: 436 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3084/0.8757, allocations: 35.75 MB / 0.5934 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001832/0.8776, allocations: 1.763 MB / 0.5951 GB, free: 114.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002922/0.8805, allocations: 0.6383 MB / 0.5957 GB, free: 114.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/0.8824, allocations: 0.9348 MB / 0.5966 GB, free: 114.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.8824, allocations: 0.9688 kB / 0.5966 GB, free: 114.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/0.9918, allocations: 75.29 MB / 0.6701 GB, free: 59.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.74, allocations: 11.81 kB / 0.6701 GB, free: 59.53 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)