Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",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.01692/0.01693, allocations: 107.3 kB / 15.06 MB, free: 6.035 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.002141/0.00214, allocations: 180.6 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 2.012/2.012, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.3044/0.3044, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008029/0.0008093, allocations: 12 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1305, allocations: 54.87 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.4597/0.5903, allocations: 109.3 MB / 0.513 GB, free: 12.01 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.06934/0.6597, allocations: 23.85 MB / 0.5363 GB, free: 11.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02768/0.6874, allocations: 0.532 MB / 0.5368 GB, free: 11.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02261/0.7101, allocations: 5.661 MB / 0.5423 GB, free: 9.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06514/0.7753, allocations: 15.5 MB / 0.5575 GB, free: 10.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.7853, allocations: 1.396 MB / 0.5588 GB, free: 9.332 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0151/0.8005, allocations: 5.33 MB / 0.564 GB, free: 4.012 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02701/0.8275, allocations: 11.38 MB / 0.5751 GB, free: 8.617 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007256/0.8349, allocations: 2.472 MB / 0.5776 GB, free: 6.137 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008224/0.8431, allocations: 3.298 MB / 0.5808 GB, free: 2.828 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003033/0.8462, allocations: 376 kB / 0.5811 GB, free: 2.461 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005585/0.8519, allocations: 1.018 MB / 0.5821 GB, free: 1.441 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008113/0.86, allocations: 3.912 MB / 0.586 GB, free: 13.52 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004848/0.865, allocations: 1.968 MB / 0.5879 GB, free: 11.54 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02307/0.8881, allocations: 13.12 MB / 0.6007 GB, free: 14.39 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8882, allocations: 0 / 0.6007 GB, free: 14.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.8882, allocations: 0 / 0.6007 GB, free: 14.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006462/0.8888, allocations: 4 kB / 0.6007 GB, free: 14.39 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.03299/0.9218, allocations: 9.61 MB / 0.6101 GB, free: 4.684 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.9219, allocations: 8.031 kB / 0.6101 GB, free: 4.676 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006425/0.9283, allocations: 1.699 MB / 0.6117 GB, free: 2.961 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02557/0.954, allocations: 3.48 MB / 0.6151 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02064/0.9747, allocations: 6.391 MB / 0.6214 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009441/0.9757, allocations: 0.589 MB / 0.622 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00381/0.9795, allocations: 0.7668 MB / 0.6227 GB, free: 7.637 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7478/1.727, allocations: 24.62 MB / 0.6467 GB, free: 142.4 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004246/1.728, allocations: 80.59 kB / 0.6468 GB, free: 142.3 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003005/1.731, allocations: 372.4 kB / 0.6472 GB, free: 142.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01105/1.742, allocations: 4.529 MB / 0.6516 GB, free: 141.3 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06831/1.81, allocations: 19.38 MB / 0.6705 GB, free: 135.3 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1615/1.972, allocations: 85.95 MB / 0.7545 GB, free: 57.55 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03559/2.007, allocations: 7.847 MB / 0.7621 GB, free: 49.57 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03525/2.043, allocations: 13.28 MB / 0.7751 GB, free: 35.93 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/2.043, allocations: 72.72 kB / 0.7752 GB, free: 35.85 MB / 490.8 MB Notification: Performance of pre-optimization done (n=336): time 8.576e-06/2.043, allocations: 0 / 0.7752 GB, free: 35.85 MB / 490.8 MB Notification: Performance of matching and sorting (n=360): time 0.1353/2.178, allocations: 21.09 MB / 0.7958 GB, free: 14.65 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/2.178, allocations: 166.9 kB / 0.7959 GB, free: 14.46 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01629/2.195, allocations: 7.821 MB / 0.8036 GB, free: 6.672 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007248/2.195, allocations: 83.05 kB / 0.8036 GB, free: 6.586 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.3473/2.543, allocations: 6.767 MB / 0.8103 GB, free: 133.2 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002594/2.545, allocations: 1.356 MB / 0.8116 GB, free: 133.2 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001462/2.547, allocations: 217.7 kB / 0.8118 GB, free: 133.2 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001109/2.548, allocations: 0.7731 MB / 0.8125 GB, free: 132.9 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01319/2.561, allocations: 3.231 MB / 0.8157 GB, free: 132.8 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01903/2.58, allocations: 9.777 MB / 0.8252 GB, free: 124.2 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0139/2.594, allocations: 5.423 MB / 0.8305 GB, free: 122.2 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003583/2.595, allocations: 68 kB / 0.8306 GB, free: 122.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.03666/2.631, allocations: 12.74 MB / 0.843 GB, free: 117.6 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002597/2.632, allocations: 104.7 kB / 0.8431 GB, free: 117.6 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004985/2.632, allocations: 232.5 kB / 0.8434 GB, free: 117.6 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/2.633, allocations: 348.4 kB / 0.8437 GB, free: 117.6 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01696/2.65, allocations: 2.547 MB / 0.8462 GB, free: 117.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006684/2.651, allocations: 455.6 kB / 0.8466 GB, free: 117.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0118/2.662, allocations: 0.5199 MB / 0.8471 GB, free: 117 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002606/2.665, allocations: 0.6587 MB / 0.8478 GB, free: 116.9 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 (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.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[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.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[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.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[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.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.01286/2.678, allocations: 4.517 MB / 0.8522 GB, free: 114.9 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00165/2.68, allocations: 0.6604 MB / 0.8528 GB, free: 114.6 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/2.694, allocations: 4.091 MB / 0.8568 GB, free: 113 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001136/2.694, allocations: 39.52 kB / 0.8569 GB, free: 113 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.323e-05/2.694, allocations: 1.375 kB / 0.8569 GB, free: 113 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001068/2.694, allocations: 18.67 kB / 0.8569 GB, free: 113 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09522/2.789, allocations: 42.07 MB / 0.898 GB, free: 87.44 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002969/2.79, allocations: 89.97 kB / 0.898 GB, free: 87.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005823/2.795, allocations: 0.8669 MB / 0.8989 GB, free: 86.59 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001601/2.796, allocations: 132 kB / 0.899 GB, free: 86.46 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008273/2.797, allocations: 195.1 kB / 0.8992 GB, free: 86.28 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001409/2.797, allocations: 177.2 kB / 0.8994 GB, free: 86.13 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.522e-05/2.797, allocations: 143.4 kB / 0.8995 GB, free: 85.99 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01717/2.814, allocations: 25.85 MB / 0.9248 GB, free: 56.76 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002505/2.817, allocations: 0.8571 MB / 0.9256 GB, free: 55.93 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002067/2.819, allocations: 207.7 kB / 0.9258 GB, free: 55.74 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006146/2.825, allocations: 214.6 kB / 0.926 GB, free: 55.56 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00133/2.826, allocations: 0.5801 MB / 0.9266 GB, free: 55.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005477/2.827, allocations: 247.8 kB / 0.9268 GB, free: 54.85 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01194/2.839, allocations: 4.929 MB / 0.9316 GB, free: 50.81 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.403e-06/2.839, allocations: 0 / 0.9316 GB, free: 50.81 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0145/2.853, allocations: 1.904 MB / 0.9335 GB, free: 48.91 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 413 * 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 (455): * Single equations (assignments): 452 * 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.02222/2.876, allocations: 42.01 MB / 0.9745 GB, free: 4.223 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02049/2.896, allocations: 7.645 MB / 0.982 GB, free: 12.62 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.852e-05/2.896, allocations: 12 kB / 0.982 GB, free: 12.61 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.00641/2.903, allocations: 2.201 MB / 0.9841 GB, free: 10.43 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009159/2.912, allocations: 1.082 MB / 0.9852 GB, free: 9.379 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4669/3.379, allocations: 206 MB / 1.186 GB, free: 16.53 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01828/3.397, allocations: 7.163 MB / 1.193 GB, free: 15.53 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01826/3.415, allocations: 3.318 MB / 1.197 GB, free: 15.18 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01137/3.427, allocations: 4.746 MB / 1.201 GB, free: 11.37 MB / 0.5574 GB Notification: Performance of SimCode: time 1.382e-06/3.427, allocations: 0 / 1.201 GB, free: 11.37 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6953/4.122, allocations: 143.4 MB / 1.341 GB, free: 126.1 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/4.123, allocations: 178.4 kB / 1.341 GB, free: 125.9 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.851/12.97, allocations: 4 kB / 1.341 GB, free: 125.9 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat