Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01214/0.01215, allocations: 107.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001386/0.001386, allocations: 169 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.71/1.71, allocations: 170.9 MB / 187.5 MB, free: 1 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.282/0.282, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006717/0.0006717, allocations: 15.98 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1295, allocations: 48.7 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FlyingBodies): time 0.09056/0.2201, allocations: 58.43 MB / 430.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3322/0.5524, allocations: 13.38 MB / 444.1 MB, free: 8.754 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01565/0.5681, allocations: 292.7 kB / 444.4 MB, free: 8.754 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01221/0.5803, allocations: 3.084 MB / 447.5 MB, free: 8.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03675/0.6172, allocations: 8.761 MB / 456.2 MB, free: 6.434 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005559/0.6228, allocations: 0.7924 MB / 457 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.05483/0.6777, allocations: 19.85 MB / 476.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01259/0.6903, allocations: 5.69 MB / 482.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006159/0.6966, allocations: 2.22 MB / 484.8 MB, free: 8.859 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007267/0.7039, allocations: 3.032 MB / 487.8 MB, free: 6.324 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002488/0.7064, allocations: 312 kB / 488.1 MB, free: 6.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005228/0.7117, allocations: 1.067 MB / 489.2 MB, free: 5.113 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006916/0.7187, allocations: 3.428 MB / 492.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00416/0.7229, allocations: 1.738 MB / 494.3 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01981/0.7428, allocations: 11.39 MB / 0.4939 GB, free: 7.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7428, allocations: 0 / 0.4939 GB, free: 7.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.909e-06/0.7429, allocations: 0 / 0.4939 GB, free: 7.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005461/0.7434, allocations: 1.203 kB / 0.4939 GB, free: 7.5 MB / 362.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.03262/0.776, allocations: 8.49 MB / 0.5022 GB, free: 15.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.7761, allocations: 8.031 kB / 0.5022 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005286/0.7814, allocations: 1.508 MB / 0.5037 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2486/1.03, allocations: 16.82 MB / 0.5201 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02265/1.053, allocations: 6.655 MB / 0.5266 GB, free: 9.789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007049/1.054, allocations: 431.8 kB / 0.527 GB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006235/1.06, allocations: 0.898 MB / 0.5279 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06706/1.127, allocations: 22.96 MB / 0.5503 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004985/1.127, allocations: 79.3 kB / 0.5504 GB, free: 1.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003543/1.131, allocations: 266.5 kB / 0.5506 GB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01543/1.147, allocations: 5.196 MB / 0.5557 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07089/1.217, allocations: 21.84 MB / 0.577 GB, free: 6.531 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7618/1.979, allocations: 81.04 MB / 0.6562 GB, free: 111.4 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03022/2.01, allocations: 9.86 MB / 0.6658 GB, free: 106.3 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000851/2.011, allocations: 76.52 kB / 0.6659 GB, free: 106.3 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.629e-05/2.011, allocations: 90.48 kB / 0.666 GB, free: 106.2 MB / 458.8 MB Notification: Performance of pre-optimization done (n=585): time 1.102e-05/2.011, allocations: 0 / 0.666 GB, free: 106.2 MB / 458.8 MB Notification: Performance of matching and sorting (n=613): time 0.169/2.18, allocations: 43.61 MB / 0.7085 GB, free: 66.89 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004929/2.185, allocations: 6.188 MB / 0.7146 GB, free: 60.09 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0152/2.2, allocations: 6.953 MB / 0.7214 GB, free: 53.14 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001624/2.202, allocations: 106.9 kB / 0.7215 GB, free: 53.04 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00482/2.206, allocations: 5.837 MB / 0.7272 GB, free: 47.22 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003748/2.21, allocations: 2.253 MB / 0.7294 GB, free: 44.98 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002398/2.213, allocations: 240.5 kB / 0.7296 GB, free: 44.75 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001098/2.214, allocations: 0.8509 MB / 0.7304 GB, free: 43.89 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01577/2.23, allocations: 6.52 MB / 0.7368 GB, free: 37.37 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01976/2.249, allocations: 12.7 MB / 0.7492 GB, free: 21.7 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01967/2.269, allocations: 9.122 MB / 0.7581 GB, free: 12.57 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001716/2.269, allocations: 60 kB / 0.7582 GB, free: 12.51 MB / 458.8 MB Notification: Performance of matching and sorting (n=1641) (initialization): time 0.3731/2.643, allocations: 22.35 MB / 0.78 GB, free: 136.2 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002048/2.643, allocations: 97.72 kB / 0.7801 GB, free: 136.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0466/2.689, allocations: 13.88 MB / 0.7936 GB, free: 133.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02511/2.715, allocations: 4.132 MB / 0.7977 GB, free: 132.6 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01891/2.734, allocations: 2.959 MB / 0.8006 GB, free: 132.5 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/2.753, allocations: 13.24 MB / 0.8135 GB, free: 123.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01591/2.769, allocations: 1.091 MB / 0.8146 GB, free: 123.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003226/2.772, allocations: 0.6653 MB / 0.8152 GB, free: 123 MB / 458.8 MB 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): 8 * Torn equation systems: 6 * 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: 0 * 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: 4 {3 1,3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.01253/2.784, allocations: 4.496 MB / 0.8196 GB, free: 121 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002328/2.787, allocations: 0.6561 MB / 0.8202 GB, free: 121 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04824/2.835, allocations: 14.86 MB / 0.8348 GB, free: 106.2 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0436/2.879, allocations: 13.32 MB / 0.8478 GB, free: 92.85 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.483e-05/2.879, allocations: 11.95 kB / 0.8478 GB, free: 92.84 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001593/2.879, allocations: 23.91 kB / 0.8478 GB, free: 92.82 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09572/2.975, allocations: 33.7 MB / 0.8807 GB, free: 59.11 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.4e-05/2.975, allocations: 16 kB / 0.8807 GB, free: 59.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01074/2.986, allocations: 1.178 MB / 0.8819 GB, free: 57.92 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02319/3.009, allocations: 3.699 MB / 0.8855 GB, free: 54.2 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001621/3.011, allocations: 143.9 kB / 0.8856 GB, free: 54.06 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01982/3.03, allocations: 13.94 MB / 0.8992 GB, free: 39.44 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004293/3.035, allocations: 5.958 MB / 0.905 GB, free: 32.95 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05935/3.094, allocations: 24.02 MB / 0.9285 GB, free: 8.695 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006524/3.101, allocations: 1.779 MB / 0.9302 GB, free: 6.926 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002981/3.104, allocations: 125.8 kB / 0.9304 GB, free: 6.805 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00913/3.113, allocations: 0.595 MB / 0.9309 GB, free: 6.211 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002575/3.116, allocations: 384.6 kB / 0.9313 GB, free: 5.836 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001048/3.117, allocations: 155.9 kB / 0.9315 GB, free: 5.684 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.009827/3.126, allocations: 4.393 MB / 0.9357 GB, free: 1.305 MB / 458.8 MB Notification: Performance of sort global known variables: time 6.91e-07/3.126, allocations: 0 / 0.9357 GB, free: 1.305 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.3397/3.466, allocations: 2.576 MB / 0.9383 GB, free: 134.9 MB / 458.8 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 (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.07963/3.546, allocations: 26.63 MB / 0.9643 GB, free: 126.3 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.04042/3.586, allocations: 17.14 MB / 0.981 GB, free: 119.7 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/3.586, allocations: 1.969 kB / 0.981 GB, free: 119.7 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02177/3.608, allocations: 8.262 MB / 0.9891 GB, free: 112.3 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008683/3.617, allocations: 0.8906 MB / 0.99 GB, free: 111.6 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.587/4.204, allocations: 239.5 MB / 1.224 GB, free: 62.61 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01511/4.219, allocations: 6.816 MB / 1.231 GB, free: 56.61 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.02065/4.24, allocations: 4.821 MB / 1.235 GB, free: 52.01 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01108/4.251, allocations: 4.348 MB / 1.239 GB, free: 47.66 MB / 474.8 MB Notification: Performance of SimCode: time 1.593e-06/4.251, allocations: 0 / 1.239 GB, free: 47.66 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7155/4.967, allocations: 176.7 MB / 1.412 GB, free: 43.21 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/4.967, allocations: 205.2 kB / 1.412 GB, free: 42.97 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.851/13.82, allocations: 0 / 1.412 GB, free: 42.97 MB / 474.8 MB 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