Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Torque3.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.Forces.Torque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadModel(ModelicaTest): time 2.246/2.246, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006026/0.0006026, allocations: 12 kB / 314.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3372, allocations: 54.86 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/0.5191, allocations: 104 MB / 473.8 MB, free: 2.609 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.5194, allocations: 79.97 kB / 473.8 MB, free: 2.531 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.475/1.994, allocations: 224.9 MB / 0.6823 GB, free: 42.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.687e-06/1.994, allocations: 0 / 0.6823 GB, free: 42.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000781/1.995, allocations: 239.7 kB / 0.6826 GB, free: 42.36 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: 4184 * Number of variables: 4184 Notification: Performance of Generate backend data structure: time 0.05211/2.047, allocations: 12.26 MB / 0.6945 GB, free: 37.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/2.047, allocations: 12.67 kB / 0.6946 GB, free: 37.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09232/2.14, allocations: 12.63 MB / 0.7069 GB, free: 37 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04372/2.183, allocations: 12.59 MB / 0.7192 GB, free: 35.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00121/2.185, allocations: 0.9042 MB / 0.7201 GB, free: 35.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006822/2.191, allocations: 1.203 MB / 0.7213 GB, free: 35.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09164/2.283, allocations: 28.48 MB / 0.7491 GB, free: 22.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009472/2.284, allocations: 140.4 kB / 0.7492 GB, free: 22.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006229/2.29, allocations: 0.5541 MB / 0.7497 GB, free: 21.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005882/2.296, allocations: 2.678 MB / 0.7524 GB, free: 19.69 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07506/2.371, allocations: 23.58 MB / 0.7754 GB, free: 364 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6307/3.002, allocations: 116.9 MB / 0.8895 GB, free: 40.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08404/3.086, allocations: 13.72 MB / 0.9029 GB, free: 39.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005612/3.092, allocations: 2.345 MB / 0.9052 GB, free: 37.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/3.092, allocations: 88.19 kB / 0.9053 GB, free: 37.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=559): time 1.596e-05/3.092, allocations: 0 / 0.9053 GB, free: 37.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=643): time 0.3061/3.398, allocations: 63.71 MB / 0.9675 GB, free: 27.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/3.399, allocations: 323.5 kB / 0.9678 GB, free: 27.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02741/3.426, allocations: 10.17 MB / 0.9777 GB, free: 24.08 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002056/3.428, allocations: 125.5 kB / 0.9779 GB, free: 23.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006859/3.435, allocations: 7.305 MB / 0.985 GB, free: 18.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004349/3.44, allocations: 2.336 MB / 0.9873 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003051/3.443, allocations: 291.8 kB / 0.9876 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001477/3.444, allocations: 0.9225 MB / 0.9885 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01918/3.463, allocations: 6.519 MB / 0.9948 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02917/3.493, allocations: 14.15 MB / 1.009 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02621/3.519, allocations: 9.406 MB / 1.018 GB, free: 5.133 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003595/3.519, allocations: 76 kB / 1.018 GB, free: 5.059 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1861) (initialization): time 0.471/3.99, allocations: 23.1 MB / 1.04 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002412/3.991, allocations: 119 kB / 1.041 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005183/3.991, allocations: 262.6 kB / 1.041 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01424/4.005, allocations: 3.198 MB / 1.044 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02453/4.03, allocations: 3.501 MB / 1.047 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04593/4.076, allocations: 23.2 MB / 1.07 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0187/4.095, allocations: 0.8565 MB / 1.071 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004034/4.099, allocations: 0.811 MB / 1.072 GB, free: 108.9 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1201 * Number of states: 0 () * Number of discrete variables: 105 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1741): * Single equations (assignments): 1734 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01749/4.116, allocations: 5.329 MB / 1.077 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00413/4.12, allocations: 0.9412 MB / 1.078 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04781/4.168, allocations: 14.52 MB / 1.092 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001113/4.168, allocations: 63.77 kB / 1.092 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.398e-05/4.169, allocations: 18.28 kB / 1.092 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001798/4.169, allocations: 33.47 kB / 1.092 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0979/4.267, allocations: 31.17 MB / 1.123 GB, free: 94.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001072/4.267, allocations: 3.812 kB / 1.123 GB, free: 94.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01262/4.279, allocations: 1.221 MB / 1.124 GB, free: 94.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01311/4.293, allocations: 2.773 MB / 1.126 GB, free: 94.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00227/4.295, allocations: 121.5 kB / 1.127 GB, free: 94.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0439/4.339, allocations: 21.68 MB / 1.148 GB, free: 75.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/4.339, allocations: 8 kB / 1.148 GB, free: 75.42 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06176/4.401, allocations: 22.33 MB / 1.17 GB, free: 56.19 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008435/4.409, allocations: 2.032 MB / 1.172 GB, free: 54.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005017/4.414, allocations: 113.8 kB / 1.172 GB, free: 54.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01181/4.426, allocations: 478.8 kB / 1.172 GB, free: 53.94 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002617/4.429, allocations: 390.2 kB / 1.172 GB, free: 53.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001778/4.431, allocations: 174.7 kB / 1.173 GB, free: 53.53 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01829/4.449, allocations: 6.504 MB / 1.179 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.062e-06/4.449, allocations: 4 kB / 1.179 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02029/4.469, allocations: 2.936 MB / 1.182 GB, free: 45.29 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (554): * Single equations (assignments): 547 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002598/4.472, allocations: 301.5 kB / 1.182 GB, free: 45.01 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03933/4.511, allocations: 16.28 MB / 1.198 GB, free: 30.78 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/4.511, allocations: 4 kB / 1.198 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.021/4.532, allocations: 7.16 MB / 1.205 GB, free: 24.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01131/4.544, allocations: 1.19 MB / 1.206 GB, free: 23.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4888/5.033, allocations: 34.34 MB / 1.24 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02811/5.061, allocations: 8.304 MB / 1.248 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01287/5.074, allocations: 0.7707 MB / 1.249 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of SimCode: time 1.292e-06/5.074, allocations: 0 / 1.249 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of Templates: time 1.145/6.219, allocations: 346.9 MB / 1.587 GB, free: 23.06 MB / 0.5573 GB