Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForce",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.0175/0.01751, allocations: 106.1 kB / 15.06 MB, free: 6.027 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.002453/0.002454, allocations: 182 kB / 15.95 MB, free: 5.953 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.085/2.085, allocations: 194.5 MB / 211.2 MB, free: 11.04 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.2705/0.2705, allocations: 40.05 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006463/0.0006463, allocations: 16 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.121, allocations: 54.88 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.4285/0.5496, allocations: 82.83 MB / 498.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05114/0.6008, allocations: 18.46 MB / 0.5052 GB, free: 2.324 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02264/0.6235, allocations: 423.1 kB / 0.5056 GB, free: 2.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01567/0.6392, allocations: 4.288 MB / 0.5098 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0505/0.6898, allocations: 11.92 MB / 0.5214 GB, free: 11.14 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007913/0.6977, allocations: 1.25 MB / 0.5226 GB, free: 10.36 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01233/0.7101, allocations: 4.55 MB / 0.5271 GB, free: 7.688 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02079/0.731, allocations: 9.133 MB / 0.536 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006381/0.7374, allocations: 2.079 MB / 0.538 GB, free: 14.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006412/0.7439, allocations: 2.672 MB / 0.5406 GB, free: 12.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002201/0.7461, allocations: 288 kB / 0.5409 GB, free: 11.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00452/0.7507, allocations: 0.9558 MB / 0.5419 GB, free: 10.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006053/0.7568, allocations: 3.125 MB / 0.5449 GB, free: 7.668 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003465/0.7603, allocations: 1.54 MB / 0.5464 GB, free: 6.117 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01718/0.7775, allocations: 10.05 MB / 0.5562 GB, free: 12.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7776, allocations: 0 / 0.5562 GB, free: 12.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.7776, allocations: 3.938 kB / 0.5562 GB, free: 12.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004887/0.7781, allocations: 0 / 0.5562 GB, free: 12.04 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.02687/0.805, allocations: 7.93 MB / 0.564 GB, free: 4.035 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.805, allocations: 8.031 kB / 0.564 GB, free: 4.027 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005017/0.8101, allocations: 1.303 MB / 0.5653 GB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02177/0.8319, allocations: 3.089 MB / 0.5683 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01706/0.849, allocations: 5.651 MB / 0.5738 GB, free: 9.883 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006669/0.8497, allocations: 467.5 kB / 0.5742 GB, free: 9.426 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002876/0.8526, allocations: 0.5817 MB / 0.5748 GB, free: 8.844 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05508/0.9077, allocations: 18.87 MB / 0.5932 GB, free: 4.816 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003728/0.9082, allocations: 71.25 kB / 0.5933 GB, free: 4.746 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002476/0.9107, allocations: 295.7 kB / 0.5936 GB, free: 4.457 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009582/0.9203, allocations: 3.433 MB / 0.5969 GB, free: 1.023 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05229/0.9726, allocations: 14.75 MB / 0.6113 GB, free: 2.25 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7589/1.732, allocations: 70.65 MB / 0.6803 GB, free: 101.2 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02932/1.761, allocations: 6.145 MB / 0.6863 GB, free: 99.32 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03304/1.794, allocations: 10.98 MB / 0.6971 GB, free: 93.77 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/1.794, allocations: 57.55 kB / 0.6971 GB, free: 93.71 MB / 490.8 MB Notification: Performance of pre-optimization done (n=238): time 7.284e-06/1.794, allocations: 3.969 kB / 0.6971 GB, free: 93.71 MB / 490.8 MB Notification: Performance of matching and sorting (n=262): time 0.07459/1.869, allocations: 16.4 MB / 0.7131 GB, free: 86.76 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/1.869, allocations: 154.4 kB / 0.7133 GB, free: 86.6 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01602/1.885, allocations: 7.067 MB / 0.7202 GB, free: 84.18 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005052/1.886, allocations: 64.89 kB / 0.7202 GB, free: 84.12 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004601/1.89, allocations: 5.536 MB / 0.7256 GB, free: 79.45 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001372/1.892, allocations: 1.015 MB / 0.7266 GB, free: 78.61 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008017/1.892, allocations: 178.7 kB / 0.7268 GB, free: 78.47 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005289/1.893, allocations: 0.6929 MB / 0.7275 GB, free: 77.89 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006959/1.9, allocations: 2.581 MB / 0.73 GB, free: 76.66 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01085/1.911, allocations: 8.242 MB / 0.7381 GB, free: 67.53 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/1.921, allocations: 4.455 MB / 0.7424 GB, free: 63.94 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001556/1.922, allocations: 56 kB / 0.7425 GB, free: 63.89 MB / 490.8 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02717/1.949, allocations: 10.55 MB / 0.7528 GB, free: 53.34 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/1.949, allocations: 92 kB / 0.7528 GB, free: 53.25 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002767/1.949, allocations: 200 kB / 0.753 GB, free: 53.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003027/1.95, allocations: 299.9 kB / 0.7533 GB, free: 52.76 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0126/1.962, allocations: 2.109 MB / 0.7554 GB, free: 50.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003476/1.963, allocations: 399.1 kB / 0.7558 GB, free: 50.25 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009386/1.972, allocations: 451.1 kB / 0.7562 GB, free: 49.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001577/1.974, allocations: 0.5616 MB / 0.7567 GB, free: 49.26 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 920 * Number of states: 0 () * Number of discrete variables: 57 (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.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.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.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.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 (1136): * Single equations (assignments): 1125 * 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.008596/1.982, allocations: 3.606 MB / 0.7603 GB, free: 45.63 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001475/1.984, allocations: 0.5707 MB / 0.7608 GB, free: 45.05 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007135/1.991, allocations: 2.795 MB / 0.7635 GB, free: 42.24 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.092e-05/1.991, allocations: 24 kB / 0.7636 GB, free: 42.22 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/1.991, allocations: 5.688 kB / 0.7636 GB, free: 42.21 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.829e-05/1.991, allocations: 11.95 kB / 0.7636 GB, free: 42.2 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05475/2.046, allocations: 26.56 MB / 0.7895 GB, free: 14.9 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.703e-05/2.046, allocations: 60.03 kB / 0.7896 GB, free: 14.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003512/2.05, allocations: 0.5224 MB / 0.7901 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.772e-05/2.05, allocations: 76 kB / 0.7902 GB, free: 14.24 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003259/2.05, allocations: 120 kB / 0.7903 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.047e-05/2.05, allocations: 101.6 kB / 0.7904 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.055e-05/2.05, allocations: 87.62 kB / 0.7905 GB, free: 13.94 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/2.063, allocations: 14.76 MB / 0.8049 GB, free: 12.96 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002485/2.065, allocations: 0.7002 MB / 0.8056 GB, free: 12.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00196/2.067, allocations: 124 kB / 0.8057 GB, free: 12.11 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005/2.072, allocations: 143.4 kB / 0.8058 GB, free: 11.97 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009672/2.073, allocations: 354.5 kB / 0.8061 GB, free: 11.62 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003771/2.074, allocations: 154.7 kB / 0.8063 GB, free: 11.48 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01293/2.086, allocations: 4.479 MB / 0.8107 GB, free: 7.016 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.22e-07/2.087, allocations: 0 / 0.8107 GB, free: 7.016 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01201/2.099, allocations: 1.517 MB / 0.8122 GB, free: 5.504 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.3733/2.472, allocations: 25.45 MB / 0.837 GB, free: 128.1 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01517/2.487, allocations: 6.039 MB / 0.8429 GB, free: 127.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.176e-05/2.487, allocations: 6.469 kB / 0.8429 GB, free: 127.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003746/2.491, allocations: 1.487 MB / 0.8444 GB, free: 127.3 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007142/2.498, allocations: 0.8575 MB / 0.8452 GB, free: 127.3 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09722/2.595, allocations: 173.9 MB / 1.015 GB, free: 6.453 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01431/2.61, allocations: 5.73 MB / 1.021 GB, free: 4.637 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01569/2.626, allocations: 2.787 MB / 1.023 GB, free: 4.348 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008387/2.634, allocations: 3.658 MB / 1.027 GB, free: 1.312 MB / 0.5418 GB Notification: Performance of SimCode: time 1.493e-06/2.634, allocations: 0 / 1.027 GB, free: 1.312 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6325/3.267, allocations: 116 MB / 1.14 GB, free: 127.9 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/3.267, allocations: 170.9 kB / 1.14 GB, free: 127.6 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.448/10.71, allocations: 3.938 kB / 1.14 GB, free: 127.6 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat