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.Beveal1d.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.Beveal1d,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Beveal1d",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004394, allocations: 16 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3534, allocations: 54.86 MB / 369.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.535, allocations: 102.5 MB / 471.9 MB, free: 3.938 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.5354, allocations: 87.94 kB / 472 MB, free: 3.852 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7108/1.246, allocations: 106.1 MB / 0.5645 GB, free: 6.816 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.895e-06/1.246, allocations: 0 / 0.5645 GB, free: 6.816 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003785/1.247, allocations: 111.9 kB / 0.5646 GB, free: 6.707 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: 1834 * Number of variables: 1834 Notification: Performance of Generate backend data structure: time 0.0244/1.271, allocations: 5.718 MB / 0.5702 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/1.271, allocations: 8.031 kB / 0.5702 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005097/1.276, allocations: 0.9308 MB / 0.5711 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05343/1.33, allocations: 6.892 MB / 0.5778 GB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02929/1.359, allocations: 6.898 MB / 0.5846 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001037/1.36, allocations: 406.7 kB / 0.585 GB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004328/1.365, allocations: 0.531 MB / 0.5855 GB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09894/1.464, allocations: 12.39 MB / 0.5976 GB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007365/1.464, allocations: 67.31 kB / 0.5976 GB, free: 3.543 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003863/1.468, allocations: 267.9 kB / 0.5979 GB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004161/1.473, allocations: 1.121 MB / 0.599 GB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06123/1.534, allocations: 9.983 MB / 0.6087 GB, free: 8.152 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6962/2.23, allocations: 56.64 MB / 0.6641 GB, free: 63.52 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02698/2.257, allocations: 4.168 MB / 0.6681 GB, free: 62.84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03761/2.295, allocations: 9.499 MB / 0.6774 GB, free: 61.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.408e-05/2.295, allocations: 57.59 kB / 0.6775 GB, free: 61.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=190): time 9.297e-06/2.295, allocations: 0 / 0.6775 GB, free: 61.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=212): time 0.113/2.408, allocations: 18.32 MB / 0.6954 GB, free: 57.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/2.408, allocations: 206.8 kB / 0.6956 GB, free: 57.26 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01067/2.419, allocations: 4.229 MB / 0.6997 GB, free: 56.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005329/2.419, allocations: 53.95 kB / 0.6997 GB, free: 56.85 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003301/2.423, allocations: 3.621 MB / 0.7033 GB, free: 54.99 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001406/2.424, allocations: 0.8121 MB / 0.7041 GB, free: 54.53 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009108/2.425, allocations: 127.9 kB / 0.7042 GB, free: 54.53 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000551/2.426, allocations: 0.5797 MB / 0.7047 GB, free: 54.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005887/2.432, allocations: 2.234 MB / 0.7069 GB, free: 54.19 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008886/2.441, allocations: 6.155 MB / 0.7129 GB, free: 49.12 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008533/2.449, allocations: 3.634 MB / 0.7165 GB, free: 48.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002094/2.449, allocations: 44.69 kB / 0.7165 GB, free: 48.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.02495/2.474, allocations: 8.704 MB / 0.725 GB, free: 45.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000138/2.475, allocations: 62.41 kB / 0.7251 GB, free: 45.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002554/2.475, allocations: 139.5 kB / 0.7252 GB, free: 45.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004439/2.479, allocations: 0.9281 MB / 0.7261 GB, free: 45.47 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00912/2.489, allocations: 1.503 MB / 0.7276 GB, free: 45.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01733/2.506, allocations: 7.404 MB / 0.7348 GB, free: 40.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01768/2.524, allocations: 353.1 kB / 0.7352 GB, free: 40.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007082/2.531, allocations: 391.5 kB / 0.7355 GB, free: 40.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 633 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (789): * Single equations (assignments): 784 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01705/2.548, allocations: 2.568 MB / 0.738 GB, free: 39.32 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001443/2.549, allocations: 427.6 kB / 0.7385 GB, free: 39.09 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02745/2.577, allocations: 3.533 MB / 0.7419 GB, free: 37.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.386e-05/2.577, allocations: 23.56 kB / 0.7419 GB, free: 37.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.066e-05/2.577, allocations: 3.906 kB / 0.7419 GB, free: 37.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.667e-05/2.577, allocations: 14.94 kB / 0.7419 GB, free: 37.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02827/2.605, allocations: 9.128 MB / 0.7509 GB, free: 30.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.374e-05/2.605, allocations: 2 kB / 0.7509 GB, free: 30.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003256/2.609, allocations: 329.5 kB / 0.7512 GB, free: 30.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003912/2.613, allocations: 0.7 MB / 0.7519 GB, free: 29.97 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004845/2.613, allocations: 42.08 kB / 0.7519 GB, free: 29.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/2.625, allocations: 6.72 MB / 0.7585 GB, free: 23.69 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/2.625, allocations: 11.55 kB / 0.7585 GB, free: 23.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01581/2.641, allocations: 6.236 MB / 0.7646 GB, free: 18.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002727/2.644, allocations: 0.7287 MB / 0.7653 GB, free: 17.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001351/2.645, allocations: 34.88 kB / 0.7653 GB, free: 17.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003626/2.649, allocations: 114.7 kB / 0.7654 GB, free: 17.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000757/2.65, allocations: 134.3 kB / 0.7655 GB, free: 17.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/2.65, allocations: 55.38 kB / 0.7656 GB, free: 17.28 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007518/2.658, allocations: 2.995 MB / 0.7685 GB, free: 14.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.31e-07/2.658, allocations: 0 / 0.7685 GB, free: 14.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008211/2.666, allocations: 1.177 MB / 0.7697 GB, free: 13.65 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (163): * Single equations (assignments): 158 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01627/2.682, allocations: 7.058 MB / 0.7766 GB, free: 7.375 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01377/2.696, allocations: 5.671 MB / 0.7821 GB, free: 2.414 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/2.696, allocations: 4 kB / 0.7821 GB, free: 2.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005109/2.701, allocations: 1.964 MB / 0.784 GB, free: 0.668 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004629/2.706, allocations: 0.535 MB / 0.7845 GB, free: 228 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5034/3.209, allocations: 138.1 MB / 0.9194 GB, free: 96.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01002/3.219, allocations: 4.1 MB / 0.9234 GB, free: 95.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006568/3.226, allocations: 2.504 MB / 0.9259 GB, free: 95.47 MB / 0.5261 GB Notification: Performance of SimCode: time 1.001e-06/3.226, allocations: 1.969 kB / 0.9259 GB, free: 95.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.05/8.276, allocations: 144.2 MB / 1.067 GB, free: 157.3 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d_res.mat does not exist to compare? outputFormat=mat