Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.BodyShape.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.078/2.078, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004411, allocations: 16 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3661, allocations: 48.7 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.06234/0.4285, allocations: 37.84 MB / 369.1 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02855/0.4571, allocations: 9.418 MB / 378.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009099/0.4662, allocations: 187.5 kB / 378.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007301/0.4736, allocations: 1.905 MB / 380.6 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02227/0.4959, allocations: 5.47 MB / 386.1 MB, free: 7.574 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004007/0.5, allocations: 0.6083 MB / 386.7 MB, free: 6.965 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006526/0.5065, allocations: 2.411 MB / 389.1 MB, free: 4.547 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008744/0.5153, allocations: 3.997 MB / 393.1 MB, free: 492 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002773/0.5182, allocations: 1.008 MB / 394.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00301/0.5212, allocations: 1.281 MB / 395.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009457/0.5222, allocations: 132 kB / 395.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003067/0.5253, allocations: 0.9167 MB / 396.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002783/0.5282, allocations: 1.566 MB / 398 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.5297, allocations: 0.8233 MB / 398.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009016/0.5388, allocations: 5.387 MB / 404.2 MB, free: 5.336 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5388, allocations: 0 / 404.2 MB, free: 5.336 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.5388, allocations: 0 / 404.2 MB, free: 5.336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002298/0.5391, allocations: 0 / 404.2 MB, free: 5.336 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.0124/0.5515, allocations: 3.984 MB / 408.2 MB, free: 1.285 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/0.5516, allocations: 12.03 kB / 408.2 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002626/0.5542, allocations: 0.7111 MB / 408.9 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/0.5691, allocations: 2.276 MB / 411.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008012/0.5772, allocations: 2.694 MB / 413.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003772/0.5776, allocations: 234 kB / 414.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002317/0.5799, allocations: 403.4 kB / 414.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02904/0.609, allocations: 10.03 MB / 424.5 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002587/0.6093, allocations: 43.58 kB / 424.6 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001236/0.6106, allocations: 147.9 kB / 424.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00518/0.6158, allocations: 1.845 MB / 426.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02767/0.6435, allocations: 8.478 MB / 435.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07468/0.7182, allocations: 39.21 MB / 474.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01566/0.734, allocations: 3.593 MB / 477.9 MB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01837/0.7524, allocations: 7.163 MB / 485 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.026e-05/0.7525, allocations: 43.56 kB / 485.1 MB, free: 1.969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.55e-06/0.7525, allocations: 4 kB / 485.1 MB, free: 1.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=155): time 0.3746/1.127, allocations: 14.46 MB / 499.5 MB, free: 127.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002179/1.129, allocations: 1.594 MB / 0.4894 GB, free: 125.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009569/1.139, allocations: 4.124 MB / 0.4934 GB, free: 124.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004182/1.139, allocations: 54.53 kB / 0.4935 GB, free: 124.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002209/1.142, allocations: 3.068 MB / 0.4965 GB, free: 121.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001066/1.143, allocations: 0.6282 MB / 0.4971 GB, free: 121.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005061/1.143, allocations: 120.8 kB / 0.4972 GB, free: 121.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003438/1.144, allocations: 0.5626 MB / 0.4977 GB, free: 121 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005116/1.149, allocations: 2.025 MB / 0.4997 GB, free: 120.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007263/1.156, allocations: 5.819 MB / 0.5054 GB, free: 114.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007565/1.164, allocations: 3.346 MB / 0.5087 GB, free: 112.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/1.164, allocations: 42.39 kB / 0.5087 GB, free: 112.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.02296/1.187, allocations: 8.34 MB / 0.5169 GB, free: 104.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/1.187, allocations: 62.66 kB / 0.5169 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008758/1.196, allocations: 2.646 MB / 0.5195 GB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006361/1.202, allocations: 1.307 MB / 0.5208 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00737/1.21, allocations: 1.384 MB / 0.5221 GB, free: 99.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007427/1.217, allocations: 4.912 MB / 0.5269 GB, free: 94.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006744/1.224, allocations: 400 kB / 0.5273 GB, free: 93.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/1.225, allocations: 377.3 kB / 0.5277 GB, free: 93.5 MB / 410.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.00476/1.23, allocations: 2.065 MB / 0.5297 GB, free: 91.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000892/1.231, allocations: 336.1 kB / 0.53 GB, free: 91.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009621/1.24, allocations: 3.012 MB / 0.5329 GB, free: 88.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008346/1.249, allocations: 2.535 MB / 0.5354 GB, free: 85.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/1.249, allocations: 0 / 0.5354 GB, free: 85.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.331e-05/1.249, allocations: 11.97 kB / 0.5354 GB, free: 85.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02609/1.275, allocations: 9.394 MB / 0.5446 GB, free: 75.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.819e-05/1.275, allocations: 4 kB / 0.5446 GB, free: 75.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/1.277, allocations: 251.6 kB / 0.5448 GB, free: 75.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005726/1.283, allocations: 1.064 MB / 0.5459 GB, free: 74.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003701/1.284, allocations: 47.89 kB / 0.5459 GB, free: 74.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007827/1.291, allocations: 4.888 MB / 0.5507 GB, free: 69.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001121/1.293, allocations: 1.463 MB / 0.5521 GB, free: 67.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/1.307, allocations: 5.37 MB / 0.5574 GB, free: 62.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.308, allocations: 416.4 kB / 0.5578 GB, free: 61.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001406/1.309, allocations: 28 kB / 0.5578 GB, free: 61.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003254/1.313, allocations: 145.1 kB / 0.5579 GB, free: 61.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005318/1.313, allocations: 96.78 kB / 0.558 GB, free: 61.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002213/1.313, allocations: 51.98 kB / 0.5581 GB, free: 61.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005798/1.319, allocations: 2.579 MB / 0.5606 GB, free: 59.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.319, allocations: 0 / 0.5606 GB, free: 59.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00694/1.326, allocations: 1.032 MB / 0.5616 GB, free: 58.08 MB / 410.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.01418/1.34, allocations: 5.916 MB / 0.5674 GB, free: 52.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01408/1.355, allocations: 5.445 MB / 0.5727 GB, free: 46.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.355, allocations: 0 / 0.5727 GB, free: 46.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008539/1.363, allocations: 2.089 MB / 0.5747 GB, free: 44.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00478/1.368, allocations: 420.3 kB / 0.5751 GB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1056/1.474, allocations: 36.06 MB / 0.6104 GB, free: 4.234 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006187/1.48, allocations: 3.293 MB / 0.6136 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00458/1.485, allocations: 1.905 MB / 0.6154 GB, free: 15.01 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/1.485, allocations: 8 kB / 0.6154 GB, free: 15 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.934/6.418, allocations: 148.1 MB / 0.7601 GB, free: 17.57 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat