Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",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.011/0.011, allocations: 107.7 kB / 15.06 MB, free: 6.031 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.001246/0.001246, allocations: 181.9 kB / 15.95 MB, free: 5.957 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 1.961/1.961, allocations: 194.5 MB / 211.2 MB, free: 11.06 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.338/0.338, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005052/0.0005053, allocations: 15.98 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1174, allocations: 54.89 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.5205/0.6379, allocations: 109.3 MB / 0.513 GB, free: 11.91 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.06842/0.7064, allocations: 23.86 MB / 0.5363 GB, free: 11.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02593/0.7324, allocations: 0.5308 MB / 0.5368 GB, free: 11.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02226/0.7547, allocations: 5.661 MB / 0.5423 GB, free: 9.711 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06376/0.8185, allocations: 15.51 MB / 0.5575 GB, free: 10.62 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009943/0.8285, allocations: 1.396 MB / 0.5588 GB, free: 9.227 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01393/0.8425, allocations: 5.327 MB / 0.564 GB, free: 3.906 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02638/0.8689, allocations: 11.38 MB / 0.5751 GB, free: 8.527 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006823/0.8758, allocations: 2.476 MB / 0.5776 GB, free: 6.043 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007562/0.8834, allocations: 3.294 MB / 0.5808 GB, free: 2.738 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00257/0.886, allocations: 380 kB / 0.5811 GB, free: 2.367 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004764/0.8908, allocations: 1.014 MB / 0.5821 GB, free: 1.352 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007483/0.8983, allocations: 3.912 MB / 0.586 GB, free: 13.43 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004085/0.9025, allocations: 1.96 MB / 0.5879 GB, free: 11.46 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02202/0.9246, allocations: 13.13 MB / 0.6007 GB, free: 14.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.9246, allocations: 0 / 0.6007 GB, free: 14.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.9246, allocations: 0 / 0.6007 GB, free: 14.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005853/0.9252, allocations: 0 / 0.6007 GB, free: 14.3 MB / 474.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.03166/0.9569, allocations: 9.607 MB / 0.6101 GB, free: 4.598 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.957, allocations: 8.031 kB / 0.6101 GB, free: 4.59 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00597/0.9629, allocations: 1.711 MB / 0.6117 GB, free: 2.863 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02552/0.9885, allocations: 3.477 MB / 0.6151 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01958/1.008, allocations: 6.383 MB / 0.6214 GB, free: 8.906 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000888/1.009, allocations: 0.5929 MB / 0.622 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003581/1.013, allocations: 0.7668 MB / 0.6227 GB, free: 7.547 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6909/1.704, allocations: 24.63 MB / 0.6468 GB, free: 141.9 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004928/1.704, allocations: 80.59 kB / 0.6468 GB, free: 141.9 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003475/1.708, allocations: 369.4 kB / 0.6472 GB, free: 141.7 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01374/1.721, allocations: 4.536 MB / 0.6516 GB, free: 140.9 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.068/1.79, allocations: 19.38 MB / 0.6705 GB, free: 134.8 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2151/2.005, allocations: 85.95 MB / 0.7545 GB, free: 57.36 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03548/2.04, allocations: 7.798 MB / 0.7621 GB, free: 49.43 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03739/2.078, allocations: 13.27 MB / 0.7751 GB, free: 35.8 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.902e-05/2.078, allocations: 68.78 kB / 0.7751 GB, free: 35.72 MB / 490.8 MB Notification: Performance of pre-optimization done (n=336): time 7.414e-06/2.078, allocations: 0 / 0.7751 GB, free: 35.72 MB / 490.8 MB Notification: Performance of matching and sorting (n=360): time 0.0922/2.17, allocations: 21.09 MB / 0.7957 GB, free: 14.52 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/2.17, allocations: 166.9 kB / 0.7959 GB, free: 14.32 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01797/2.188, allocations: 7.823 MB / 0.8035 GB, free: 6.535 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007564/2.189, allocations: 84.36 kB / 0.8036 GB, free: 6.449 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.3438/2.533, allocations: 6.764 MB / 0.8102 GB, free: 132.9 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001925/2.535, allocations: 1.359 MB / 0.8115 GB, free: 132.9 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/2.536, allocations: 216.5 kB / 0.8117 GB, free: 132.9 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0006745/2.537, allocations: 0.7713 MB / 0.8125 GB, free: 132.5 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009503/2.546, allocations: 3.235 MB / 0.8156 GB, free: 132.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01483/2.561, allocations: 9.774 MB / 0.8252 GB, free: 124 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01419/2.575, allocations: 5.429 MB / 0.8305 GB, free: 122.1 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003446/2.576, allocations: 67.03 kB / 0.8306 GB, free: 122.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.05193/2.628, allocations: 12.74 MB / 0.843 GB, free: 117.5 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004705/2.628, allocations: 104.5 kB / 0.8431 GB, free: 117.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009105/2.629, allocations: 232.2 kB / 0.8433 GB, free: 117.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009909/2.63, allocations: 341.3 kB / 0.8436 GB, free: 117.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.026/2.656, allocations: 2.548 MB / 0.8461 GB, free: 117.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/2.657, allocations: 454.4 kB / 0.8466 GB, free: 117.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01849/2.676, allocations: 0.5141 MB / 0.8471 GB, free: 116.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003531/2.679, allocations: 0.6559 MB / 0.8477 GB, free: 116.8 MB / 490.8 MB 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.01867/2.698, allocations: 4.528 MB / 0.8521 GB, free: 114.8 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002617/2.701, allocations: 0.6601 MB / 0.8528 GB, free: 114.4 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01921/2.72, allocations: 4.086 MB / 0.8568 GB, free: 112.8 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001145/2.72, allocations: 36.78 kB / 0.8568 GB, free: 112.8 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.583e-05/2.72, allocations: 1.375 kB / 0.8568 GB, free: 112.8 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.239e-05/2.72, allocations: 18.06 kB / 0.8568 GB, free: 112.8 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.117/2.837, allocations: 49.28 MB / 0.9049 GB, free: 82.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002532/2.838, allocations: 73 kB / 0.905 GB, free: 82.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005541/2.843, allocations: 0.7481 MB / 0.9057 GB, free: 81.54 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001341/2.843, allocations: 108 kB / 0.9058 GB, free: 81.43 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007878/2.844, allocations: 169.2 kB / 0.906 GB, free: 81.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001118/2.844, allocations: 139.4 kB / 0.9061 GB, free: 81.13 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-05/2.844, allocations: 115.5 kB / 0.9062 GB, free: 81.02 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/2.86, allocations: 21.73 MB / 0.9275 GB, free: 56.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002438/2.863, allocations: 0.8123 MB / 0.9283 GB, free: 55.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002104/2.865, allocations: 171.3 kB / 0.9284 GB, free: 55.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006286/2.871, allocations: 219.9 kB / 0.9286 GB, free: 54.92 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001206/2.873, allocations: 495.9 kB / 0.9291 GB, free: 54.44 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004536/2.873, allocations: 212 kB / 0.9293 GB, free: 54.23 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01189/2.885, allocations: 4.924 MB / 0.9341 GB, free: 49.34 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.264e-06/2.885, allocations: 0 / 0.9341 GB, free: 49.34 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01384/2.899, allocations: 1.902 MB / 0.936 GB, free: 47.45 MB / 490.8 MB 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.0204/2.919, allocations: 34.91 MB / 0.9701 GB, free: 10.04 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01926/2.939, allocations: 7.663 MB / 0.9775 GB, free: 2.414 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 6.263e-05/2.939, allocations: 16.12 kB / 0.9776 GB, free: 2.398 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005666/2.945, allocations: 2.139 MB / 0.9797 GB, free: 284 kB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009323/2.954, allocations: 1.015 MB / 0.9806 GB, free: 15.29 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4939/3.448, allocations: 208.8 MB / 1.185 GB, free: 29.77 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01902/3.467, allocations: 7.131 MB / 1.191 GB, free: 28.77 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01754/3.485, allocations: 3.312 MB / 1.195 GB, free: 28.42 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01098/3.496, allocations: 4.753 MB / 1.199 GB, free: 25.84 MB / 0.573 GB Notification: Performance of SimCode: time 2.414e-06/3.496, allocations: 0 / 1.199 GB, free: 25.84 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7591/4.255, allocations: 140.4 MB / 1.337 GB, free: 163.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/4.255, allocations: 178.4 kB / 1.337 GB, free: 163.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.566/12.82, allocations: 0 / 1.337 GB, free: 163.7 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat