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.001482/0.001482, 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.001706/0.001706, allocations: 196.6 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1288/0.1288, allocations: 6.481 MB / 296.9 MB, free: 2.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 68.08 kB / 358.9 MB, free: 152 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08542/0.08673, allocations: 50.85 MB / 409.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.005258/0.09201, allocations: 4.739 MB / 414.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005875/0.0979, allocations: 4.557 MB / 419 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000537/0.09846, allocations: 16 kB / 419 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008353/0.0993, allocations: 337.9 kB / 419.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003892/0.1032, allocations: 1.662 MB / 421 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.1039, allocations: 315.2 kB / 421.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1435/0.2474, allocations: 5.557 MB / 426.9 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007271/0.2481, allocations: 0.7793 MB / 427.6 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006767/0.2488, allocations: 0.7849 MB / 428.4 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009057/0.2497, allocations: 1.276 MB / 429.7 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002286/0.25, allocations: 156.3 kB / 429.9 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.2517, allocations: 1.243 MB / 431.1 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006203/0.2524, allocations: 1.106 MB / 432.2 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000762/0.2531, allocations: 1.246 MB / 433.5 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.2555, allocations: 3.557 MB / 437 MB, free: 36.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2556, allocations: 0 / 437 MB, free: 36.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2556, allocations: 0 / 437 MB, free: 36.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.2556, allocations: 0.8438 kB / 437 MB, free: 36.07 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.008123/0.2637, allocations: 3.865 MB / 440.9 MB, free: 34.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2638, allocations: 9.469 kB / 440.9 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.2639, allocations: 138.7 kB / 441 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005533/0.2695, allocations: 0.7661 MB / 441.8 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005842/0.2753, allocations: 5.116 MB / 446.9 MB, free: 31.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.05521/0.3305, allocations: 12.03 MB / 458.9 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005524/0.3311, allocations: 68.72 kB / 459 MB, free: 31.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06918/0.4003, allocations: 16.23 MB / 475.2 MB, free: 23.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.4004, allocations: 7.375 kB / 475.2 MB, free: 23.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003068/0.4007, allocations: 32 kB / 475.3 MB, free: 23.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.4007, allocations: 39.97 kB / 475.3 MB, free: 22.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1274/0.5281, allocations: 29.96 MB / 0.4934 GB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.5382, allocations: 7.556 MB / 0.5008 GB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07537/0.6136, allocations: 15.56 MB / 0.516 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.06928/0.6829, allocations: 14.89 MB / 0.5306 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/0.6832, allocations: 7.469 kB / 0.5306 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.855e-05/0.6833, allocations: 53.94 kB / 0.5306 GB, free: 2.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=41): time 3.747e-06/0.6833, allocations: 0.8438 kB / 0.5306 GB, free: 2.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=41): time 0.2008/0.884, allocations: 43 MB / 0.5726 GB, free: 7.684 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002279/0.8843, allocations: 0.6286 MB / 0.5732 GB, free: 6.914 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007827/0.8921, allocations: 5.237 MB / 0.5783 GB, free: 1.664 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004567/0.8926, allocations: 37.7 kB / 0.5784 GB, free: 1.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000881/0.8935, allocations: 1.069 MB / 0.5794 GB, free: 0.543 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005524/0.8941, allocations: 141.1 kB / 0.5795 GB, free: 416 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/0.8951, allocations: 213.4 kB / 0.5797 GB, free: 196 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.1419/1.037, allocations: 321.7 kB / 0.5801 GB, free: 137.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0642/1.101, allocations: 14.77 MB / 0.5945 GB, free: 137.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06478/1.166, allocations: 14.98 MB / 0.6091 GB, free: 134 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1187/1.285, allocations: 26.05 MB / 0.6346 GB, free: 115.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/1.285, allocations: 6.25 kB / 0.6346 GB, free: 115.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.1234/1.408, allocations: 28.2 MB / 0.6621 GB, free: 87.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.408, allocations: 4 kB / 0.6621 GB, free: 87.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.408, allocations: 4 kB / 0.6621 GB, free: 87.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/1.408, allocations: 15 kB / 0.6621 GB, free: 87.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03064/1.439, allocations: 6.439 MB / 0.6684 GB, free: 81.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.439, allocations: 4.562 kB / 0.6684 GB, free: 81.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03109/1.47, allocations: 6.445 MB / 0.6747 GB, free: 74.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003924/1.471, allocations: 89.52 kB / 0.6748 GB, free: 74.71 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.001469/1.472, allocations: 0.7054 MB / 0.6755 GB, free: 74.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.473, allocations: 247.9 kB / 0.6757 GB, free: 73.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/1.474, allocations: 281.5 kB / 0.676 GB, free: 73.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/1.474, allocations: 8.844 kB / 0.676 GB, free: 73.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/1.474, allocations: 7.938 kB / 0.676 GB, free: 73.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/1.474, allocations: 14.34 kB / 0.676 GB, free: 73.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/1.477, allocations: 2.531 MB / 0.6785 GB, free: 70.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/1.477, allocations: 4 kB / 0.6785 GB, free: 70.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03078/1.508, allocations: 6.438 MB / 0.6848 GB, free: 64.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/1.508, allocations: 8 kB / 0.6848 GB, free: 64.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004307/1.509, allocations: 59.89 kB / 0.6848 GB, free: 64.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/1.509, allocations: 11.55 kB / 0.6849 GB, free: 64.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.509, allocations: 8.688 kB / 0.6849 GB, free: 64.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1206/1.629, allocations: 29.33 MB / 0.7135 GB, free: 35.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/1.63, allocations: 0.5367 MB / 0.714 GB, free: 34.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/1.632, allocations: 16.89 kB / 0.714 GB, free: 34.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03135/1.663, allocations: 6.397 MB / 0.7203 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001354/1.664, allocations: 0.8065 MB / 0.7211 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002973/1.665, allocations: 92.45 kB / 0.7212 GB, free: 27.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004974/1.67, allocations: 3.957 MB / 0.725 GB, free: 23.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/1.67, allocations: 3 kB / 0.725 GB, free: 23.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002764/1.672, allocations: 0.8662 MB / 0.7259 GB, free: 22.38 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.2748/1.947, allocations: 30.29 MB / 0.7555 GB, free: 136.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1315/2.079, allocations: 29.73 MB / 0.7845 GB, free: 129.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/2.079, allocations: 2.266 kB / 0.7845 GB, free: 129.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.07149/2.15, allocations: 22.63 MB / 0.8066 GB, free: 111.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005467/2.156, allocations: 1.301 MB / 0.8079 GB, free: 110 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5196/2.675, allocations: 110.6 MB / 0.9159 GB, free: 131.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/2.676, allocations: 1.756 MB / 0.9176 GB, free: 131.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004476/2.681, allocations: 1.165 MB / 0.9188 GB, free: 131.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002475/2.683, allocations: 1.019 MB / 0.9198 GB, free: 131.1 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/2.683, allocations: 0 / 0.9198 GB, free: 131.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.423/4.106, allocations: 124.4 MB / 1.041 GB, free: 39.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/15.76, allocations: 22.66 kB / 1.041 GB, free: 39.45 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_StewartPlatform_StewartPlatform_Tests_Trajectory_test_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_Trajectory_test.fmu > StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe 2>&1)