Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004189, allocations: 12 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3815, allocations: 54.87 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.1283/0.5099, allocations: 82.84 MB / 452.1 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05151/0.5615, allocations: 18.46 MB / 470.6 MB, free: 5.148 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01733/0.5788, allocations: 423 kB / 471 MB, free: 4.734 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01508/0.594, allocations: 4.297 MB / 475.3 MB, free: 428 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3986/0.9926, allocations: 11.91 MB / 487.2 MB, free: 3.73 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007206/0.9999, allocations: 1.251 MB / 488.4 MB, free: 3.715 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01133/1.011, allocations: 4.654 MB / 493.1 MB, free: 3.648 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01826/1.03, allocations: 9.13 MB / 0.4905 GB, free: 2.086 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005191/1.035, allocations: 2.121 MB / 0.4925 GB, free: 1.695 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005467/1.04, allocations: 2.693 MB / 0.4952 GB, free: 1.074 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002107/1.042, allocations: 285.2 kB / 0.4954 GB, free: 1.074 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004266/1.047, allocations: 0.9504 MB / 0.4964 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00522/1.052, allocations: 3.132 MB / 0.4994 GB, free: 232 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003329/1.055, allocations: 1.539 MB / 0.5009 GB, free: 200 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01627/1.072, allocations: 10.05 MB / 0.5107 GB, free: 10.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.072, allocations: 4 kB / 0.5107 GB, free: 10.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.105e-06/1.072, allocations: 0 / 0.5107 GB, free: 10.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00053/1.072, allocations: 0 / 0.5107 GB, free: 10.7 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.02641/1.099, allocations: 7.923 MB / 0.5185 GB, free: 4.328 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.099, allocations: 12.03 kB / 0.5185 GB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004705/1.104, allocations: 1.308 MB / 0.5198 GB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02179/1.125, allocations: 3.08 MB / 0.5228 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01661/1.142, allocations: 5.655 MB / 0.5283 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005729/1.143, allocations: 469.5 kB / 0.5287 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002866/1.146, allocations: 0.5919 MB / 0.5293 GB, free: 11.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05377/1.199, allocations: 18.9 MB / 0.5478 GB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000321/1.2, allocations: 82.2 kB / 0.5479 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001766/1.202, allocations: 289 kB / 0.5481 GB, free: 12.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009148/1.211, allocations: 3.439 MB / 0.5515 GB, free: 9.949 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05009/1.261, allocations: 14.75 MB / 0.5659 GB, free: 15.65 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1415/1.402, allocations: 70.65 MB / 0.6349 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02982/1.432, allocations: 6.139 MB / 0.6409 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03216/1.465, allocations: 10.98 MB / 0.6516 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.16e-05/1.465, allocations: 63.47 kB / 0.6517 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=238): time 6.653e-06/1.465, allocations: 0 / 0.6517 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=262): time 0.4067/1.871, allocations: 16.39 MB / 0.6677 GB, free: 213.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.237e-05/1.872, allocations: 154.2 kB / 0.6678 GB, free: 213.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01677/1.888, allocations: 7.065 MB / 0.6747 GB, free: 212.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005109/1.889, allocations: 70.38 kB / 0.6748 GB, free: 212.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00424/1.893, allocations: 5.322 MB / 0.68 GB, free: 209.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/1.895, allocations: 1.01 MB / 0.681 GB, free: 208.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008573/1.895, allocations: 181.4 kB / 0.6811 GB, free: 208.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005708/1.896, allocations: 0.6994 MB / 0.6818 GB, free: 207.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007495/1.904, allocations: 2.585 MB / 0.6844 GB, free: 207 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01114/1.915, allocations: 8.276 MB / 0.6924 GB, free: 198.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/1.926, allocations: 4.462 MB / 0.6968 GB, free: 196.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001856/1.926, allocations: 58.91 kB / 0.6968 GB, free: 196.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02669/1.953, allocations: 10.3 MB / 0.7069 GB, free: 193 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/1.953, allocations: 95.78 kB / 0.707 GB, free: 193 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002881/1.953, allocations: 203.2 kB / 0.7072 GB, free: 193 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/1.953, allocations: 293.2 kB / 0.7075 GB, free: 193 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01242/1.966, allocations: 2.112 MB / 0.7095 GB, free: 192 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004033/1.966, allocations: 400.3 kB / 0.7099 GB, free: 191.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009514/1.976, allocations: 453.5 kB / 0.7103 GB, free: 191.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001584/1.977, allocations: 0.5543 MB / 0.7109 GB, free: 190.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 920 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1136): * Single equations (assignments): 1125 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009263/1.987, allocations: 3.611 MB / 0.7144 GB, free: 187.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/1.988, allocations: 0.5784 MB / 0.715 GB, free: 186.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007525/1.996, allocations: 2.783 MB / 0.7177 GB, free: 184.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.778e-05/1.996, allocations: 29.64 kB / 0.7177 GB, free: 184.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/1.996, allocations: 0.875 kB / 0.7177 GB, free: 184.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.912e-05/1.996, allocations: 11.95 kB / 0.7177 GB, free: 184.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0549/2.051, allocations: 26.57 MB / 0.7437 GB, free: 157 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.937e-05/2.051, allocations: 52.19 kB / 0.7437 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003342/2.054, allocations: 0.5224 MB / 0.7442 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.295e-05/2.054, allocations: 76 kB / 0.7443 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002599/2.054, allocations: 122.9 kB / 0.7444 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.981e-05/2.055, allocations: 107.6 kB / 0.7445 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.008e-05/2.055, allocations: 83.62 kB / 0.7446 GB, free: 156 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008237/2.063, allocations: 5.229 MB / 0.7497 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/2.065, allocations: 0.6925 MB / 0.7504 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001639/2.067, allocations: 125.1 kB / 0.7505 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004637/2.071, allocations: 151.9 kB / 0.7507 GB, free: 149 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007833/2.072, allocations: 346.6 kB / 0.751 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002945/2.072, allocations: 153.3 kB / 0.7511 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01095/2.083, allocations: 4.475 MB / 0.7555 GB, free: 144 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.91e-07/2.084, allocations: 0 / 0.7555 GB, free: 144 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01156/2.095, allocations: 1.518 MB / 0.757 GB, free: 142.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * Number of states: 0 () * 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 (273): * Single equations (assignments): 270 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01005/2.105, allocations: 5.993 MB / 0.7628 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01464/2.12, allocations: 6.049 MB / 0.7688 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.525e-05/2.12, allocations: 8 kB / 0.7688 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003707/2.124, allocations: 1.48 MB / 0.7702 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007279/2.131, allocations: 0.864 MB / 0.771 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06701/2.198, allocations: 37.76 MB / 0.8079 GB, free: 83.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01218/2.21, allocations: 5.731 MB / 0.8135 GB, free: 78.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007477/2.218, allocations: 3.733 MB / 0.8172 GB, free: 74.27 MB / 0.5261 GB Notification: Performance of SimCode: time 2.205e-06/2.218, allocations: 0 / 0.8172 GB, free: 74.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.337/7.555, allocations: 136.7 MB / 0.9507 GB, free: 139.8 MB / 0.5261 GB