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.001216/0.001216, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 197 kB / 16.53 MB, free: 6.664 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.207/1.207, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1162/0.1162, allocations: 6.49 MB / 296.9 MB, free: 2.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.91 kB / 358.8 MB, free: 164 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07673/0.07793, allocations: 50.85 MB / 409.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.005234/0.0832, allocations: 4.735 MB / 414.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005506/0.08872, allocations: 4.545 MB / 419 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.08896, allocations: 16 kB / 419 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007038/0.08969, allocations: 349.9 kB / 419.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002672/0.09237, allocations: 1.662 MB / 421 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.09285, allocations: 319.2 kB / 421.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1413/0.2342, allocations: 5.555 MB / 426.9 MB, free: 38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000854/0.2351, allocations: 0.7779 MB / 427.6 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008417/0.2359, allocations: 0.7839 MB / 428.4 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.237, allocations: 1.274 MB / 429.7 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.2373, allocations: 157.1 kB / 429.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.2392, allocations: 1.244 MB / 431.1 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000699/0.2399, allocations: 1.103 MB / 432.2 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008363/0.2408, allocations: 1.243 MB / 433.4 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.2434, allocations: 3.562 MB / 437 MB, free: 36.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2434, allocations: 0 / 437 MB, free: 36.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2434, allocations: 0 / 437 MB, free: 36.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.658e-05/0.2435, allocations: 0 / 437 MB, free: 36.24 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.007351/0.2508, allocations: 3.856 MB / 440.9 MB, free: 34.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2509, allocations: 17.75 kB / 440.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001511/0.251, allocations: 139.6 kB / 441 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005615/0.2567, allocations: 0.7718 MB / 441.8 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005655/0.2623, allocations: 5.117 MB / 446.9 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.05521/0.3175, allocations: 12.03 MB / 458.9 MB, free: 31.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005681/0.3182, allocations: 71.56 kB / 459 MB, free: 31.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06995/0.3881, allocations: 16.23 MB / 475.2 MB, free: 23.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.3882, allocations: 7.562 kB / 475.2 MB, free: 23.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005258/0.3887, allocations: 32 kB / 475.3 MB, free: 23.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.031e-05/0.3888, allocations: 39.98 kB / 475.3 MB, free: 23.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1309/0.5197, allocations: 29.97 MB / 0.4934 GB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/0.5299, allocations: 7.546 MB / 0.5008 GB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07435/0.6043, allocations: 15.57 MB / 0.516 GB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.06733/0.6716, allocations: 14.87 MB / 0.5305 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.6718, allocations: 19.45 kB / 0.5306 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.6719, allocations: 46.41 kB / 0.5306 GB, free: 2.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=41): time 2.615e-06/0.6719, allocations: 8 kB / 0.5306 GB, free: 2.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=41): time 0.2017/0.8736, allocations: 43 MB / 0.5726 GB, free: 7.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002463/0.8739, allocations: 0.6136 MB / 0.5732 GB, free: 7.098 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00784/0.8817, allocations: 5.249 MB / 0.5783 GB, free: 1.836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004093/0.8822, allocations: 29.7 kB / 0.5784 GB, free: 1.801 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009048/0.8831, allocations: 1.073 MB / 0.5794 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004816/0.8836, allocations: 146.3 kB / 0.5795 GB, free: 0.582 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009794/0.8846, allocations: 209.5 kB / 0.5797 GB, free: 380 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.8847, allocations: 329.8 kB / 0.5801 GB, free: 44 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2206/1.105, allocations: 14.76 MB / 0.5945 GB, free: 138.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06698/1.172, allocations: 14.98 MB / 0.6091 GB, free: 134.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1187/1.291, allocations: 26.07 MB / 0.6346 GB, free: 116 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/1.291, allocations: 0.5625 kB / 0.6346 GB, free: 116 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.1248/1.416, allocations: 28.19 MB / 0.6621 GB, free: 87.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/1.416, allocations: 4 kB / 0.6621 GB, free: 87.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.416, allocations: 4 kB / 0.6621 GB, free: 87.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/1.416, allocations: 4 kB / 0.6621 GB, free: 87.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03072/1.447, allocations: 6.455 MB / 0.6684 GB, free: 81.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/1.447, allocations: 4 kB / 0.6684 GB, free: 81.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03147/1.478, allocations: 6.449 MB / 0.6747 GB, free: 75.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004405/1.479, allocations: 91.89 kB / 0.6748 GB, free: 75.01 MB / 446.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.001343/1.48, allocations: 0.7046 MB / 0.6755 GB, free: 74.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.481, allocations: 250 kB / 0.6757 GB, free: 74.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/1.482, allocations: 280.4 kB / 0.676 GB, free: 73.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/1.482, allocations: 8 kB / 0.676 GB, free: 73.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.482, allocations: 4.875 kB / 0.676 GB, free: 73.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.482, allocations: 11.55 kB / 0.676 GB, free: 73.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/1.485, allocations: 2.531 MB / 0.6785 GB, free: 71.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.485, allocations: 5.219 kB / 0.6785 GB, free: 71.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0305/1.515, allocations: 6.444 MB / 0.6848 GB, free: 64.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/1.515, allocations: 8 kB / 0.6848 GB, free: 64.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003508/1.516, allocations: 57.2 kB / 0.6848 GB, free: 64.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/1.516, allocations: 11.38 kB / 0.6849 GB, free: 64.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.516, allocations: 4.938 kB / 0.6849 GB, free: 64.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1211/1.637, allocations: 29.33 MB / 0.7135 GB, free: 35.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.638, allocations: 0.5309 MB / 0.714 GB, free: 34.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008575/1.639, allocations: 28.83 kB / 0.7141 GB, free: 34.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03131/1.67, allocations: 6.38 MB / 0.7203 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001484/1.672, allocations: 0.8218 MB / 0.7211 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002949/1.672, allocations: 87.89 kB / 0.7212 GB, free: 27.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004912/1.677, allocations: 3.957 MB / 0.725 GB, free: 23.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.91e-07/1.677, allocations: 2.156 kB / 0.725 GB, free: 23.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003063/1.68, allocations: 0.8622 MB / 0.7259 GB, free: 22.67 MB / 446.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.2672/1.947, allocations: 30.3 MB / 0.7555 GB, free: 137 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1289/2.076, allocations: 29.73 MB / 0.7845 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/2.076, allocations: 0 / 0.7845 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0708/2.147, allocations: 22.62 MB / 0.8066 GB, free: 111.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005734/2.153, allocations: 1.304 MB / 0.8079 GB, free: 110.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5162/2.669, allocations: 110.6 MB / 0.9159 GB, free: 132.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/2.67, allocations: 1.762 MB / 0.9176 GB, free: 132.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004487/2.674, allocations: 1.157 MB / 0.9188 GB, free: 132 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002501/2.677, allocations: 1.024 MB / 0.9198 GB, free: 132 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/2.677, allocations: 0 / 0.9198 GB, free: 132 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1327/2.81, allocations: 124.4 MB / 1.041 GB, free: 40.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.171/11.98, allocations: 18.81 kB / 1.041 GB, free: 40.27 MB / 446.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)