Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01079/0.0108, allocations: 107.3 kB / 15.06 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00122/0.00122, allocations: 180.6 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.066/2.066, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2692/0.2692, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006824/0.0006828, allocations: 8 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1144, allocations: 54.88 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FlyingBodies): time 0.4/0.5144, allocations: 58.43 MB / 474.5 MB, free: 29.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03513/0.5496, allocations: 13.4 MB / 487.9 MB, free: 22.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01356/0.5632, allocations: 292.4 kB / 488.1 MB, free: 22.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01066/0.5739, allocations: 3.085 MB / 491.2 MB, free: 21.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03162/0.6056, allocations: 8.757 MB / 500 MB, free: 18.03 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004869/0.6105, allocations: 0.78 MB / 0.489 GB, free: 17.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05681/0.6674, allocations: 19.85 MB / 0.5084 GB, free: 11.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0115/0.679, allocations: 5.683 MB / 0.514 GB, free: 7.434 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005124/0.6841, allocations: 2.215 MB / 0.5161 GB, free: 5.211 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005939/0.6901, allocations: 3.041 MB / 0.5191 GB, free: 2.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002261/0.6924, allocations: 312 kB / 0.5194 GB, free: 1.855 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004666/0.6971, allocations: 1.081 MB / 0.5204 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006816/0.704, allocations: 3.421 MB / 0.5238 GB, free: 13.34 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004073/0.7081, allocations: 1.738 MB / 0.5255 GB, free: 11.59 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01956/0.7278, allocations: 11.4 MB / 0.5366 GB, free: 172 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.7278, allocations: 0 / 0.5366 GB, free: 172 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.7278, allocations: 0 / 0.5366 GB, free: 172 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004736/0.7283, allocations: 0 / 0.5366 GB, free: 172 kB / 394.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.03467/0.763, allocations: 8.489 MB / 0.5449 GB, free: 7.594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.578e-05/0.7631, allocations: 12.03 kB / 0.5449 GB, free: 7.582 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007095/0.7702, allocations: 1.508 MB / 0.5464 GB, free: 6.062 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3096/1.08, allocations: 16.92 MB / 0.5629 GB, free: 5.113 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0231/1.103, allocations: 6.679 MB / 0.5694 GB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007355/1.104, allocations: 434.7 kB / 0.5698 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006249/1.11, allocations: 0.8989 MB / 0.5707 GB, free: 13.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06617/1.176, allocations: 22.97 MB / 0.5931 GB, free: 5.062 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005096/1.177, allocations: 79.3 kB / 0.5932 GB, free: 4.984 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003623/1.181, allocations: 263.6 kB / 0.5935 GB, free: 4.727 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01567/1.196, allocations: 5.205 MB / 0.5986 GB, free: 15.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07105/1.267, allocations: 21.84 MB / 0.6199 GB, free: 9.609 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8823/2.15, allocations: 81.15 MB / 0.6991 GB, free: 92.53 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03211/2.182, allocations: 9.868 MB / 0.7088 GB, free: 88.24 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008444/2.183, allocations: 82.14 kB / 0.7088 GB, free: 88.23 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.505e-05/2.183, allocations: 84.78 kB / 0.7089 GB, free: 88.15 MB / 490.8 MB Notification: Performance of pre-optimization done (n=585): time 1.188e-05/2.183, allocations: 0 / 0.7089 GB, free: 88.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=613): time 0.1567/2.34, allocations: 43.59 MB / 0.7515 GB, free: 57.2 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005275/2.345, allocations: 6.193 MB / 0.7575 GB, free: 50.39 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01673/2.362, allocations: 6.956 MB / 0.7643 GB, free: 43.43 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001872/2.364, allocations: 108.4 kB / 0.7644 GB, free: 43.33 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00512/2.369, allocations: 5.837 MB / 0.7701 GB, free: 37.49 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003828/2.373, allocations: 2.248 MB / 0.7723 GB, free: 35.26 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00246/2.375, allocations: 241.8 kB / 0.7726 GB, free: 35.03 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.00131/2.377, allocations: 0.8548 MB / 0.7734 GB, free: 34.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01655/2.393, allocations: 6.641 MB / 0.7799 GB, free: 27.52 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02109/2.414, allocations: 12.81 MB / 0.7924 GB, free: 11.73 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02117/2.436, allocations: 9.241 MB / 0.8014 GB, free: 2.484 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002413/2.436, allocations: 60 kB / 0.8015 GB, free: 2.426 MB / 490.8 MB Notification: Performance of matching and sorting (n=1641) (initialization): time 0.4636/2.899, allocations: 26.04 MB / 0.8269 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001752/2.9, allocations: 97.84 kB / 0.827 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09247/2.992, allocations: 17.58 MB / 0.8442 GB, free: 134.9 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0824/3.075, allocations: 8.072 MB / 0.8521 GB, free: 134.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02045/3.095, allocations: 2.953 MB / 0.8549 GB, free: 134.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05079/3.146, allocations: 21.46 MB / 0.8759 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01653/3.163, allocations: 1.102 MB / 0.877 GB, free: 121.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003265/3.166, allocations: 0.6751 MB / 0.8776 GB, free: 120.9 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 968 * 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 (1493): * Single equations (assignments): 1459 * 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 {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 prepare postOptimizeDAE: time 0.01295/3.179, allocations: 4.491 MB / 0.882 GB, free: 118.7 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002897/3.182, allocations: 0.654 MB / 0.8827 GB, free: 118.6 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04997/3.232, allocations: 14.86 MB / 0.8972 GB, free: 109.7 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05764/3.289, allocations: 13.31 MB / 0.9102 GB, free: 96.43 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.066e-05/3.29, allocations: 9.875 kB / 0.9102 GB, free: 96.42 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000161/3.29, allocations: 23.91 kB / 0.9102 GB, free: 96.39 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1052/3.395, allocations: 33.7 MB / 0.9431 GB, free: 62.72 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-05/3.395, allocations: 8 kB / 0.9431 GB, free: 62.71 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01163/3.407, allocations: 1.185 MB / 0.9443 GB, free: 61.53 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02423/3.431, allocations: 3.693 MB / 0.9479 GB, free: 57.82 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001684/3.433, allocations: 147.7 kB / 0.948 GB, free: 57.68 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02041/3.453, allocations: 13.94 MB / 0.9616 GB, free: 43.06 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004346/3.458, allocations: 5.945 MB / 0.9674 GB, free: 36.6 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06072/3.518, allocations: 24.02 MB / 0.9909 GB, free: 12.36 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002316/3.521, allocations: 0.7104 MB / 0.9916 GB, free: 11.74 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003171/3.524, allocations: 127.9 kB / 0.9917 GB, free: 11.61 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009507/3.534, allocations: 0.6073 MB / 0.9923 GB, free: 11.01 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002548/3.536, allocations: 385.7 kB / 0.9927 GB, free: 10.64 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000989/3.537, allocations: 159.9 kB / 0.9928 GB, free: 10.48 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0101/3.547, allocations: 4.391 MB / 0.9971 GB, free: 6.102 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5.41e-07/3.547, allocations: 0 / 0.9971 GB, free: 6.102 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01571/3.563, allocations: 2.655 MB / 0.9997 GB, free: 3.457 MB / 0.4949 GB 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 (477): * Single equations (assignments): 451 * 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 {(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 {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.4581/4.021, allocations: 26.62 MB / 1.026 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04641/4.068, allocations: 17.38 MB / 1.043 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/4.068, allocations: 2.625 kB / 1.043 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02545/4.093, allocations: 8.263 MB / 1.051 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00808/4.101, allocations: 0.8866 MB / 1.052 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6786/4.78, allocations: 243.4 MB / 1.289 GB, free: 109.3 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01573/4.796, allocations: 6.823 MB / 1.296 GB, free: 107.3 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.02162/4.818, allocations: 4.818 MB / 1.301 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01144/4.829, allocations: 4.34 MB / 1.305 GB, free: 103.6 MB / 0.5262 GB Notification: Performance of SimCode: time 2.314e-06/4.829, allocations: 3.875 kB / 1.305 GB, free: 103.6 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.752/5.581, allocations: 187.1 MB / 1.488 GB, free: 108.3 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/5.581, allocations: 217.2 kB / 1.488 GB, free: 108 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.063/14.64, allocations: 3.938 kB / 1.488 GB, free: 108 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat does not exist to compare? outputFormat=mat