Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009715/0.009715, allocations: 165.5 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.695/1.695, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002691/0.002691, allocations: 107.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5232/0.5232, allocations: 38.05 MB / 303.7 MB, free: 42.28 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005027/0.0005028, allocations: 16 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 48.7 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4529/0.5656, allocations: 89.87 MB / 0.4898 GB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.5659, allocations: 82.08 kB / 0.4899 GB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.096/1.662, allocations: 196.4 MB / 0.6816 GB, free: 63.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.425e-06/1.662, allocations: 0 / 0.6816 GB, free: 63.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000525/1.662, allocations: 156.6 kB / 0.6818 GB, free: 63.36 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3302 * Number of variables: 3302 Notification: Performance of Generate backend data structure: time 0.06892/1.731, allocations: 10.14 MB / 0.6917 GB, free: 56.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/1.731, allocations: 8.031 kB / 0.6917 GB, free: 56.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009673/1.741, allocations: 1.66 MB / 0.6933 GB, free: 55.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09037/1.831, allocations: 11.98 MB / 0.705 GB, free: 43.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04179/1.873, allocations: 11.89 MB / 0.7166 GB, free: 31.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008357/1.874, allocations: 0.6268 MB / 0.7172 GB, free: 30.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005955/1.88, allocations: 0.8393 MB / 0.718 GB, free: 29.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06902/1.949, allocations: 21.73 MB / 0.7393 GB, free: 7.008 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005803/1.95, allocations: 83.27 kB / 0.7393 GB, free: 6.926 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004649/1.954, allocations: 387.7 kB / 0.7397 GB, free: 6.547 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005267/1.96, allocations: 2.458 MB / 0.7421 GB, free: 4.078 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3923/2.352, allocations: 21.24 MB / 0.7629 GB, free: 57.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.168/2.52, allocations: 80.96 MB / 0.8419 GB, free: 17.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0299/2.55, allocations: 9.749 MB / 0.8514 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008177/2.551, allocations: 79.94 kB / 0.8515 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.546e-05/2.551, allocations: 87.34 kB / 0.8516 GB, free: 13.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=583): time 1.07e-05/2.551, allocations: 0 / 0.8516 GB, free: 13.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=611): time 0.1564/2.707, allocations: 43.31 MB / 0.8939 GB, free: 1.965 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006766/2.714, allocations: 6.186 MB / 0.8999 GB, free: 11.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01634/2.731, allocations: 5.745 MB / 0.9056 GB, free: 6.602 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001516/2.732, allocations: 105.4 kB / 0.9057 GB, free: 6.496 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006873/2.739, allocations: 5.843 MB / 0.9114 GB, free: 1.277 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.4087/3.148, allocations: 2.243 MB / 0.9136 GB, free: 88.08 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003034/3.151, allocations: 237.2 kB / 0.9138 GB, free: 88.08 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001647/3.153, allocations: 0.8488 MB / 0.9146 GB, free: 87.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01788/3.171, allocations: 6.369 MB / 0.9208 GB, free: 87.72 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02284/3.193, allocations: 12.55 MB / 0.9331 GB, free: 79.96 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02107/3.215, allocations: 8.944 MB / 0.9418 GB, free: 79.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003023/3.215, allocations: 61.88 kB / 0.9419 GB, free: 79.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=1637) (initialization): time 0.06978/3.285, allocations: 21.41 MB / 0.9628 GB, free: 78.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/3.285, allocations: 95.22 kB / 0.9629 GB, free: 78.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04279/3.328, allocations: 12.99 MB / 0.9756 GB, free: 73.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02128/3.349, allocations: 3.232 MB / 0.9787 GB, free: 73.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02005/3.369, allocations: 2.983 MB / 0.9816 GB, free: 73.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/3.381, allocations: 10.59 MB / 0.992 GB, free: 64.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01717/3.398, allocations: 1.098 MB / 0.993 GB, free: 64.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003518/3.402, allocations: 0.6679 MB / 0.9937 GB, free: 64.24 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 972 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1501): * Single equations (assignments): 1467 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01459/3.417, allocations: 4.492 MB / 0.9981 GB, free: 62.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002376/3.419, allocations: 0.6527 MB / 0.9987 GB, free: 62.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05068/3.47, allocations: 14.67 MB / 1.013 GB, free: 57.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04461/3.514, allocations: 13.12 MB / 1.026 GB, free: 47.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.074e-05/3.514, allocations: 8 kB / 1.026 GB, free: 47.56 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001508/3.515, allocations: 28.09 kB / 1.026 GB, free: 47.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1018/3.616, allocations: 33.43 MB / 1.059 GB, free: 20.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.825e-05/3.617, allocations: 15.38 kB / 1.059 GB, free: 20.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01111/3.628, allocations: 1.134 MB / 1.06 GB, free: 19.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0238/3.652, allocations: 3.611 MB / 1.063 GB, free: 17.24 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002073/3.654, allocations: 148.1 kB / 1.063 GB, free: 17.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02128/3.675, allocations: 13.91 MB / 1.077 GB, free: 3.129 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.367/4.042, allocations: 5.943 MB / 1.083 GB, free: 69.72 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06927/4.111, allocations: 23.73 MB / 1.106 GB, free: 66.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007624/4.119, allocations: 1.732 MB / 1.108 GB, free: 66.53 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003586/4.123, allocations: 126.3 kB / 1.108 GB, free: 66.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01006/4.133, allocations: 0.5969 MB / 1.108 GB, free: 66.53 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002636/4.135, allocations: 377 kB / 1.109 GB, free: 66.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001664/4.137, allocations: 160.3 kB / 1.109 GB, free: 66.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01299/4.15, allocations: 4.005 MB / 1.113 GB, free: 66.31 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.31e-07/4.15, allocations: 0 / 1.113 GB, free: 66.31 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01693/4.167, allocations: 2.516 MB / 1.115 GB, free: 66.31 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 48 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],BodyBox1.v_0[1],BodyBox1.v_0[2],BodyBox1.v_0[3],BodyBox1.body.frame_a.r_0[1],BodyBox1.body.frame_a.r_0[2],BodyBox1.body.frame_a.r_0[3],BodyBox1.body.w_a[1],BodyBox1.body.w_a[2],BodyBox1.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (475): * Single equations (assignments): 449 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07253/4.24, allocations: 26.33 MB / 1.141 GB, free: 58.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04092/4.281, allocations: 16.31 MB / 1.157 GB, free: 53.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.651e-05/4.281, allocations: 2.531 kB / 1.157 GB, free: 53.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0225/4.303, allocations: 8.214 MB / 1.165 GB, free: 49.71 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008916/4.312, allocations: 0.8698 MB / 1.166 GB, free: 49.37 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6491/4.961, allocations: 237.9 MB / 1.398 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02149/4.983, allocations: 6.815 MB / 1.405 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02209/5.005, allocations: 4.804 MB / 1.409 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01371/5.019, allocations: 4.357 MB / 1.414 GB, free: 19.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.754e-06/5.019, allocations: 0 / 1.414 GB, free: 19.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.152/6.171, allocations: 171.4 MB / 1.581 GB, free: 87.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002936/6.171, allocations: 201 kB / 1.581 GB, free: 86.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.716/14.89, allocations: 0 / 1.581 GB, free: 86.78 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat does not exist to compare? outputFormat=mat