Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.826/1.826, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003546, allocations: 12 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08973/0.09011, allocations: 44.5 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4213/0.5115, allocations: 90.47 MB / 399.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.5119, allocations: 94.83 kB / 399.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4283/0.9402, allocations: 109.1 MB / 0.4967 GB, free: 11.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.9403, allocations: 0 / 0.4967 GB, free: 11.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003253/0.9406, allocations: 112 kB / 0.4968 GB, free: 11.57 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.04671/0.9873, allocations: 6.602 MB / 0.5032 GB, free: 4.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.9874, allocations: 11.97 kB / 0.5033 GB, free: 4.879 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02842/1.016, allocations: 3.401 MB / 0.5066 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02851/1.044, allocations: 7.523 MB / 0.5139 GB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005559/1.045, allocations: 411.4 kB / 0.5143 GB, free: 9.477 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002865/1.048, allocations: 0.5387 MB / 0.5148 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3301/1.378, allocations: 16.62 MB / 0.5311 GB, free: 74.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003761/1.378, allocations: 73.25 kB / 0.5311 GB, free: 74.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002288/1.381, allocations: 263.7 kB / 0.5314 GB, free: 74.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004477/1.385, allocations: 1.485 MB / 0.5328 GB, free: 74.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05445/1.44, allocations: 14.49 MB / 0.547 GB, free: 74.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09332/1.533, allocations: 63.55 MB / 0.6091 GB, free: 35.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02769/1.561, allocations: 6.217 MB / 0.6151 GB, free: 33.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02828/1.589, allocations: 13.21 MB / 0.628 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/1.589, allocations: 58.48 kB / 0.6281 GB, free: 26.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 6.722e-06/1.589, allocations: 0 / 0.6281 GB, free: 26.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=278): time 0.1216/1.711, allocations: 26.68 MB / 0.6541 GB, free: 12.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003412/1.714, allocations: 4.617 MB / 0.6586 GB, free: 8.102 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01226/1.727, allocations: 4.847 MB / 0.6634 GB, free: 4.164 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009133/1.728, allocations: 68.98 kB / 0.6634 GB, free: 4.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003181/1.731, allocations: 3.719 MB / 0.6671 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002032/1.733, allocations: 1.096 MB / 0.6681 GB, free: 15.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001445/1.734, allocations: 163.9 kB / 0.6683 GB, free: 15.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000743/1.735, allocations: 0.6457 MB / 0.6689 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01087/1.746, allocations: 3.423 MB / 0.6723 GB, free: 12.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0158/1.762, allocations: 7.993 MB / 0.6801 GB, free: 2.684 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2912/2.053, allocations: 5.026 MB / 0.685 GB, free: 83.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001483/2.053, allocations: 46.47 kB / 0.685 GB, free: 83.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=1052) (initialization): time 0.04359/2.097, allocations: 13.3 MB / 0.698 GB, free: 83.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.95e-05/2.097, allocations: 76 kB / 0.6981 GB, free: 83.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0225/2.12, allocations: 6.53 MB / 0.7045 GB, free: 82.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01505/2.135, allocations: 2.866 MB / 0.7073 GB, free: 82.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01118/2.146, allocations: 1.912 MB / 0.7091 GB, free: 82.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/2.163, allocations: 12.85 MB / 0.7217 GB, free: 74.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01141/2.175, allocations: 0.8076 MB / 0.7225 GB, free: 74.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001433/2.176, allocations: 482.8 kB / 0.7229 GB, free: 74.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.005768/2.182, allocations: 2.513 MB / 0.7254 GB, free: 74.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/2.183, allocations: 449.8 kB / 0.7258 GB, free: 74.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02269/2.206, allocations: 7.021 MB / 0.7327 GB, free: 74.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.021/2.227, allocations: 6.29 MB / 0.7388 GB, free: 74.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.296e-05/2.227, allocations: 6.906 kB / 0.7388 GB, free: 74.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.53e-05/2.227, allocations: 10.31 kB / 0.7388 GB, free: 74.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04259/2.27, allocations: 15.74 MB / 0.7542 GB, free: 68.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/2.27, allocations: 6.625 kB / 0.7542 GB, free: 68.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004686/2.275, allocations: 0.5152 MB / 0.7547 GB, free: 68.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01439/2.289, allocations: 2.887 MB / 0.7575 GB, free: 68.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005592/2.29, allocations: 86.03 kB / 0.7576 GB, free: 68.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02021/2.31, allocations: 13.98 MB / 0.7713 GB, free: 58.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003102/2.313, allocations: 4.45 MB / 0.7756 GB, free: 54.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02847/2.341, allocations: 10.77 MB / 0.7861 GB, free: 47.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/2.343, allocations: 0.5168 MB / 0.7866 GB, free: 46.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001267/2.344, allocations: 71.31 kB / 0.7867 GB, free: 46.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004938/2.349, allocations: 354.1 kB / 0.787 GB, free: 46.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006871/2.35, allocations: 221.6 kB / 0.7873 GB, free: 46.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003163/2.35, allocations: 84.23 kB / 0.7873 GB, free: 46.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006948/2.357, allocations: 3.021 MB / 0.7903 GB, free: 43.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.21e-07/2.357, allocations: 4 kB / 0.7903 GB, free: 43.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008604/2.366, allocations: 1.593 MB / 0.7918 GB, free: 42.03 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.0007924/2.367, allocations: 236.3 kB / 0.7921 GB, free: 41.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02516/2.392, allocations: 9.937 MB / 0.8018 GB, free: 33.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/2.392, allocations: 4 kB / 0.8018 GB, free: 33.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01458/2.407, allocations: 4.951 MB / 0.8066 GB, free: 28.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/2.411, allocations: 0.5214 MB / 0.8071 GB, free: 28.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0328/2.443, allocations: 17.31 MB / 0.824 GB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005986/2.449, allocations: 4.079 MB / 0.828 GB, free: 7.535 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00223/2.452, allocations: 387.3 kB / 0.8284 GB, free: 7.16 MB / 426.7 MB Notification: Performance of SimCode: time 2.425e-06/2.452, allocations: 4 kB / 0.8284 GB, free: 7.156 MB / 426.7 MB Notification: Performance of Templates: time 0.9982/3.45, allocations: 324.7 MB / 1.145 GB, free: 12.73 MB / 458.7 MB