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.33/2.33, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.639e-05/3.668e-05, allocations: 4 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3926, allocations: 54.85 MB / 364.6 MB, free: 5.434 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1882/0.5809, allocations: 102.4 MB / 467.1 MB, free: 9.914 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/0.5813, allocations: 80.98 kB / 467.1 MB, free: 9.836 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8208/1.402, allocations: 106.2 MB / 0.5599 GB, free: 103.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.953e-06/1.402, allocations: 0 / 0.5599 GB, free: 103.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003983/1.403, allocations: 106.4 kB / 0.56 GB, free: 103.9 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: 1834 * Number of variables: 1834 Notification: Performance of Generate backend data structure: time 0.02151/1.424, allocations: 5.251 MB / 0.5651 GB, free: 101.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/1.424, allocations: 14.42 kB / 0.5651 GB, free: 101.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004355/1.429, allocations: 0.9273 MB / 0.566 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04952/1.478, allocations: 6.894 MB / 0.5728 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02517/1.503, allocations: 6.87 MB / 0.5795 GB, free: 99.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005471/1.504, allocations: 405.8 kB / 0.5799 GB, free: 99.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002952/1.507, allocations: 0.5265 MB / 0.5804 GB, free: 99.33 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03576/1.543, allocations: 12.29 MB / 0.5924 GB, free: 92.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003872/1.543, allocations: 75.97 kB / 0.5924 GB, free: 92.69 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002546/1.546, allocations: 256.6 kB / 0.5927 GB, free: 92.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002426/1.548, allocations: 1.123 MB / 0.5938 GB, free: 92.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02885/1.577, allocations: 9.812 MB / 0.6034 GB, free: 86.12 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08365/1.661, allocations: 56.62 MB / 0.6587 GB, free: 28.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01625/1.677, allocations: 4.117 MB / 0.6627 GB, free: 24.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004691/1.682, allocations: 2.25 MB / 0.6649 GB, free: 21.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02491/1.707, allocations: 9.502 MB / 0.6742 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/1.707, allocations: 55.77 kB / 0.6742 GB, free: 12.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=190): time 6.933e-06/1.707, allocations: 0 / 0.6742 GB, free: 12.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=212): time 0.07619/1.783, allocations: 15.81 MB / 0.6897 GB, free: 12.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/1.783, allocations: 205.2 kB / 0.6899 GB, free: 12.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01195/1.795, allocations: 4.184 MB / 0.6939 GB, free: 7.871 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005213/1.796, allocations: 57.7 kB / 0.694 GB, free: 7.809 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004163/1.8, allocations: 3.618 MB / 0.6975 GB, free: 4.191 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001528/1.802, allocations: 0.8164 MB / 0.6983 GB, free: 3.383 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008547/1.803, allocations: 132 kB / 0.6985 GB, free: 3.254 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006223/1.803, allocations: 0.5836 MB / 0.699 GB, free: 2.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00643/1.81, allocations: 2.164 MB / 0.7011 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3506/2.16, allocations: 6.077 MB / 0.7071 GB, free: 104.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00968/2.17, allocations: 3.617 MB / 0.7106 GB, free: 104.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002701/2.17, allocations: 41.31 kB / 0.7106 GB, free: 104.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.02754/2.198, allocations: 8.563 MB / 0.719 GB, free: 104.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/2.198, allocations: 65.44 kB / 0.7191 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002943/2.198, allocations: 137.7 kB / 0.7192 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004796/2.203, allocations: 0.9206 MB / 0.7201 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009517/2.213, allocations: 1.493 MB / 0.7216 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/2.226, allocations: 7.223 MB / 0.7286 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007819/2.234, allocations: 355.2 kB / 0.7289 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001693/2.236, allocations: 397 kB / 0.7293 GB, free: 101.3 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 () * 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.002975/2.239, allocations: 0.6098 MB / 0.7299 GB, free: 101 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/2.24, allocations: 425.7 kB / 0.7303 GB, free: 101 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/2.252, allocations: 3.465 MB / 0.7337 GB, free: 99.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-05/2.252, allocations: 21.33 kB / 0.7337 GB, free: 99.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/2.252, allocations: 8.594 kB / 0.7337 GB, free: 99.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.419e-05/2.252, allocations: 7.172 kB / 0.7337 GB, free: 99.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02869/2.28, allocations: 9.053 MB / 0.7426 GB, free: 96.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.953e-05/2.281, allocations: 0 / 0.7426 GB, free: 96.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003291/2.284, allocations: 340.2 kB / 0.7429 GB, free: 96.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003962/2.288, allocations: 0.6867 MB / 0.7436 GB, free: 96.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004786/2.288, allocations: 44.55 kB / 0.7436 GB, free: 96.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/2.3, allocations: 6.53 MB / 0.75 GB, free: 92.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/2.3, allocations: 7.766 kB / 0.75 GB, free: 92.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/2.315, allocations: 6.134 MB / 0.756 GB, free: 89.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002863/2.318, allocations: 0.734 MB / 0.7567 GB, free: 89.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001247/2.32, allocations: 40 kB / 0.7568 GB, free: 89.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003694/2.323, allocations: 112.4 kB / 0.7569 GB, free: 89.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008041/2.324, allocations: 123 kB / 0.757 GB, free: 89.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002562/2.324, allocations: 53.16 kB / 0.757 GB, free: 89.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008261/2.333, allocations: 2.954 MB / 0.7599 GB, free: 88.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.71e-07/2.333, allocations: 3.938 kB / 0.7599 GB, free: 88.17 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008646/2.341, allocations: 1.174 MB / 0.7611 GB, free: 88.04 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 () * 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.01626/2.358, allocations: 6.936 MB / 0.7678 GB, free: 84.72 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01343/2.371, allocations: 5.563 MB / 0.7733 GB, free: 82.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/2.371, allocations: 0 / 0.7733 GB, free: 82.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005235/2.376, allocations: 1.923 MB / 0.7752 GB, free: 81.74 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004679/2.381, allocations: 0.5329 MB / 0.7757 GB, free: 81.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03987/2.421, allocations: 11.57 MB / 0.787 GB, free: 72.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009733/2.431, allocations: 4.111 MB / 0.791 GB, free: 69.03 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006055/2.437, allocations: 2.502 MB / 0.7934 GB, free: 66.71 MB / 474.7 MB Notification: Performance of SimCode: time 1.322e-06/2.437, allocations: 0 / 0.7934 GB, free: 66.71 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.99/7.427, allocations: 144.2 MB / 0.9343 GB, free: 105.3 MB / 490.7 MB 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