Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.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.BodyShape,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_BodyShape",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.01685/0.01686, allocations: 104.5 kB / 15.05 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.001973/0.001973, allocations: 169.7 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.65/1.65, allocations: 170.9 MB / 187.5 MB, free: 0.8125 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.249/0.249, allocations: 38.09 MB / 265.1 MB, free: 3.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006514/0.0006516, allocations: 12 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09559/0.09627, allocations: 48.71 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.0573/0.1536, allocations: 37.84 MB / 410.1 MB, free: 6.895 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02471/0.1784, allocations: 9.424 MB / 419.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007257/0.1857, allocations: 187.5 kB / 419.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006825/0.1926, allocations: 1.898 MB / 421.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02089/0.2135, allocations: 5.478 MB / 427.1 MB, free: 5.855 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003579/0.2172, allocations: 0.6006 MB / 427.7 MB, free: 5.254 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005924/0.2231, allocations: 2.309 MB / 430 MB, free: 2.941 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2975/0.5207, allocations: 3.989 MB / 434 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.5238, allocations: 1.005 MB / 435 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003378/0.5272, allocations: 1.265 MB / 436.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001159/0.5284, allocations: 133.9 kB / 436.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003361/0.5318, allocations: 0.9201 MB / 437.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003243/0.5351, allocations: 1.557 MB / 438.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001988/0.5371, allocations: 0.8258 MB / 439.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009411/0.5466, allocations: 5.386 MB / 445.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5466, allocations: 0 / 445.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.5466, allocations: 2.844 kB / 445.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003144/0.547, allocations: 0 / 445.1 MB, free: 11.75 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01448/0.5615, allocations: 3.989 MB / 449.1 MB, free: 9.887 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.5615, allocations: 8.562 kB / 449.1 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00293/0.5645, allocations: 0.7075 MB / 449.8 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01499/0.5795, allocations: 2.278 MB / 452.1 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008513/0.5881, allocations: 2.694 MB / 454.8 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/0.5885, allocations: 238.2 kB / 455 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002427/0.5909, allocations: 405.9 kB / 455.4 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02956/0.6205, allocations: 9.993 MB / 465.4 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002069/0.6208, allocations: 49.92 kB / 465.4 MB, free: 4.418 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001041/0.6218, allocations: 152.8 kB / 465.6 MB, free: 4.418 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004688/0.6265, allocations: 1.84 MB / 467.4 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0263/0.6529, allocations: 8.474 MB / 475.9 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07431/0.7272, allocations: 39.22 MB / 0.5031 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01581/0.7431, allocations: 3.603 MB / 0.5066 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01886/0.762, allocations: 7.178 MB / 0.5136 GB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.7621, allocations: 43.56 kB / 0.5136 GB, free: 4.758 MB / 378.7 MB Notification: Performance of pre-optimization done (n=139): time 6.081e-06/0.7621, allocations: 0 / 0.5136 GB, free: 4.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=155): time 0.06859/0.8307, allocations: 14.45 MB / 0.5277 GB, free: 6.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001744/0.8325, allocations: 1.603 MB / 0.5293 GB, free: 4.355 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009847/0.8424, allocations: 4.121 MB / 0.5333 GB, free: 264 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005384/0.843, allocations: 45.7 kB / 0.5334 GB, free: 212 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003845/0.8469, allocations: 3.137 MB / 0.5364 GB, free: 13.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001283/0.8482, allocations: 0.6348 MB / 0.5371 GB, free: 12.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006946/0.8489, allocations: 116 kB / 0.5372 GB, free: 12.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005267/0.8495, allocations: 0.5582 MB / 0.5377 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005463/0.8549, allocations: 2.022 MB / 0.5397 GB, free: 9.754 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009543/0.8645, allocations: 5.799 MB / 0.5453 GB, free: 2.121 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008815/0.8734, allocations: 3.34 MB / 0.5486 GB, free: 14.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/0.8736, allocations: 41.41 kB / 0.5486 GB, free: 14.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.0397/0.9133, allocations: 8.453 MB / 0.5569 GB, free: 6.973 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.9135, allocations: 64 kB / 0.557 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01378/0.9273, allocations: 2.654 MB / 0.5596 GB, free: 4.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009612/0.937, allocations: 1.299 MB / 0.5608 GB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01432/0.9514, allocations: 1.384 MB / 0.5622 GB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/0.9637, allocations: 4.923 MB / 0.567 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/0.9739, allocations: 389.1 kB / 0.5674 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001846/0.9758, allocations: 379.9 kB / 0.5677 GB, free: 11.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (745): * Single equations (assignments): 736 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.008033/0.9838, allocations: 2.071 MB / 0.5697 GB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/0.9851, allocations: 335.6 kB / 0.5701 GB, free: 9.195 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01499/1, allocations: 3.017 MB / 0.573 GB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01273/1.013, allocations: 2.531 MB / 0.5755 GB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.893e-05/1.013, allocations: 4 kB / 0.5755 GB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.87e-05/1.013, allocations: 11.95 kB / 0.5755 GB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03895/1.052, allocations: 9.377 MB / 0.5847 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.244e-05/1.052, allocations: 4 kB / 0.5847 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/1.055, allocations: 259.5 kB / 0.5849 GB, free: 9.824 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006212/1.061, allocations: 1.061 MB / 0.5859 GB, free: 8.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004638/1.061, allocations: 51.95 kB / 0.586 GB, free: 8.699 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/1.072, allocations: 4.892 MB / 0.5908 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002069/1.074, allocations: 1.467 MB / 0.5922 GB, free: 1.941 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.351/1.425, allocations: 5.748 MB / 0.5978 GB, free: 166.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001755/1.427, allocations: 403.9 kB / 0.5982 GB, free: 166.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001319/1.428, allocations: 33.92 kB / 0.5982 GB, free: 166.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003958/1.432, allocations: 129.9 kB / 0.5984 GB, free: 166.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007068/1.433, allocations: 109.2 kB / 0.5985 GB, free: 166.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007173/1.44, allocations: 50.55 kB / 0.5985 GB, free: 166.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009674/1.45, allocations: 2.58 MB / 0.601 GB, free: 165.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.45, allocations: 2.469 kB / 0.601 GB, free: 165.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01104/1.461, allocations: 1.028 MB / 0.602 GB, free: 165.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (124): * Single equations (assignments): 117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01482/1.476, allocations: 7.142 MB / 0.609 GB, free: 162 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01396/1.49, allocations: 5.446 MB / 0.6143 GB, free: 160 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.49, allocations: 0 / 0.6143 GB, free: 160 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006624/1.497, allocations: 2.076 MB / 0.6163 GB, free: 159.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/1.5, allocations: 420.2 kB / 0.6167 GB, free: 158.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1037/1.604, allocations: 127 MB / 0.7408 GB, free: 33.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006091/1.61, allocations: 3.283 MB / 0.744 GB, free: 31.26 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008015/1.618, allocations: 1.885 MB / 0.7458 GB, free: 29.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004086/1.623, allocations: 1.854 MB / 0.7476 GB, free: 27.52 MB / 458.7 MB Notification: Performance of SimCode: time 1.744e-06/1.623, allocations: 3.938 kB / 0.7476 GB, free: 27.51 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5708/2.193, allocations: 75.21 MB / 0.8211 GB, free: 138.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/2.194, allocations: 213.7 kB / 0.8213 GB, free: 138.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.314/7.508, allocations: 0 / 0.8213 GB, free: 138.2 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat