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.483/2.483, allocations: 234.9 MB / 250.5 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004434, allocations: 12 kB / 314.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3584, allocations: 54.85 MB / 369.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.5415, allocations: 102 MB / 471.3 MB, free: 6.629 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.5418, allocations: 87.89 kB / 471.4 MB, free: 6.543 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6989/1.241, allocations: 83.96 MB / 0.5424 GB, free: 91.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.316e-06/1.241, allocations: 0 / 0.5424 GB, free: 91.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002589/1.241, allocations: 76 kB / 0.5424 GB, free: 91.66 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02563/1.267, allocations: 4.742 MB / 0.5471 GB, free: 86.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.267, allocations: 8.031 kB / 0.5471 GB, free: 86.85 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003242/1.27, allocations: 0.7667 MB / 0.5478 GB, free: 86.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01673/1.287, allocations: 2.217 MB / 0.55 GB, free: 83.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01608/1.303, allocations: 4.524 MB / 0.5544 GB, free: 79.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004099/1.303, allocations: 321.6 kB / 0.5547 GB, free: 78.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002516/1.306, allocations: 423.8 kB / 0.5551 GB, free: 78.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03142/1.337, allocations: 10.76 MB / 0.5656 GB, free: 66.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002632/1.338, allocations: 59.39 kB / 0.5657 GB, free: 66.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001855/1.34, allocations: 211.9 kB / 0.5659 GB, free: 66.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002372/1.342, allocations: 1.006 MB / 0.5669 GB, free: 65.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02704/1.369, allocations: 9.071 MB / 0.5757 GB, free: 56.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06923/1.438, allocations: 47.42 MB / 0.622 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01855/1.457, allocations: 3.619 MB / 0.6256 GB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01477/1.472, allocations: 4.753 MB / 0.6302 GB, free: 14.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.901e-05/1.472, allocations: 51.5 kB / 0.6303 GB, free: 14.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=142): time 6.943e-06/1.472, allocations: 0 / 0.6303 GB, free: 14.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=148): time 0.09615/1.568, allocations: 12.35 MB / 0.6423 GB, free: 2.184 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/1.568, allocations: 149.5 kB / 0.6425 GB, free: 2.008 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/1.581, allocations: 3.629 MB / 0.646 GB, free: 14.35 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005131/1.581, allocations: 45.7 kB / 0.6461 GB, free: 14.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004807/1.586, allocations: 3.058 MB / 0.649 GB, free: 11.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001489/1.588, allocations: 0.5903 MB / 0.6496 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009039/1.589, allocations: 116 kB / 0.6497 GB, free: 10.49 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000749/1.59, allocations: 0.5545 MB / 0.6503 GB, free: 9.926 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007816/1.597, allocations: 1.944 MB / 0.6522 GB, free: 7.977 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01309/1.611, allocations: 5.614 MB / 0.6577 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/1.622, allocations: 3.24 MB / 0.6608 GB, free: 13.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001672/1.622, allocations: 36 kB / 0.6609 GB, free: 13.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.03336/1.656, allocations: 7.915 MB / 0.6686 GB, free: 5.309 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001904/1.656, allocations: 74.47 kB / 0.6687 GB, free: 5.238 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003322/1.656, allocations: 128.6 kB / 0.6688 GB, free: 5.113 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006084/1.662, allocations: 0.9184 MB / 0.6697 GB, free: 4.191 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01106/1.673, allocations: 1.349 MB / 0.671 GB, free: 2.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4468/2.12, allocations: 4.878 MB / 0.6758 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00653/2.127, allocations: 323.1 kB / 0.6761 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001436/2.128, allocations: 365.5 kB / 0.6764 GB, free: 120.5 MB / 474.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 () * Number of clocked 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.00596/2.134, allocations: 2.073 MB / 0.6784 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000951/2.135, allocations: 342.6 kB / 0.6788 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009919/2.145, allocations: 2.892 MB / 0.6816 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.748e-05/2.145, allocations: 16.64 kB / 0.6816 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/2.145, allocations: 10.91 kB / 0.6816 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.287e-05/2.145, allocations: 11.66 kB / 0.6816 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02243/2.168, allocations: 7.144 MB / 0.6886 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.22e-05/2.168, allocations: 2.969 kB / 0.6886 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/2.17, allocations: 248.3 kB / 0.6888 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003699/2.174, allocations: 0.6988 MB / 0.6895 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003858/2.175, allocations: 29.38 kB / 0.6895 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008495/2.183, allocations: 4.446 MB / 0.6939 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/2.183, allocations: 3.938 kB / 0.6939 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/2.197, allocations: 5.233 MB / 0.699 GB, free: 116.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/2.199, allocations: 0.6123 MB / 0.6996 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/2.2, allocations: 19.78 kB / 0.6996 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003042/2.203, allocations: 95.91 kB / 0.6997 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000635/2.204, allocations: 88.14 kB / 0.6998 GB, free: 116.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/2.204, allocations: 37.84 kB / 0.6998 GB, free: 116.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006984/2.211, allocations: 2.538 MB / 0.7023 GB, free: 115.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.312e-06/2.211, allocations: 3.656 kB / 0.7023 GB, free: 115.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007564/2.219, allocations: 0.9492 MB / 0.7032 GB, free: 115.4 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 () * Number of clocked 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.01442/2.233, allocations: 6.03 MB / 0.7091 GB, free: 112.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01135/2.245, allocations: 4.711 MB / 0.7137 GB, free: 111.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/2.245, allocations: 0 / 0.7137 GB, free: 111.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003514/2.248, allocations: 1.382 MB / 0.7151 GB, free: 110.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003472/2.252, allocations: 394.1 kB / 0.7155 GB, free: 110.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1035/2.355, allocations: 123.8 MB / 0.8364 GB, free: 6.898 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008282/2.364, allocations: 3.324 MB / 0.8396 GB, free: 4.367 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00527/2.369, allocations: 1.889 MB / 0.8415 GB, free: 2.621 MB / 490.7 MB Notification: Performance of SimCode: time 1.743e-06/2.369, allocations: 2.844 kB / 0.8415 GB, free: 2.621 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.727/7.096, allocations: 96.68 MB / 0.9359 GB, free: 110.5 MB / 0.4948 GB 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