Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01112/0.01113, allocations: 106 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001174/0.001175, allocations: 166.1 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.758/1.758, allocations: 170.9 MB / 187.6 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2663/0.2663, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005158, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1019, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.06966/0.1716, allocations: 44.78 MB / 417.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0281/0.1998, allocations: 9.993 MB / 427.1 MB, free: 5.93 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00896/0.2088, allocations: 207.6 kB / 427.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008641/0.2175, allocations: 2.322 MB / 429.6 MB, free: 3.395 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3209/0.5385, allocations: 6.393 MB / 436 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.5419, allocations: 327.1 kB / 436.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004756/0.5467, allocations: 1.562 MB / 437.9 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008622/0.5554, allocations: 3.883 MB / 441.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.5578, allocations: 0.7027 MB / 442.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002729/0.5605, allocations: 0.9444 MB / 443.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009997/0.5616, allocations: 122.2 kB / 443.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.5638, allocations: 0.5385 MB / 444 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00248/0.5664, allocations: 1.218 MB / 445.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.568, allocations: 0.6817 MB / 445.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007866/0.5759, allocations: 4.64 MB / 450.6 MB, free: 9.523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5759, allocations: 0 / 450.6 MB, free: 9.523 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.5759, allocations: 2.594 kB / 450.6 MB, free: 9.523 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002778/0.5762, allocations: 3.938 kB / 450.6 MB, free: 9.52 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: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.0106/0.5868, allocations: 3.11 MB / 453.7 MB, free: 7.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.5869, allocations: 8.281 kB / 453.7 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002713/0.5896, allocations: 0.6368 MB / 454.4 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/0.6024, allocations: 2.055 MB / 456.4 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005774/0.6082, allocations: 1.607 MB / 458 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002665/0.6086, allocations: 209.7 kB / 458.2 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001624/0.6102, allocations: 262.3 kB / 458.5 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02377/0.634, allocations: 8.379 MB / 466.9 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/0.6342, allocations: 23.31 kB / 466.9 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009329/0.6351, allocations: 119.8 kB / 467 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004624/0.6398, allocations: 1.76 MB / 468.8 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02189/0.6617, allocations: 7.053 MB / 475.8 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05748/0.7192, allocations: 25.85 MB / 0.4899 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00936/0.7287, allocations: 2.551 MB / 0.4924 GB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01349/0.7422, allocations: 4.478 MB / 0.4968 GB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.7423, allocations: 42.31 kB / 0.4968 GB, free: 5.254 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 5.35e-06/0.7423, allocations: 4 kB / 0.4968 GB, free: 5.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=120): time 0.01266/0.755, allocations: 2.974 MB / 0.4997 GB, free: 2.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.7551, allocations: 64.41 kB / 0.4998 GB, free: 2.695 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004407/0.7595, allocations: 2.217 MB / 0.5019 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002133/0.7598, allocations: 39.89 kB / 0.502 GB, free: 0.957 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002349/0.7621, allocations: 2.306 MB / 0.5042 GB, free: 14.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008453/0.763, allocations: 457 kB / 0.5047 GB, free: 14.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/0.7634, allocations: 71.52 kB / 0.5047 GB, free: 14.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003764/0.7638, allocations: 474 kB / 0.5052 GB, free: 14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003523/0.7674, allocations: 1.11 MB / 0.5063 GB, free: 12.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005602/0.773, allocations: 3.236 MB / 0.5094 GB, free: 8.629 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005144/0.7782, allocations: 1.885 MB / 0.5113 GB, free: 6.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.887e-05/0.7784, allocations: 20 kB / 0.5113 GB, free: 6.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.01286/0.7913, allocations: 4.273 MB / 0.5155 GB, free: 2.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.73e-05/0.7914, allocations: 36.62 kB / 0.5155 GB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/0.7915, allocations: 76 kB / 0.5156 GB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001725/0.7917, allocations: 112 kB / 0.5157 GB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0053/0.797, allocations: 0.8056 MB / 0.5165 GB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001869/0.7973, allocations: 148.8 kB / 0.5166 GB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004139/0.8014, allocations: 0.4967 MB / 0.5171 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000858/0.8023, allocations: 223.7 kB / 0.5173 GB, free: 1.188 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 344 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (447): * Single equations (assignments): 442 * 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.005097/0.8075, allocations: 1.704 MB / 0.519 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005159/0.808, allocations: 189.5 kB / 0.5191 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004636/0.8126, allocations: 1.51 MB / 0.5206 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.166e-05/0.8127, allocations: 12 kB / 0.5206 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.8128, allocations: 0 / 0.5206 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.8128, allocations: 7.984 kB / 0.5206 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0222/0.835, allocations: 7.364 MB / 0.5278 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.245e-05/0.8351, allocations: 16 kB / 0.5278 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/0.8368, allocations: 190.9 kB / 0.528 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.58e-05/0.8369, allocations: 20 kB / 0.528 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/0.8371, allocations: 39.98 kB / 0.5281 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-05/0.8371, allocations: 26.84 kB / 0.5281 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.198e-05/0.8371, allocations: 19.88 kB / 0.5281 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005266/0.8424, allocations: 3.183 MB / 0.5312 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009474/0.8434, allocations: 332.2 kB / 0.5316 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007252/0.8442, allocations: 39.98 kB / 0.5316 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/0.846, allocations: 47.88 kB / 0.5316 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004081/0.8465, allocations: 112.3 kB / 0.5317 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/0.8466, allocations: 55.98 kB / 0.5318 GB, free: 1.637 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004394/0.851, allocations: 1.542 MB / 0.5333 GB, free: 80 kB / 394.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.8511, allocations: 0 / 0.5333 GB, free: 80 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.005275/0.8564, allocations: 0.9178 MB / 0.5342 GB, free: 15.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.007371/0.8638, allocations: 7.684 MB / 0.5417 GB, free: 7.059 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007345/0.8712, allocations: 2.594 MB / 0.5442 GB, free: 4.547 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/0.8713, allocations: 0 / 0.5442 GB, free: 4.547 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002011/0.8733, allocations: 0.6907 MB / 0.5449 GB, free: 3.859 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.8758, allocations: 305.6 kB / 0.5452 GB, free: 3.559 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3571/1.233, allocations: 64.39 MB / 0.6081 GB, free: 162.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007938/1.241, allocations: 2.884 MB / 0.6109 GB, free: 161.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006412/1.247, allocations: 1.164 MB / 0.612 GB, free: 161.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003661/1.251, allocations: 1.427 MB / 0.6134 GB, free: 161.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.334e-06/1.251, allocations: 0 / 0.6134 GB, free: 161.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1191/1.37, allocations: 46.32 MB / 0.6587 GB, free: 126.6 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/1.371, allocations: 182.4 kB / 0.6588 GB, free: 126.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.099/5.47, allocations: 0 / 0.6588 GB, free: 126.4 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat