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.CutForceAndTorque1.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.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004531, allocations: 12 kB / 314.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3713, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.5313/0.9026, allocations: 109.3 MB / 478.5 MB, free: 232 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.062/0.9647, allocations: 23.85 MB / 0.4906 GB, free: 15.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02549/0.9903, allocations: 0.5322 MB / 0.4911 GB, free: 15.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02/1.01, allocations: 5.662 MB / 0.4967 GB, free: 13.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06124/1.072, allocations: 15.51 MB / 0.5118 GB, free: 8.477 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009401/1.081, allocations: 1.399 MB / 0.5132 GB, free: 8.102 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01369/1.095, allocations: 5.437 MB / 0.5185 GB, free: 6.871 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02382/1.119, allocations: 11.38 MB / 0.5296 GB, free: 1.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006844/1.126, allocations: 2.513 MB / 0.5321 GB, free: 15.48 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007381/1.133, allocations: 3.319 MB / 0.5353 GB, free: 12.77 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002789/1.136, allocations: 380 kB / 0.5357 GB, free: 12.39 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005174/1.141, allocations: 1.03 MB / 0.5367 GB, free: 11.52 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007017/1.148, allocations: 3.903 MB / 0.5405 GB, free: 8.383 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00418/1.152, allocations: 1.961 MB / 0.5424 GB, free: 7.336 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02093/1.173, allocations: 13.12 MB / 0.5552 GB, free: 11.94 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.173, allocations: 0 / 0.5552 GB, free: 11.94 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.173, allocations: 0 / 0.5552 GB, free: 11.94 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006004/1.174, allocations: 0 / 0.5552 GB, free: 11.94 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03125/1.205, allocations: 9.602 MB / 0.5646 GB, free: 3.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/1.205, allocations: 12.03 kB / 0.5646 GB, free: 3.078 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005947/1.211, allocations: 1.703 MB / 0.5663 GB, free: 2.066 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02489/1.236, allocations: 3.474 MB / 0.5697 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01926/1.256, allocations: 6.397 MB / 0.5759 GB, free: 9.715 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008867/1.257, allocations: 0.5986 MB / 0.5765 GB, free: 9.379 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003813/1.26, allocations: 0.7653 MB / 0.5772 GB, free: 8.879 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07413/1.335, allocations: 24.69 MB / 0.6013 GB, free: 3.098 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004472/1.335, allocations: 75.34 kB / 0.6014 GB, free: 3.023 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003419/1.338, allocations: 368.5 kB / 0.6018 GB, free: 2.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01268/1.351, allocations: 4.541 MB / 0.6062 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0696/1.421, allocations: 19.39 MB / 0.6251 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9891/2.41, allocations: 85.93 MB / 0.7091 GB, free: 51.34 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03681/2.447, allocations: 7.774 MB / 0.7166 GB, free: 50.6 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0385/2.485, allocations: 13.29 MB / 0.7296 GB, free: 47.19 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.046e-05/2.486, allocations: 73.64 kB / 0.7297 GB, free: 47.14 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=336): time 8.365e-06/2.486, allocations: 0 / 0.7297 GB, free: 47.14 MB / 0.5262 GB Notification: Performance of matching and sorting (n=360): time 0.08933/2.575, allocations: 21.08 MB / 0.7503 GB, free: 40.6 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.757e-05/2.575, allocations: 168.4 kB / 0.7504 GB, free: 40.44 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0168/2.592, allocations: 7.83 MB / 0.7581 GB, free: 39.72 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007536/2.593, allocations: 83.62 kB / 0.7582 GB, free: 39.69 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.005182/2.598, allocations: 6.527 MB / 0.7645 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001904/2.6, allocations: 1.355 MB / 0.7659 GB, free: 34.45 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/2.601, allocations: 218.8 kB / 0.7661 GB, free: 34.45 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0007514/2.602, allocations: 0.7726 MB / 0.7668 GB, free: 33.99 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009113/2.611, allocations: 3.237 MB / 0.77 GB, free: 33.41 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01313/2.624, allocations: 9.816 MB / 0.7796 GB, free: 21.82 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01316/2.637, allocations: 5.428 MB / 0.7849 GB, free: 18.29 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002335/2.637, allocations: 71.31 kB / 0.7849 GB, free: 18.23 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.03316/2.671, allocations: 12.49 MB / 0.7971 GB, free: 10 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000186/2.671, allocations: 104 kB / 0.7972 GB, free: 9.898 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003321/2.671, allocations: 232 kB / 0.7975 GB, free: 9.672 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003394/2.672, allocations: 344 kB / 0.7978 GB, free: 9.336 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0155/2.687, allocations: 2.55 MB / 0.8003 GB, free: 7.094 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004743/2.688, allocations: 459.6 kB / 0.8007 GB, free: 6.742 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/2.699, allocations: 0.5175 MB / 0.8012 GB, free: 6.391 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002038/2.701, allocations: 0.6538 MB / 0.8019 GB, free: 5.824 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1060 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[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 (1374): * Single equations (assignments): 1363 * 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.01098/2.712, allocations: 4.521 MB / 0.8063 GB, free: 3.055 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001542/2.714, allocations: 0.6668 MB / 0.8069 GB, free: 2.383 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/2.726, allocations: 4.083 MB / 0.8109 GB, free: 15.67 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.051e-05/2.726, allocations: 43.12 kB / 0.811 GB, free: 15.63 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/2.726, allocations: 0.5469 kB / 0.811 GB, free: 15.63 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-05/2.726, allocations: 15.94 kB / 0.811 GB, free: 15.61 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1193/2.845, allocations: 49.27 MB / 0.8591 GB, free: 2.543 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002056/2.846, allocations: 72.94 kB / 0.8592 GB, free: 2.473 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005853/2.851, allocations: 0.7496 MB / 0.8599 GB, free: 1.789 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001673/2.852, allocations: 109 kB / 0.86 GB, free: 1.684 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007368/2.852, allocations: 171.9 kB / 0.8602 GB, free: 1.516 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001665/2.853, allocations: 137.4 kB / 0.8603 GB, free: 1.41 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001107/2.853, allocations: 115.7 kB / 0.8604 GB, free: 1.328 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/2.869, allocations: 7.315 MB / 0.8675 GB, free: 8.852 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002765/2.872, allocations: 0.8085 MB / 0.8683 GB, free: 8.016 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002479/2.875, allocations: 175.9 kB / 0.8685 GB, free: 7.844 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006533/2.881, allocations: 215.9 kB / 0.8687 GB, free: 7.633 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00129/2.882, allocations: 491.6 kB / 0.8692 GB, free: 7.215 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000507/2.883, allocations: 204.7 kB / 0.8694 GB, free: 7.016 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.01385/2.897, allocations: 4.938 MB / 0.8742 GB, free: 2.113 MB / 0.5887 GB Notification: Performance of sort global known variables: time 7.92e-07/2.897, allocations: 4 kB / 0.8742 GB, free: 2.109 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.01376/2.911, allocations: 1.894 MB / 0.876 GB, free: 228 kB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 334 * 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 (380): * Single equations (assignments): 377 * 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.01861/2.929, allocations: 8.139 MB / 0.884 GB, free: 6.973 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.02141/2.951, allocations: 7.656 MB / 0.8915 GB, free: 76 kB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 7.588e-05/2.951, allocations: 14 kB / 0.8915 GB, free: 64 kB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.4011/3.352, allocations: 2.132 MB / 0.8936 GB, free: 277.6 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009293/3.361, allocations: 1.03 MB / 0.8946 GB, free: 277.6 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08969/3.451, allocations: 51.97 MB / 0.9453 GB, free: 236.3 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01623/3.467, allocations: 7.129 MB / 0.9523 GB, free: 231.9 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01088/3.478, allocations: 4.842 MB / 0.957 GB, free: 227 MB / 0.6043 GB Notification: Performance of SimCode: time 1.052e-06/3.478, allocations: 0 / 0.957 GB, free: 227 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.49/8.969, allocations: 170.5 MB / 1.124 GB, free: 56.26 MB / 0.6043 GB