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_3.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: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadModel(ModelicaTest): time 2.509/2.509, allocations: 234.9 MB / 251.1 MB, free: 9.602 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004313, allocations: 8 kB / 314.9 MB, free: 9.656 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.417, allocations: 54.86 MB / 369.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.6066, allocations: 102.7 MB / 472.5 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/0.607, allocations: 95.89 kB / 472.6 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.708/1.315, allocations: 97.64 MB / 0.5569 GB, free: 77.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.816e-06/1.315, allocations: 0 / 0.5569 GB, free: 77.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000304/1.315, allocations: 104 kB / 0.557 GB, free: 77.21 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.03089/1.346, allocations: 5.766 MB / 0.5626 GB, free: 71.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.346, allocations: 12.02 kB / 0.5627 GB, free: 71.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01727/1.364, allocations: 2.325 MB / 0.5649 GB, free: 69.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01755/1.381, allocations: 4.981 MB / 0.5698 GB, free: 63.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004484/1.382, allocations: 398.3 kB / 0.5702 GB, free: 63.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002836/1.385, allocations: 0.5114 MB / 0.5707 GB, free: 63.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03944/1.424, allocations: 13.02 MB / 0.5834 GB, free: 49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000327/1.425, allocations: 75.3 kB / 0.5835 GB, free: 48.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00225/1.427, allocations: 243.9 kB / 0.5837 GB, free: 48.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002703/1.43, allocations: 1.216 MB / 0.5849 GB, free: 47.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0354/1.465, allocations: 11.29 MB / 0.5959 GB, free: 36.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09733/1.562, allocations: 55.76 MB / 0.6504 GB, free: 10.87 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02855/1.591, allocations: 5.318 MB / 0.6556 GB, free: 5.406 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002631/1.594, allocations: 1.014 MB / 0.6565 GB, free: 4.227 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.104e-05/1.594, allocations: 71.73 kB / 0.6566 GB, free: 4.148 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 6.051e-06/1.594, allocations: 0 / 0.6566 GB, free: 4.148 MB / 458.7 MB Notification: Performance of matching and sorting (n=255): time 0.4649/2.059, allocations: 26.78 MB / 0.6828 GB, free: 115.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/2.059, allocations: 155.5 kB / 0.6829 GB, free: 115.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009536/2.068, allocations: 4.485 MB / 0.6873 GB, free: 114.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007523/2.069, allocations: 61.7 kB / 0.6873 GB, free: 114.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002949/2.072, allocations: 3.433 MB / 0.6907 GB, free: 112.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001588/2.074, allocations: 0.9525 MB / 0.6916 GB, free: 112.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008956/2.075, allocations: 137 kB / 0.6918 GB, free: 112.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004287/2.075, allocations: 0.6008 MB / 0.6923 GB, free: 112 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007637/2.083, allocations: 3.046 MB / 0.6953 GB, free: 112 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01021/2.093, allocations: 6.978 MB / 0.7021 GB, free: 107 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/2.104, allocations: 4.507 MB / 0.7065 GB, free: 106.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001391/2.104, allocations: 40.22 kB / 0.7066 GB, free: 106.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.02921/2.133, allocations: 10.71 MB / 0.717 GB, free: 103.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/2.133, allocations: 69.03 kB / 0.7171 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001777/2.133, allocations: 138.9 kB / 0.7172 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004786/2.138, allocations: 1.128 MB / 0.7183 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01124/2.149, allocations: 1.709 MB / 0.72 GB, free: 103 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/2.161, allocations: 6.027 MB / 0.7259 GB, free: 99.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008399/2.169, allocations: 425.8 kB / 0.7263 GB, free: 99.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001593/2.171, allocations: 422.2 kB / 0.7267 GB, free: 99.74 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (852): * Single equations (assignments): 848 * 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.006812/2.178, allocations: 2.417 MB / 0.7291 GB, free: 98.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/2.179, allocations: 411.3 kB / 0.7295 GB, free: 98.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01637/2.195, allocations: 5.67 MB / 0.735 GB, free: 96.31 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.376e-05/2.196, allocations: 26.28 kB / 0.735 GB, free: 96.31 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/2.196, allocations: 3.875 kB / 0.735 GB, free: 96.31 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.087e-05/2.196, allocations: 13.52 kB / 0.735 GB, free: 96.31 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03462/2.23, allocations: 12.33 MB / 0.7471 GB, free: 89.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.743e-05/2.23, allocations: 7 kB / 0.7471 GB, free: 89.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005267/2.236, allocations: 0.5189 MB / 0.7476 GB, free: 88.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004317/2.24, allocations: 0.9295 MB / 0.7485 GB, free: 88.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006338/2.241, allocations: 49.53 kB / 0.7485 GB, free: 88.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/2.251, allocations: 5.761 MB / 0.7542 GB, free: 82.96 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/2.251, allocations: 0 / 0.7542 GB, free: 82.96 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0232/2.275, allocations: 9.611 MB / 0.7636 GB, free: 74.63 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003388/2.278, allocations: 0.9127 MB / 0.7644 GB, free: 73.78 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001773/2.28, allocations: 44.86 kB / 0.7645 GB, free: 73.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00475/2.285, allocations: 188.8 kB / 0.7647 GB, free: 73.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/2.286, allocations: 158.2 kB / 0.7648 GB, free: 73.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003414/2.286, allocations: 68.94 kB / 0.7649 GB, free: 73.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007083/2.293, allocations: 2.812 MB / 0.7676 GB, free: 71.13 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.52e-07/2.293, allocations: 0 / 0.7676 GB, free: 71.13 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008443/2.302, allocations: 1.255 MB / 0.7689 GB, free: 69.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.001102/2.303, allocations: 192.9 kB / 0.769 GB, free: 69.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01724/2.32, allocations: 7.307 MB / 0.7762 GB, free: 63.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/2.32, allocations: 8 kB / 0.7762 GB, free: 63.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006888/2.327, allocations: 2.782 MB / 0.7789 GB, free: 60.94 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004076/2.331, allocations: 451.5 kB / 0.7793 GB, free: 60.55 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03347/2.365, allocations: 14.69 MB / 0.7937 GB, free: 47.21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008175/2.373, allocations: 3.896 MB / 0.7975 GB, free: 43.53 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002836/2.376, allocations: 363.3 kB / 0.7978 GB, free: 43.17 MB / 474.7 MB Notification: Performance of SimCode: time 1.352e-06/2.376, allocations: 0 / 0.7978 GB, free: 43.17 MB / 474.7 MB Notification: Performance of Templates: time 0.5143/2.89, allocations: 91.02 MB / 0.8867 GB, free: 101.2 MB / 490.7 MB