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.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.356/2.356, allocations: 234.9 MB / 250.4 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.0004551, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3484, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.05263/0.4011, allocations: 32.01 MB / 401.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02134/0.4225, allocations: 7.39 MB / 408.7 MB, free: 3.195 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006368/0.429, allocations: 151.7 kB / 408.8 MB, free: 3.047 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006289/0.4353, allocations: 1.645 MB / 410.5 MB, free: 1.395 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0186/0.454, allocations: 4.636 MB / 415.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.4564, allocations: 259.6 kB / 415.4 MB, free: 12.49 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004122/0.4606, allocations: 1.379 MB / 416.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00679/0.4675, allocations: 3.01 MB / 419.7 MB, free: 8.039 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.4691, allocations: 0.5995 MB / 420.3 MB, free: 7.438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.471, allocations: 0.7863 MB / 421.1 MB, free: 6.648 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005594/0.4716, allocations: 100 kB / 421.2 MB, free: 6.551 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.4733, allocations: 0.5189 MB / 421.7 MB, free: 6.031 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001766/0.4751, allocations: 0.9819 MB / 422.7 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.4762, allocations: 0.5662 MB / 423.3 MB, free: 4.473 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006396/0.4826, allocations: 3.726 MB / 427 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4827, allocations: 0 / 427 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.726e-06/0.4827, allocations: 0 / 427 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001723/0.4829, allocations: 0 / 427 MB, free: 0.7383 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.008044/0.491, allocations: 2.64 MB / 429.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.491, allocations: 8.031 kB / 429.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001741/0.4928, allocations: 0.5291 MB / 430.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.5044, allocations: 1.942 MB / 432.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004494/0.509, allocations: 1.382 MB / 433.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/0.5093, allocations: 164 kB / 433.7 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.5103, allocations: 203.9 kB / 433.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0188/0.5291, allocations: 6.992 MB / 440.9 MB, free: 2.414 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.246e-05/0.5293, allocations: 15.88 kB / 440.9 MB, free: 2.398 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007524/0.5301, allocations: 95.89 kB / 441 MB, free: 2.305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004319/0.5344, allocations: 1.532 MB / 442.5 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01897/0.5534, allocations: 5.969 MB / 448.5 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04926/0.6027, allocations: 22.17 MB / 470.7 MB, free: 4.016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007746/0.6105, allocations: 2.198 MB / 472.9 MB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3213/0.9319, allocations: 3.969 MB / 476.8 MB, free: 92.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.932, allocations: 38.19 kB / 476.9 MB, free: 92.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 4.659e-06/0.932, allocations: 1.094 kB / 476.9 MB, free: 92.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.01026/0.9423, allocations: 2.507 MB / 479.4 MB, free: 92.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.9424, allocations: 63.03 kB / 479.4 MB, free: 92.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003892/0.9463, allocations: 2.022 MB / 481.5 MB, free: 91.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.9465, allocations: 39.05 kB / 481.5 MB, free: 91.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.9478, allocations: 2.011 MB / 483.5 MB, free: 89.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004402/0.9483, allocations: 381.1 kB / 483.9 MB, free: 89.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.9485, allocations: 61.25 kB / 483.9 MB, free: 89.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.9487, allocations: 455.7 kB / 484.4 MB, free: 89.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/0.951, allocations: 0.9747 MB / 485.4 MB, free: 88.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003136/0.9541, allocations: 2.961 MB / 488.3 MB, free: 85.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003405/0.9576, allocations: 1.702 MB / 490 MB, free: 85.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.96e-05/0.9577, allocations: 26.38 kB / 490 MB, free: 85.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=432) (initialization): time 0.008122/0.9658, allocations: 3.789 MB / 493.8 MB, free: 83.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.9659, allocations: 36 kB / 493.9 MB, free: 83.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.885e-05/0.966, allocations: 68 kB / 493.9 MB, free: 83.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001093/0.9661, allocations: 104.8 kB / 494 MB, free: 83.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003814/0.9699, allocations: 0.7173 MB / 494.8 MB, free: 82.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001048/0.97, allocations: 149.9 kB / 494.9 MB, free: 82.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002779/0.9728, allocations: 450.8 kB / 495.3 MB, free: 81.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003209/0.9732, allocations: 201 kB / 495.5 MB, free: 81.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 393 * Array equations: 5 * 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.002839/0.976, allocations: 1.461 MB / 497 MB, free: 80.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003173/0.9764, allocations: 169.8 kB / 497.2 MB, free: 80.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/0.9791, allocations: 1.232 MB / 498.4 MB, free: 79.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/0.9792, allocations: 9.078 kB / 498.4 MB, free: 79.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.9792, allocations: 0.875 kB / 498.4 MB, free: 79.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.9792, allocations: 7.703 kB / 498.4 MB, free: 79.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.9897, allocations: 5.019 MB / 0.4916 GB, free: 74.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.9898, allocations: 8 kB / 0.4916 GB, free: 74.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.9909, allocations: 143.7 kB / 0.4918 GB, free: 73.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.882e-05/0.9909, allocations: 19.89 kB / 0.4918 GB, free: 73.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.908e-05/0.991, allocations: 29 kB / 0.4918 GB, free: 73.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.604e-05/0.991, allocations: 19.92 kB / 0.4918 GB, free: 73.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.991, allocations: 15.94 kB / 0.4919 GB, free: 73.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.9935, allocations: 1.575 MB / 0.4934 GB, free: 72.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/0.9941, allocations: 278.4 kB / 0.4937 GB, free: 71.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/0.9944, allocations: 32.66 kB / 0.4937 GB, free: 71.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009998/0.9954, allocations: 45.3 kB / 0.4937 GB, free: 71.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.9956, allocations: 84.45 kB / 0.4938 GB, free: 71.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.35e-05/0.9957, allocations: 39.98 kB / 0.4939 GB, free: 71.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002508/0.9982, allocations: 1.308 MB / 0.4951 GB, free: 70.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.9983, allocations: 0 / 0.4951 GB, free: 70.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00381/1.002, allocations: 0.7766 MB / 0.4959 GB, free: 69.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.003045/1.005, allocations: 2.181 MB / 0.498 GB, free: 67.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00474/1.01, allocations: 2.264 MB / 0.5002 GB, free: 64.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.01, allocations: 0 / 0.5002 GB, free: 64.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/1.011, allocations: 0.5612 MB / 0.5008 GB, free: 64.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/1.013, allocations: 240.6 kB / 0.501 GB, free: 64.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01943/1.032, allocations: 11.5 MB / 0.5122 GB, free: 51.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003286/1.035, allocations: 2.518 MB / 0.5147 GB, free: 48.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00218/1.038, allocations: 1.183 MB / 0.5159 GB, free: 47.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/1.038, allocations: 0 / 0.5159 GB, free: 47.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.261/4.299, allocations: 48.24 MB / 0.563 GB, free: 15.23 MB / 410.7 MB