Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.339/2.339, allocations: 235 MB / 248.1 MB, free: 14.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.127e-05, allocations: 0 / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4678/0.4679, allocations: 54.85 MB / 364.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1869/0.6548, allocations: 101.9 MB / 466.5 MB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.6552, allocations: 79.94 kB / 466.6 MB, free: 10.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6771/1.332, allocations: 84.03 MB / 0.5377 GB, free: 105.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.454e-06/1.332, allocations: 0 / 0.5377 GB, free: 105.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002952/1.333, allocations: 78.88 kB / 0.5378 GB, free: 105.5 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02631/1.359, allocations: 4.499 MB / 0.5422 GB, free: 103.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.359, allocations: 12.19 kB / 0.5422 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003374/1.362, allocations: 0.7706 MB / 0.543 GB, free: 103.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01792/1.38, allocations: 2.213 MB / 0.5451 GB, free: 103.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01785/1.398, allocations: 4.504 MB / 0.5495 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004154/1.399, allocations: 321.6 kB / 0.5498 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002486/1.401, allocations: 430.6 kB / 0.5502 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03147/1.433, allocations: 10.66 MB / 0.5607 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002681/1.433, allocations: 59.73 kB / 0.5607 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001531/1.435, allocations: 209.7 kB / 0.5609 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002321/1.437, allocations: 1.011 MB / 0.5619 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0274/1.464, allocations: 8.897 MB / 0.5706 GB, free: 98.33 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07235/1.537, allocations: 47.41 MB / 0.6169 GB, free: 62.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01896/1.556, allocations: 3.584 MB / 0.6204 GB, free: 61.35 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0041/1.56, allocations: 1.791 MB / 0.6221 GB, free: 60.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/1.572, allocations: 4.749 MB / 0.6268 GB, free: 56.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/1.572, allocations: 55.28 kB / 0.6268 GB, free: 56.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=142): time 6.121e-06/1.572, allocations: 3.656 kB / 0.6268 GB, free: 56.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=148): time 0.03694/1.609, allocations: 9.882 MB / 0.6365 GB, free: 48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/1.609, allocations: 145.3 kB / 0.6366 GB, free: 47.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007669/1.617, allocations: 3.59 MB / 0.6401 GB, free: 44.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003876/1.617, allocations: 41.7 kB / 0.6402 GB, free: 44.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002417/1.62, allocations: 3.064 MB / 0.6432 GB, free: 41.78 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009633/1.621, allocations: 0.5949 MB / 0.6437 GB, free: 41.26 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007098/1.621, allocations: 123.8 kB / 0.6439 GB, free: 41.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003706/1.622, allocations: 0.5491 MB / 0.6444 GB, free: 40.65 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004612/1.626, allocations: 1.887 MB / 0.6462 GB, free: 38.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00696/1.634, allocations: 5.558 MB / 0.6517 GB, free: 31.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006983/1.641, allocations: 3.213 MB / 0.6548 GB, free: 29.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.911e-05/1.641, allocations: 40 kB / 0.6548 GB, free: 29.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.0211/1.662, allocations: 7.782 MB / 0.6624 GB, free: 21.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/1.662, allocations: 67.12 kB / 0.6625 GB, free: 21.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001597/1.662, allocations: 128.9 kB / 0.6626 GB, free: 21.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004142/1.666, allocations: 0.915 MB / 0.6635 GB, free: 20.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008067/1.674, allocations: 1.349 MB / 0.6648 GB, free: 18.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008871/1.683, allocations: 4.775 MB / 0.6695 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006424/1.69, allocations: 323.8 kB / 0.6698 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001164/1.691, allocations: 360 kB / 0.6701 GB, free: 13.27 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (711): * Single equations (assignments): 707 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001136/1.692, allocations: 0.5484 MB / 0.6707 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008329/1.693, allocations: 347.5 kB / 0.671 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008537/1.702, allocations: 2.835 MB / 0.6738 GB, free: 9.508 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.251e-05/1.702, allocations: 20 kB / 0.6738 GB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/1.702, allocations: 7.812 kB / 0.6738 GB, free: 9.484 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.002e-05/1.702, allocations: 11.97 kB / 0.6738 GB, free: 9.473 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/1.722, allocations: 7.085 MB / 0.6807 GB, free: 2.352 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/1.722, allocations: 0 / 0.6807 GB, free: 2.352 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00246/1.725, allocations: 247.6 kB / 0.681 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003674/1.729, allocations: 0.6952 MB / 0.6817 GB, free: 1.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003617/1.729, allocations: 27.98 kB / 0.6817 GB, free: 1.383 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009269/1.738, allocations: 4.347 MB / 0.6859 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.738, allocations: 0 / 0.6859 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/1.753, allocations: 5.132 MB / 0.6909 GB, free: 7.727 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/1.755, allocations: 0.6098 MB / 0.6915 GB, free: 7.094 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/1.756, allocations: 24 kB / 0.6916 GB, free: 7.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003071/1.759, allocations: 91.88 kB / 0.6916 GB, free: 6.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006795/1.76, allocations: 84.88 kB / 0.6917 GB, free: 6.898 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/1.76, allocations: 47.94 kB / 0.6918 GB, free: 6.852 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006969/1.767, allocations: 2.496 MB / 0.6942 GB, free: 4.336 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.153e-06/1.767, allocations: 0 / 0.6942 GB, free: 4.336 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00709/1.774, allocations: 0.9491 MB / 0.6951 GB, free: 3.391 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 113 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01522/1.79, allocations: 5.932 MB / 0.7009 GB, free: 13.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01205/1.802, allocations: 4.607 MB / 0.7054 GB, free: 8.828 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.802, allocations: 0 / 0.7054 GB, free: 8.828 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003397/1.805, allocations: 1.355 MB / 0.7068 GB, free: 7.457 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/1.809, allocations: 390.8 kB / 0.7071 GB, free: 7.078 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3854/2.194, allocations: 9.005 MB / 0.7159 GB, free: 122.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008783/2.203, allocations: 3.319 MB / 0.7192 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004475/2.207, allocations: 1.891 MB / 0.721 GB, free: 121.4 MB / 490.7 MB Notification: Performance of SimCode: time 3.296e-06/2.207, allocations: 1.859 kB / 0.721 GB, free: 121.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.186/6.393, allocations: 96.34 MB / 0.8151 GB, free: 74.93 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat