Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.|body3.frame_a.r_0.1.|body3.frame_a.r_0.2.|body3.frame_a.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body3.w_a.1.|body3.w_a.2.|body3.w_a.3.|springDamperSeries.s_damper",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 2.09/2.09, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003588, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09621/0.09659, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.476/0.5727, allocations: 90.47 MB / 399.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.5731, allocations: 96.86 kB / 399.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4511/1.024, allocations: 109.1 MB / 0.4968 GB, free: 11.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.024, allocations: 0 / 0.4968 GB, free: 11.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003513/1.025, allocations: 100 kB / 0.4969 GB, free: 10.95 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: 1913 * Number of variables: 1913 Notification: Performance of Generate backend data structure: time 0.04753/1.072, allocations: 6.605 MB / 0.5033 GB, free: 4.266 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/1.072, allocations: 12.03 kB / 0.5033 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03505/1.107, allocations: 3.405 MB / 0.5067 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03035/1.138, allocations: 7.526 MB / 0.514 GB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007019/1.138, allocations: 419.4 kB / 0.5144 GB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003427/1.142, allocations: 0.5387 MB / 0.5149 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3379/1.48, allocations: 16.57 MB / 0.5311 GB, free: 75.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004445/1.48, allocations: 75.2 kB / 0.5312 GB, free: 75.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002768/1.483, allocations: 261.4 kB / 0.5314 GB, free: 75.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004519/1.488, allocations: 1.49 MB / 0.5329 GB, free: 75.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05549/1.543, allocations: 14.48 MB / 0.547 GB, free: 75.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1023/1.646, allocations: 63.55 MB / 0.6091 GB, free: 36.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04086/1.686, allocations: 6.222 MB / 0.6152 GB, free: 34.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04975/1.736, allocations: 13.21 MB / 0.6281 GB, free: 28.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.305e-05/1.736, allocations: 62.89 kB / 0.6281 GB, free: 28.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 1.008e-05/1.736, allocations: 0 / 0.6281 GB, free: 28.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=278): time 0.1335/1.87, allocations: 26.68 MB / 0.6542 GB, free: 14.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004899/1.875, allocations: 4.618 MB / 0.6587 GB, free: 9.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01606/1.891, allocations: 4.854 MB / 0.6634 GB, free: 5.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00088/1.892, allocations: 61.7 kB / 0.6635 GB, free: 5.164 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00334/1.895, allocations: 3.829 MB / 0.6672 GB, free: 1.727 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001892/1.897, allocations: 1.094 MB / 0.6683 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/1.898, allocations: 163.9 kB / 0.6685 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005567/1.899, allocations: 0.6385 MB / 0.6691 GB, free: 56 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01788/1.917, allocations: 3.804 MB / 0.6728 GB, free: 13.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0161/1.933, allocations: 7.953 MB / 0.6806 GB, free: 3.547 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3111/2.244, allocations: 5.031 MB / 0.6855 GB, free: 84.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001758/2.244, allocations: 45.41 kB / 0.6855 GB, free: 84.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=1052) (initialization): time 0.04714/2.292, allocations: 13.45 MB / 0.6987 GB, free: 84.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/2.292, allocations: 76.12 kB / 0.6987 GB, free: 84.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02429/2.316, allocations: 6.527 MB / 0.7051 GB, free: 83.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0164/2.332, allocations: 2.866 MB / 0.7079 GB, free: 83.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01162/2.344, allocations: 1.913 MB / 0.7098 GB, free: 83.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0187/2.363, allocations: 12.84 MB / 0.7223 GB, free: 75.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01222/2.375, allocations: 0.818 MB / 0.7231 GB, free: 75.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00211/2.377, allocations: 486.5 kB / 0.7236 GB, free: 75.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 48 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],bar3.color[3],bar3.color[2],bar3.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (986): * Single equations (assignments): 965 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00725/2.385, allocations: 2.507 MB / 0.726 GB, free: 75.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/2.386, allocations: 449.8 kB / 0.7264 GB, free: 75.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02536/2.411, allocations: 7.022 MB / 0.7333 GB, free: 75.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02264/2.434, allocations: 6.289 MB / 0.7394 GB, free: 75.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.515e-05/2.434, allocations: 5.031 kB / 0.7395 GB, free: 75.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-05/2.434, allocations: 16.3 kB / 0.7395 GB, free: 75.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05159/2.486, allocations: 15.74 MB / 0.7548 GB, free: 69.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.756e-05/2.486, allocations: 6.844 kB / 0.7548 GB, free: 69.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005116/2.491, allocations: 0.5135 MB / 0.7553 GB, free: 69.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01551/2.506, allocations: 2.889 MB / 0.7582 GB, free: 69.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009493/2.507, allocations: 87.11 kB / 0.7582 GB, free: 69.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02167/2.529, allocations: 13.97 MB / 0.7719 GB, free: 60.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0034/2.533, allocations: 4.467 MB / 0.7763 GB, free: 55.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03454/2.567, allocations: 10.77 MB / 0.7868 GB, free: 48.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002664/2.57, allocations: 0.5057 MB / 0.7873 GB, free: 48.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003066/2.573, allocations: 71.41 kB / 0.7873 GB, free: 48.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007689/2.581, allocations: 359.8 kB / 0.7877 GB, free: 47.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001373/2.582, allocations: 221.3 kB / 0.7879 GB, free: 47.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005069/2.583, allocations: 87.3 kB / 0.788 GB, free: 47.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008813/2.592, allocations: 3.013 MB / 0.7909 GB, free: 45.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.51e-07/2.592, allocations: 0 / 0.7909 GB, free: 45.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0105/2.602, allocations: 1.597 MB / 0.7925 GB, free: 43.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 37 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],springDamperSeries.s_damper,body3.frame_a.r_0[1],body3.frame_a.r_0[2],body3.frame_a.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.w_a[1],body3.w_a[2],body3.w_a[3]) * 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 (226): * Single equations (assignments): 211 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00133/2.604, allocations: 239.5 kB / 0.7927 GB, free: 43.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02869/2.632, allocations: 9.927 MB / 0.8024 GB, free: 34.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.729e-05/2.632, allocations: 0 / 0.8024 GB, free: 34.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01634/2.649, allocations: 4.941 MB / 0.8072 GB, free: 30.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004829/2.654, allocations: 0.5177 MB / 0.8077 GB, free: 30.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03615/2.69, allocations: 16.75 MB / 0.8241 GB, free: 14.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008597/2.698, allocations: 4.071 MB / 0.8281 GB, free: 9.961 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0109/2.709, allocations: 2.397 MB / 0.8304 GB, free: 7.566 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/2.711, allocations: 334.6 kB / 0.8307 GB, free: 7.246 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/2.711, allocations: 0 / 0.8307 GB, free: 7.246 MB / 426.7 MB Notification: Performance of Templates: time 0.5273/3.239, allocations: 56.79 MB / 0.8862 GB, free: 70.91 MB / 426.7 MB