Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.222/2.222, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.825e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3431, allocations: 54.85 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.5155, allocations: 95.16 MB / 453.3 MB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.5158, allocations: 75.97 kB / 453.4 MB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5178/1.034, allocations: 53.87 MB / 0.4953 GB, free: 73.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.953e-06/1.034, allocations: 4 kB / 0.4953 GB, free: 73.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001246/1.034, allocations: 56 kB / 0.4954 GB, free: 73.24 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.008746/1.043, allocations: 2.616 MB / 0.498 GB, free: 70.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.043, allocations: 8.031 kB / 0.498 GB, free: 70.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/1.056, allocations: 1.821 MB / 0.4997 GB, free: 68.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005349/1.062, allocations: 1.709 MB / 0.5014 GB, free: 66.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/1.062, allocations: 96 kB / 0.5015 GB, free: 66.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001472/1.063, allocations: 164 kB / 0.5017 GB, free: 66.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01033/1.074, allocations: 4.368 MB / 0.5059 GB, free: 62.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01614/1.09, allocations: 6.068 MB / 0.5118 GB, free: 55.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/1.09, allocations: 19.81 kB / 0.5119 GB, free: 55.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001058/1.091, allocations: 12 kB / 0.5119 GB, free: 55.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001393/1.092, allocations: 0.6733 MB / 0.5125 GB, free: 55.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03974/1.132, allocations: 22.36 MB / 0.5344 GB, free: 32.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/1.135, allocations: 1.554 MB / 0.5359 GB, free: 30.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/1.136, allocations: 0.5755 MB / 0.5365 GB, free: 30.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.992e-05/1.136, allocations: 12.06 kB / 0.5365 GB, free: 30.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/1.136, allocations: 55.36 kB / 0.5365 GB, free: 29.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 3.968e-06/1.136, allocations: 0 / 0.5365 GB, free: 29.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.005928/1.142, allocations: 1.546 MB / 0.538 GB, free: 28.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/1.142, allocations: 64.14 kB / 0.5381 GB, free: 28.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002972/1.145, allocations: 1.58 MB / 0.5396 GB, free: 26.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002084/1.146, allocations: 29.7 kB / 0.5397 GB, free: 26.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001341/1.147, allocations: 1.99 MB / 0.5416 GB, free: 24.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005831/1.148, allocations: 398.7 kB / 0.542 GB, free: 24.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/1.148, allocations: 0 / 0.542 GB, free: 24.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002321/1.148, allocations: 462.1 kB / 0.5424 GB, free: 23.85 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/1.15, allocations: 0.9007 MB / 0.5433 GB, free: 22.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00298/1.153, allocations: 2.942 MB / 0.5462 GB, free: 18.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/1.156, allocations: 1.67 MB / 0.5478 GB, free: 17.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.407e-05/1.156, allocations: 23.94 kB / 0.5478 GB, free: 17.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=440) (initialization): time 0.008633/1.165, allocations: 3.383 MB / 0.5511 GB, free: 13.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/1.165, allocations: 36 kB / 0.5512 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.019e-05/1.165, allocations: 72 kB / 0.5512 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/1.165, allocations: 108 kB / 0.5513 GB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004421/1.17, allocations: 0.7603 MB / 0.5521 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001151/1.17, allocations: 139.5 kB / 0.5522 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003143/1.173, allocations: 399.2 kB / 0.5526 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004893/1.174, allocations: 204 kB / 0.5528 GB, free: 12.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 334 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 413 * 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 prepare postOptimizeDAE: time 0.0005029/1.174, allocations: 287.5 kB / 0.5531 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002361/1.177, allocations: 1.179 MB / 0.5542 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/1.177, allocations: 165.8 kB / 0.5544 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/1.18, allocations: 1.341 MB / 0.5557 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/1.18, allocations: 8 kB / 0.5557 GB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.18, allocations: 7.953 kB / 0.5557 GB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.18, allocations: 3.984 kB / 0.5557 GB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/1.191, allocations: 4.898 MB / 0.5605 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/1.191, allocations: 11.95 kB / 0.5605 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/1.192, allocations: 159.7 kB / 0.5607 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-05/1.192, allocations: 16 kB / 0.5607 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.73e-05/1.192, allocations: 19.98 kB / 0.5607 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.698e-05/1.192, allocations: 24.52 kB / 0.5607 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.447e-05/1.192, allocations: 23.88 kB / 0.5607 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002928/1.195, allocations: 2.386 MB / 0.5631 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004853/1.196, allocations: 250.7 kB / 0.5633 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002977/1.196, allocations: 19.98 kB / 0.5633 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000999/1.197, allocations: 23.98 kB / 0.5633 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/1.197, allocations: 91.45 kB / 0.5634 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/1.197, allocations: 47.92 kB / 0.5635 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002185/1.2, allocations: 1.054 MB / 0.5645 GB, free: 15.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.2, allocations: 0 / 0.5645 GB, free: 15.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004098/1.204, allocations: 0.6878 MB / 0.5652 GB, free: 14.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.005239/1.209, allocations: 6.042 MB / 0.5711 GB, free: 8.449 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005131/1.214, allocations: 2.145 MB / 0.5732 GB, free: 6.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/1.214, allocations: 12 kB / 0.5732 GB, free: 6.309 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/1.216, allocations: 0.5878 MB / 0.5738 GB, free: 5.723 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/1.217, allocations: 178.7 kB / 0.5739 GB, free: 5.547 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.236, allocations: 5.851 MB / 0.5796 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005671/1.242, allocations: 2.464 MB / 0.582 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002925/1.245, allocations: 1.159 MB / 0.5832 GB, free: 11.85 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/1.245, allocations: 4 kB / 0.5832 GB, free: 11.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.682/4.926, allocations: 46.75 MB / 0.6288 GB, free: 121.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat