Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.201/2.201, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.54e-05/2.554e-05, allocations: 0 / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3174, allocations: 54.85 MB / 364.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.4706, allocations: 102.7 MB / 467.2 MB, free: 9.766 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.471, allocations: 93.52 kB / 467.3 MB, free: 9.676 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6188/1.09, allocations: 97.23 MB / 0.5513 GB, free: 105.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.437e-06/1.09, allocations: 0 / 0.5513 GB, free: 105.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002587/1.09, allocations: 99.75 kB / 0.5514 GB, free: 105.1 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.02161/1.112, allocations: 5.504 MB / 0.5568 GB, free: 103.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.112, allocations: 8.062 kB / 0.5568 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/1.125, allocations: 2.324 MB / 0.559 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01476/1.14, allocations: 4.972 MB / 0.5639 GB, free: 102.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003917/1.14, allocations: 388.4 kB / 0.5643 GB, free: 102.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002266/1.142, allocations: 0.5111 MB / 0.5648 GB, free: 102.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03215/1.174, allocations: 12.86 MB / 0.5773 GB, free: 97.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002695/1.175, allocations: 70.88 kB / 0.5774 GB, free: 97.47 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001806/1.177, allocations: 247.5 kB / 0.5776 GB, free: 97.33 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002273/1.179, allocations: 1.209 MB / 0.5788 GB, free: 97.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02789/1.207, allocations: 11.08 MB / 0.5896 GB, free: 93.66 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07408/1.281, allocations: 55.77 MB / 0.6441 GB, free: 43.37 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01863/1.3, allocations: 5.261 MB / 0.6492 GB, free: 37.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005084/1.305, allocations: 3.28 MB / 0.6524 GB, free: 34.67 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001653/1.306, allocations: 1.014 MB / 0.6534 GB, free: 33.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/1.306, allocations: 59.81 kB / 0.6535 GB, free: 33.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 7.479e-06/1.306, allocations: 0 / 0.6535 GB, free: 33.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=255): time 0.07131/1.378, allocations: 21.93 MB / 0.6749 GB, free: 11.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/1.378, allocations: 150.5 kB / 0.6751 GB, free: 11.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007779/1.386, allocations: 3.967 MB / 0.6789 GB, free: 7.223 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005792/1.386, allocations: 61.7 kB / 0.679 GB, free: 7.156 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00228/1.389, allocations: 3.428 MB / 0.6823 GB, free: 3.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001281/1.39, allocations: 0.9599 MB / 0.6833 GB, free: 2.777 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007469/1.391, allocations: 139.7 kB / 0.6834 GB, free: 2.645 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004517/1.391, allocations: 0.6 MB / 0.684 GB, free: 2.035 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006126/1.397, allocations: 2.967 MB / 0.6869 GB, free: 15.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/1.408, allocations: 6.876 MB / 0.6936 GB, free: 6.254 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009716/1.418, allocations: 4.471 MB / 0.698 GB, free: 1.781 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001274/1.418, allocations: 36 kB / 0.698 GB, free: 1.746 MB / 474.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.02729/1.445, allocations: 10.56 MB / 0.7083 GB, free: 7.172 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/1.446, allocations: 70.75 kB / 0.7084 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001901/1.446, allocations: 136 kB / 0.7085 GB, free: 6.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003946/1.45, allocations: 1.131 MB / 0.7096 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008245/1.458, allocations: 1.708 MB / 0.7113 GB, free: 4.129 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2879/1.746, allocations: 5.909 MB / 0.7171 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007351/1.753, allocations: 427.6 kB / 0.7175 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001537/1.755, allocations: 426.5 kB / 0.7179 GB, free: 117.2 MB / 490.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 () * 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.001478/1.756, allocations: 0.6188 MB / 0.7185 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009795/1.757, allocations: 410.3 kB / 0.7189 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/1.771, allocations: 5.578 MB / 0.7243 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.246e-05/1.771, allocations: 27.78 kB / 0.7243 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.81e-05/1.771, allocations: 4.969 kB / 0.7243 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-05/1.771, allocations: 12.7 kB / 0.7244 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03072/1.802, allocations: 12.28 MB / 0.7363 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.183e-05/1.802, allocations: 3.938 kB / 0.7363 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003923/1.806, allocations: 0.511 MB / 0.7368 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003508/1.81, allocations: 0.9376 MB / 0.7378 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005745/1.81, allocations: 46.94 kB / 0.7378 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008996/1.819, allocations: 5.641 MB / 0.7433 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-06/1.819, allocations: 9.594 kB / 0.7433 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0183/1.838, allocations: 9.821 MB / 0.7529 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0028/1.84, allocations: 0.9152 MB / 0.7538 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/1.841, allocations: 43.86 kB / 0.7539 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002903/1.844, allocations: 194.6 kB / 0.754 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006043/1.845, allocations: 151.4 kB / 0.7542 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003144/1.845, allocations: 70.44 kB / 0.7542 GB, free: 109 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005747/1.851, allocations: 2.78 MB / 0.757 GB, free: 108 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.171e-06/1.851, allocations: 0 / 0.757 GB, free: 108 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007669/1.859, allocations: 1.259 MB / 0.7582 GB, free: 107.9 MB / 490.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 () * 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.0007507/1.86, allocations: 187.7 kB / 0.7584 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01351/1.873, allocations: 7.17 MB / 0.7654 GB, free: 105.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.873, allocations: 0 / 0.7654 GB, free: 105.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005347/1.879, allocations: 2.726 MB / 0.768 GB, free: 104.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/1.882, allocations: 460.8 kB / 0.7685 GB, free: 104.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02399/1.906, allocations: 10.69 MB / 0.7789 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006595/1.912, allocations: 3.903 MB / 0.7827 GB, free: 99.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002296/1.915, allocations: 369.3 kB / 0.7831 GB, free: 99.01 MB / 490.7 MB Notification: Performance of SimCode: time 1.761e-06/1.915, allocations: 0 / 0.7831 GB, free: 99.01 MB / 490.7 MB Notification: Performance of Templates: time 0.1249/2.04, allocations: 91.03 MB / 0.872 GB, free: 19.46 MB / 490.7 MB