Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.729/1.729, allocations: 171.1 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003708, allocations: 12 kB / 233.8 MB, free: 0.9766 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08635/0.08675, allocations: 38.77 MB / 272.6 MB, free: 10.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.4513, allocations: 84.82 MB / 357.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/0.4517, allocations: 91.94 kB / 357.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6752/1.127, allocations: 108.9 MB / 466.3 MB, free: 78.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.127, allocations: 0 / 466.3 MB, free: 78.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003655/1.127, allocations: 108.8 kB / 466.4 MB, free: 78.2 MB / 346.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.04527/1.173, allocations: 6.599 MB / 473 MB, free: 74.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1.173, allocations: 10.5 kB / 473 MB, free: 74.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02709/1.2, allocations: 3.378 MB / 476.4 MB, free: 73.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02743/1.227, allocations: 7.509 MB / 483.9 MB, free: 67.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005392/1.228, allocations: 405.4 kB / 484.3 MB, free: 66.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003297/1.231, allocations: 0.5339 MB / 484.9 MB, free: 66.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05802/1.289, allocations: 16.63 MB / 0.4897 GB, free: 48.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003584/1.29, allocations: 75.33 kB / 0.4898 GB, free: 48.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002755/1.292, allocations: 263.6 kB / 0.4901 GB, free: 48.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004121/1.297, allocations: 1.491 MB / 0.4915 GB, free: 46.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.053/1.35, allocations: 14.48 MB / 0.5057 GB, free: 32.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3691/1.719, allocations: 63.6 MB / 0.5678 GB, free: 29.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02984/1.749, allocations: 6.218 MB / 0.5738 GB, free: 28.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0359/1.785, allocations: 13.2 MB / 0.5867 GB, free: 25.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/1.785, allocations: 59.78 kB / 0.5868 GB, free: 25.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=246): time 6.763e-06/1.785, allocations: 3.188 kB / 0.5868 GB, free: 25.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=278): time 0.1325/1.917, allocations: 26.69 MB / 0.6129 GB, free: 17.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003442/1.921, allocations: 4.604 MB / 0.6174 GB, free: 12.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/1.932, allocations: 4.841 MB / 0.6221 GB, free: 11.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008979/1.933, allocations: 65.77 kB / 0.6221 GB, free: 11.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003168/1.937, allocations: 3.73 MB / 0.6258 GB, free: 8.145 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002007/1.939, allocations: 1.088 MB / 0.6269 GB, free: 7.352 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/1.94, allocations: 165.1 kB / 0.627 GB, free: 7.227 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0006001/1.94, allocations: 0.6475 MB / 0.6276 GB, free: 6.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009982/1.95, allocations: 3.416 MB / 0.631 GB, free: 5.406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.014/1.964, allocations: 7.978 MB / 0.6388 GB, free: 12.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01445/1.979, allocations: 5.027 MB / 0.6437 GB, free: 7.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002009/1.979, allocations: 48 kB / 0.6437 GB, free: 7.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.04591/2.025, allocations: 13.02 MB / 0.6564 GB, free: 12.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/2.025, allocations: 72 kB / 0.6565 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02465/2.05, allocations: 6.291 MB / 0.6627 GB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01468/2.065, allocations: 2.61 MB / 0.6652 GB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01332/2.078, allocations: 1.965 MB / 0.6671 GB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/2.095, allocations: 11.59 MB / 0.6784 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01336/2.109, allocations: 0.8079 MB / 0.6792 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002401/2.111, allocations: 493.2 kB / 0.6797 GB, free: 4.285 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 729 * 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 (996): * Single equations (assignments): 975 * 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 {1,1,1} * 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.008859/2.12, allocations: 2.507 MB / 0.6821 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001529/2.122, allocations: 446.2 kB / 0.6826 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2911/2.413, allocations: 7.025 MB / 0.6894 GB, free: 108.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02568/2.439, allocations: 6.283 MB / 0.6956 GB, free: 108.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-05/2.439, allocations: 6.156 kB / 0.6956 GB, free: 108.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001035/2.439, allocations: 16.2 kB / 0.6956 GB, free: 108.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05259/2.491, allocations: 15.73 MB / 0.711 GB, free: 106 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.476e-05/2.492, allocations: 6.375 kB / 0.711 GB, free: 106 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005155/2.497, allocations: 0.5176 MB / 0.7115 GB, free: 105.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01558/2.512, allocations: 2.888 MB / 0.7143 GB, free: 105.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009832/2.513, allocations: 89.02 kB / 0.7144 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02167/2.535, allocations: 13.97 MB / 0.728 GB, free: 96.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003269/2.538, allocations: 4.459 MB / 0.7324 GB, free: 92.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03254/2.571, allocations: 10.76 MB / 0.7429 GB, free: 88.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/2.573, allocations: 0.5047 MB / 0.7434 GB, free: 88.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002346/2.575, allocations: 72.27 kB / 0.7434 GB, free: 88.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006491/2.582, allocations: 358.5 kB / 0.7438 GB, free: 88.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001318/2.583, allocations: 213.3 kB / 0.744 GB, free: 88.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004393/2.584, allocations: 91.98 kB / 0.7441 GB, free: 88.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.008541/2.592, allocations: 3.017 MB / 0.747 GB, free: 87.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.31e-07/2.592, allocations: 0 / 0.747 GB, free: 87.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01022/2.602, allocations: 1.583 MB / 0.7486 GB, free: 86.98 MB / 394.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.001317/2.604, allocations: 233.8 kB / 0.7488 GB, free: 86.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.03781/2.642, allocations: 9.533 MB / 0.7581 GB, free: 79.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/2.642, allocations: 0 / 0.7581 GB, free: 79.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02213/2.664, allocations: 4.953 MB / 0.7629 GB, free: 74.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00653/2.67, allocations: 0.5206 MB / 0.7634 GB, free: 74.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04399/2.714, allocations: 17.28 MB / 0.7803 GB, free: 58.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00924/2.724, allocations: 4.084 MB / 0.7843 GB, free: 54.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002437/2.726, allocations: 391.3 kB / 0.7847 GB, free: 53.98 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/2.726, allocations: 0 / 0.7847 GB, free: 53.98 MB / 394.7 MB Notification: Performance of Templates: time 1.114/3.841, allocations: 324.1 MB / 1.101 GB, free: 18.74 MB / 410.7 MB