Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01107/0.01108, allocations: 104.7 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.1.mo): time 0.001167/0.001167, allocations: 173.7 kB / 15.93 MB, free: 5.961 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.676/1.676, allocations: 170.9 MB / 187.6 MB, free: 0.9961 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.2697/0.2697, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004643, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.09353, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.4356/0.5292, allocations: 82.82 MB / 455.1 MB, free: 8.832 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04859/0.5779, allocations: 18.46 MB / 473.6 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01913/0.597, allocations: 418.3 kB / 474 MB, free: 5.969 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01444/0.6115, allocations: 4.293 MB / 478.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04693/0.6585, allocations: 11.91 MB / 490.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008108/0.6667, allocations: 1.266 MB / 491.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01416/0.6809, allocations: 4.556 MB / 496 MB, free: 8.184 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0268/0.7077, allocations: 9.126 MB / 0.4933 GB, free: 14.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007087/0.7149, allocations: 2.079 MB / 0.4953 GB, free: 12.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007919/0.7229, allocations: 2.672 MB / 0.4979 GB, free: 10.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00256/0.7255, allocations: 284 kB / 0.4982 GB, free: 9.941 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005415/0.731, allocations: 0.9559 MB / 0.4991 GB, free: 8.984 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007691/0.7387, allocations: 3.121 MB / 0.5022 GB, free: 5.855 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004282/0.7431, allocations: 1.543 MB / 0.5037 GB, free: 4.301 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01904/0.7622, allocations: 10.05 MB / 0.5135 GB, free: 10.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7622, allocations: 0 / 0.5135 GB, free: 10.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.576e-06/0.7622, allocations: 0 / 0.5135 GB, free: 10.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004492/0.7627, allocations: 4 kB / 0.5135 GB, free: 10.22 MB / 378.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.02761/0.7903, allocations: 7.919 MB / 0.5212 GB, free: 2.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.7904, allocations: 12.02 kB / 0.5212 GB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004694/0.7951, allocations: 1.306 MB / 0.5225 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02239/0.8175, allocations: 3.085 MB / 0.5255 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01726/0.8348, allocations: 5.647 MB / 0.5311 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007342/0.8356, allocations: 467.5 kB / 0.5315 GB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003153/0.8388, allocations: 0.5895 MB / 0.5321 GB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05681/0.8957, allocations: 18.86 MB / 0.5505 GB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000387/0.8961, allocations: 75.31 kB / 0.5506 GB, free: 2.918 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002466/0.8986, allocations: 283.7 kB / 0.5508 GB, free: 2.641 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00966/0.9083, allocations: 3.445 MB / 0.5542 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05206/0.9604, allocations: 14.75 MB / 0.5686 GB, free: 440 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7097/1.67, allocations: 70.64 MB / 0.6376 GB, free: 122.8 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0281/1.698, allocations: 6.144 MB / 0.6436 GB, free: 120.9 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03/1.728, allocations: 10.99 MB / 0.6543 GB, free: 115.1 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/1.729, allocations: 66.42 kB / 0.6544 GB, free: 115.1 MB / 458.8 MB Notification: Performance of pre-optimization done (n=238): time 6.542e-06/1.729, allocations: 0 / 0.6544 GB, free: 115.1 MB / 458.8 MB Notification: Performance of matching and sorting (n=262): time 0.07109/1.8, allocations: 16.39 MB / 0.6704 GB, free: 105.7 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/1.8, allocations: 158.1 kB / 0.6705 GB, free: 105.6 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02064/1.82, allocations: 7.059 MB / 0.6774 GB, free: 98.84 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004972/1.821, allocations: 63.42 kB / 0.6775 GB, free: 98.77 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004427/1.825, allocations: 5.542 MB / 0.6829 GB, free: 93.23 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001312/1.827, allocations: 1.007 MB / 0.6839 GB, free: 92.23 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007945/1.828, allocations: 178.7 kB / 0.6841 GB, free: 92.06 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0005041/1.828, allocations: 0.696 MB / 0.6847 GB, free: 91.36 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006939/1.835, allocations: 2.582 MB / 0.6873 GB, free: 88.77 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01039/1.846, allocations: 8.24 MB / 0.6953 GB, free: 77.9 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/1.856, allocations: 4.461 MB / 0.6997 GB, free: 73.45 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001844/1.856, allocations: 63.94 kB / 0.6997 GB, free: 73.38 MB / 458.8 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02658/1.883, allocations: 10.53 MB / 0.71 GB, free: 62.85 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/1.883, allocations: 96.22 kB / 0.7101 GB, free: 62.75 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002622/1.883, allocations: 204 kB / 0.7103 GB, free: 62.55 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003037/1.883, allocations: 295.2 kB / 0.7106 GB, free: 62.27 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01249/1.896, allocations: 2.113 MB / 0.7126 GB, free: 60.15 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003766/1.896, allocations: 394.5 kB / 0.713 GB, free: 59.77 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009325/1.906, allocations: 458 kB / 0.7135 GB, free: 59.32 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001588/1.907, allocations: 0.5496 MB / 0.714 GB, free: 58.77 MB / 458.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.008437/1.916, allocations: 3.612 MB / 0.7175 GB, free: 55.15 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/1.917, allocations: 0.5746 MB / 0.7181 GB, free: 54.57 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008267/1.925, allocations: 2.783 MB / 0.7208 GB, free: 51.77 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-05/1.925, allocations: 28 kB / 0.7208 GB, free: 51.74 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/1.925, allocations: 4 kB / 0.7208 GB, free: 51.73 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.173e-05/1.926, allocations: 15.89 kB / 0.7208 GB, free: 51.72 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05737/1.983, allocations: 26.56 MB / 0.7468 GB, free: 24.41 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001466/1.983, allocations: 52 kB / 0.7468 GB, free: 24.36 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003612/1.987, allocations: 0.5265 MB / 0.7474 GB, free: 23.83 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-05/1.987, allocations: 76 kB / 0.7474 GB, free: 23.76 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005081/1.987, allocations: 120 kB / 0.7475 GB, free: 23.64 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.931e-05/1.987, allocations: 103.8 kB / 0.7476 GB, free: 23.54 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.343e-05/1.988, allocations: 83.62 kB / 0.7477 GB, free: 23.46 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/1.999, allocations: 14.76 MB / 0.7621 GB, free: 6.469 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002402/2.001, allocations: 0.7041 MB / 0.7628 GB, free: 5.738 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00187/2.003, allocations: 120.7 kB / 0.7629 GB, free: 5.621 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009027/2.012, allocations: 144.7 kB / 0.7631 GB, free: 5.48 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001289/2.014, allocations: 358.5 kB / 0.7634 GB, free: 5.129 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008225/2.015, allocations: 157.1 kB / 0.7636 GB, free: 4.977 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.02104/2.036, allocations: 4.475 MB / 0.7679 GB, free: 0.5195 MB / 458.8 MB Notification: Performance of sort global known variables: time 9.72e-07/2.036, allocations: 4 kB / 0.7679 GB, free: 0.5156 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.3253/2.361, allocations: 1.51 MB / 0.7694 GB, free: 148.9 MB / 458.8 MB 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.01961/2.381, allocations: 25.45 MB / 0.7943 GB, free: 125.7 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02149/2.402, allocations: 6.039 MB / 0.8002 GB, free: 124.1 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.806e-05/2.402, allocations: 7.344 kB / 0.8002 GB, free: 124.1 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004946/2.407, allocations: 1.492 MB / 0.8016 GB, free: 123.6 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007326/2.415, allocations: 0.8591 MB / 0.8025 GB, free: 123.3 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4003/2.815, allocations: 173.9 MB / 0.9723 GB, free: 130.3 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01568/2.831, allocations: 5.735 MB / 0.9779 GB, free: 129.4 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01444/2.845, allocations: 2.785 MB / 0.9806 GB, free: 129.3 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007884/2.853, allocations: 3.659 MB / 0.9842 GB, free: 128.5 MB / 474.8 MB Notification: Performance of SimCode: time 1.172e-06/2.853, allocations: 0 / 0.9842 GB, free: 128.5 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2446/3.098, allocations: 116 MB / 1.098 GB, free: 22.82 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/3.098, allocations: 174.8 kB / 1.098 GB, free: 22.58 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.276/10.37, allocations: 0 / 1.098 GB, free: 22.58 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat