Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.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.BodyShape,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.02117/0.02117, allocations: 110.8 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.2.mo): time 0.002045/0.002045, allocations: 179.2 kB / 15.95 MB, free: 5.52 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.127/2.127, allocations: 194.6 MB / 211.3 MB, free: 10.99 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.2773/0.2773, allocations: 40.03 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004732, allocations: 12 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1245, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.3761/0.5007, allocations: 37.84 MB / 453.9 MB, free: 30.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02462/0.5254, allocations: 9.448 MB / 463.3 MB, free: 30.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008369/0.5339, allocations: 187.5 kB / 463.5 MB, free: 30.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008234/0.5421, allocations: 1.905 MB / 465.4 MB, free: 29.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02854/0.5708, allocations: 5.465 MB / 470.9 MB, free: 29.35 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004936/0.5758, allocations: 0.5878 MB / 471.5 MB, free: 29.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006411/0.5822, allocations: 2.306 MB / 473.8 MB, free: 29.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007589/0.5899, allocations: 4.001 MB / 477.8 MB, free: 28.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/0.5926, allocations: 1 MB / 478.8 MB, free: 28.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.5956, allocations: 1.269 MB / 480 MB, free: 28.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.5967, allocations: 131.1 kB / 480.2 MB, free: 28.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.6, allocations: 0.9377 MB / 481.1 MB, free: 28.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002832/0.6029, allocations: 1.555 MB / 482.6 MB, free: 28.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.6048, allocations: 0.8258 MB / 483.5 MB, free: 28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.6153, allocations: 5.398 MB / 488.9 MB, free: 27.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.6154, allocations: 1.641 kB / 488.9 MB, free: 27.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.897e-06/0.6154, allocations: 1.031 kB / 488.9 MB, free: 27.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003196/0.6157, allocations: 0 / 488.9 MB, free: 27.63 MB / 378.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.01566/0.6314, allocations: 3.993 MB / 492.9 MB, free: 25.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.6315, allocations: 9.062 kB / 492.9 MB, free: 25.76 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003532/0.635, allocations: 0.7092 MB / 493.6 MB, free: 25.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/0.6513, allocations: 2.306 MB / 495.9 MB, free: 24.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00967/0.6611, allocations: 2.692 MB / 498.6 MB, free: 23.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004772/0.6616, allocations: 234.8 kB / 498.8 MB, free: 23.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003306/0.6649, allocations: 406.1 kB / 499.2 MB, free: 23.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0325/0.6975, allocations: 10 MB / 0.4973 GB, free: 17.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002013/0.6977, allocations: 40.25 kB / 0.4973 GB, free: 17.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/0.6989, allocations: 153.3 kB / 0.4975 GB, free: 17.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004936/0.7038, allocations: 1.844 MB / 0.4993 GB, free: 16.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02653/0.7304, allocations: 8.471 MB / 0.5075 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0776/0.8081, allocations: 39.24 MB / 0.5459 GB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01649/0.8246, allocations: 3.607 MB / 0.5494 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02138/0.8461, allocations: 7.182 MB / 0.5564 GB, free: 8.039 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.815e-05/0.8462, allocations: 47.5 kB / 0.5564 GB, free: 7.984 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 6.773e-06/0.8462, allocations: 0 / 0.5564 GB, free: 7.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=155): time 0.07353/0.9198, allocations: 14.45 MB / 0.5706 GB, free: 9.312 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001901/0.9217, allocations: 1.6 MB / 0.5721 GB, free: 7.543 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/0.9332, allocations: 4.12 MB / 0.5761 GB, free: 3.441 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000694/0.934, allocations: 49.7 kB / 0.5762 GB, free: 3.387 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004143/0.9382, allocations: 3.141 MB / 0.5793 GB, free: 252 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001465/0.9397, allocations: 0.63 MB / 0.5799 GB, free: 15.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000934/0.9407, allocations: 116 kB / 0.58 GB, free: 15.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006152/0.9413, allocations: 0.562 MB / 0.5805 GB, free: 14.94 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006706/0.9481, allocations: 2.057 MB / 0.5825 GB, free: 12.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01055/0.9587, allocations: 5.816 MB / 0.5882 GB, free: 5.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009627/0.9684, allocations: 3.373 MB / 0.5915 GB, free: 1.785 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001453/0.9686, allocations: 44 kB / 0.5916 GB, free: 1.742 MB / 458.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.04032/1.009, allocations: 9.354 MB / 0.6007 GB, free: 8.371 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/1.009, allocations: 60 kB / 0.6007 GB, free: 8.312 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02164/1.031, allocations: 3.566 MB / 0.6042 GB, free: 4.734 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02057/1.051, allocations: 2.285 MB / 0.6065 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008845/1.06, allocations: 1.396 MB / 0.6078 GB, free: 1.035 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01733/1.078, allocations: 6.646 MB / 0.6143 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007756/1.086, allocations: 404.2 kB / 0.6147 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001689/1.087, allocations: 376 kB / 0.6151 GB, free: 9.355 MB / 490.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): 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 prepare postOptimizeDAE: time 0.007628/1.095, allocations: 2.066 MB / 0.6171 GB, free: 7.277 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/1.096, allocations: 336.1 kB / 0.6174 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.109, allocations: 3.011 MB / 0.6203 GB, free: 3.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01061/1.119, allocations: 2.523 MB / 0.6228 GB, free: 1.367 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/1.119, allocations: 4 kB / 0.6228 GB, free: 1.363 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.948e-05/1.119, allocations: 7.969 kB / 0.6228 GB, free: 1.355 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3827/1.502, allocations: 9.401 MB / 0.632 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.031e-05/1.502, allocations: 4.438 kB / 0.632 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/1.505, allocations: 256.9 kB / 0.6322 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005888/1.511, allocations: 1.067 MB / 0.6333 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005107/1.511, allocations: 45.55 kB / 0.6333 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008227/1.519, allocations: 4.895 MB / 0.6381 GB, free: 149.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001192/1.521, allocations: 1.463 MB / 0.6395 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/1.535, allocations: 5.75 MB / 0.6451 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/1.537, allocations: 408.5 kB / 0.6455 GB, free: 145.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/1.538, allocations: 39 kB / 0.6456 GB, free: 145.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00336/1.541, allocations: 135.5 kB / 0.6457 GB, free: 145.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005553/1.542, allocations: 101.9 kB / 0.6458 GB, free: 145.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/1.542, allocations: 58.09 kB / 0.6459 GB, free: 145.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006478/1.549, allocations: 2.58 MB / 0.6484 GB, free: 144.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.549, allocations: 0 / 0.6484 GB, free: 144.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008114/1.557, allocations: 1.043 MB / 0.6494 GB, free: 144.4 MB / 490.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.01597/1.573, allocations: 7.127 MB / 0.6564 GB, free: 140.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0211/1.594, allocations: 5.501 MB / 0.6617 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/1.594, allocations: 1.062 kB / 0.6617 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009615/1.604, allocations: 2.085 MB / 0.6638 GB, free: 137.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005188/1.609, allocations: 423.2 kB / 0.6642 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1342/1.743, allocations: 128 MB / 0.7891 GB, free: 17.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006548/1.75, allocations: 3.294 MB / 0.7923 GB, free: 13.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008481/1.758, allocations: 1.879 MB / 0.7942 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004039/1.763, allocations: 1.863 MB / 0.796 GB, free: 10.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.163e-06/1.763, allocations: 0 / 0.796 GB, free: 10.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4991/2.262, allocations: 77.61 MB / 0.8718 GB, free: 118.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/2.262, allocations: 205.8 kB / 0.872 GB, free: 118 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.557/7.819, allocations: 0 / 0.872 GB, free: 118 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat