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.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.186/2.186, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/2.033e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3329, allocations: 54.85 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.504, allocations: 95.28 MB / 453.4 MB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.5044, allocations: 79.95 kB / 453.5 MB, free: 15.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5089/1.013, allocations: 55.62 MB / 0.4972 GB, free: 71.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.655e-06/1.013, allocations: 0 / 0.4972 GB, free: 71.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001249/1.014, allocations: 52 kB / 0.4972 GB, free: 71.41 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: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.009236/1.023, allocations: 2.668 MB / 0.4998 GB, free: 68.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/1.023, allocations: 12.03 kB / 0.4998 GB, free: 68.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/1.037, allocations: 1.833 MB / 0.5016 GB, free: 66.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005615/1.042, allocations: 1.735 MB / 0.5033 GB, free: 65.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/1.043, allocations: 96 kB / 0.5034 GB, free: 64.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/1.044, allocations: 172 kB / 0.5036 GB, free: 64.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01045/1.055, allocations: 4.481 MB / 0.5079 GB, free: 60.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/1.071, allocations: 6.219 MB / 0.514 GB, free: 53.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001249/1.071, allocations: 19.81 kB / 0.514 GB, free: 53.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001386/1.072, allocations: 12 kB / 0.5141 GB, free: 53.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0014/1.074, allocations: 0.7008 MB / 0.5147 GB, free: 52.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04063/1.115, allocations: 23.53 MB / 0.5377 GB, free: 28.83 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/1.117, allocations: 1.519 MB / 0.5392 GB, free: 27.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/1.118, allocations: 0.5872 MB / 0.5398 GB, free: 26.6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/1.118, allocations: 9.953 kB / 0.5398 GB, free: 26.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/1.118, allocations: 39.34 kB / 0.5398 GB, free: 26.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 4.048e-06/1.118, allocations: 0 / 0.5398 GB, free: 26.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.005262/1.124, allocations: 1.495 MB / 0.5413 GB, free: 25.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/1.124, allocations: 64.12 kB / 0.5413 GB, free: 24.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003234/1.127, allocations: 1.638 MB / 0.5429 GB, free: 23.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001984/1.127, allocations: 29.7 kB / 0.543 GB, free: 23.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/1.129, allocations: 2.063 MB / 0.545 GB, free: 21.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005948/1.129, allocations: 402.7 kB / 0.5454 GB, free: 20.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/1.13, allocations: 0 / 0.5454 GB, free: 20.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002969/1.13, allocations: 470.4 kB / 0.5458 GB, free: 20.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/1.132, allocations: 0.9243 MB / 0.5467 GB, free: 19.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003272/1.136, allocations: 3.07 MB / 0.5497 GB, free: 15.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003636/1.139, allocations: 1.725 MB / 0.5514 GB, free: 13.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.317e-05/1.139, allocations: 24 kB / 0.5514 GB, free: 13.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=456) (initialization): time 0.008886/1.148, allocations: 3.499 MB / 0.5548 GB, free: 10.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/1.148, allocations: 40 kB / 0.5549 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.435e-05/1.148, allocations: 76 kB / 0.5549 GB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/1.149, allocations: 112.8 kB / 0.5551 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004514/1.153, allocations: 0.7876 MB / 0.5558 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001218/1.153, allocations: 147.4 kB / 0.556 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/1.157, allocations: 391.2 kB / 0.5563 GB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007203/1.157, allocations: 212 kB / 0.5565 GB, free: 8.258 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (432): * Single equations (assignments): 429 * 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.0006989/1.158, allocations: 315.2 kB / 0.5568 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002649/1.161, allocations: 1.198 MB / 0.558 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/1.161, allocations: 165.8 kB / 0.5582 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003373/1.165, allocations: 1.35 MB / 0.5595 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.484e-05/1.165, allocations: 19.98 kB / 0.5595 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.165, allocations: 4 kB / 0.5595 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/1.165, allocations: 3.984 kB / 0.5595 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/1.176, allocations: 4.736 MB / 0.5641 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.176, allocations: 12 kB / 0.5641 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/1.177, allocations: 159.7 kB / 0.5643 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.299e-05/1.177, allocations: 16 kB / 0.5643 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.246e-05/1.178, allocations: 16 kB / 0.5643 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.615e-05/1.178, allocations: 24.48 kB / 0.5644 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/1.178, allocations: 11.94 kB / 0.5644 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003832/1.181, allocations: 2.364 MB / 0.5667 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005884/1.182, allocations: 258.5 kB / 0.5669 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003983/1.182, allocations: 15.98 kB / 0.5669 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.184, allocations: 19.98 kB / 0.567 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/1.184, allocations: 88.03 kB / 0.567 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/1.184, allocations: 47.98 kB / 0.5671 GB, free: 12.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002721/1.187, allocations: 1.079 MB / 0.5681 GB, free: 11.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.187, allocations: 4 kB / 0.5681 GB, free: 11.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004404/1.191, allocations: 0.715 MB / 0.5688 GB, free: 11.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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.00557/1.197, allocations: 5.792 MB / 0.5745 GB, free: 4.898 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005567/1.202, allocations: 2.212 MB / 0.5767 GB, free: 2.703 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/1.203, allocations: 0.8125 kB / 0.5767 GB, free: 2.703 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001465/1.204, allocations: 0.6 MB / 0.5772 GB, free: 2.105 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/1.206, allocations: 174.1 kB / 0.5774 GB, free: 1.934 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/1.226, allocations: 5.978 MB / 0.5832 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005902/1.232, allocations: 2.517 MB / 0.5857 GB, free: 9.227 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003165/1.235, allocations: 1.214 MB / 0.5869 GB, free: 8.012 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/1.235, allocations: 0 / 0.5869 GB, free: 8.012 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.812/5.047, allocations: 48.09 MB / 0.6339 GB, free: 124.7 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat