Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.604/1.604, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003554, allocations: 12 kB / 233.2 MB, free: 3.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06989/0.07027, allocations: 38.78 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.3829, allocations: 84.83 MB / 356.9 MB, free: 5.262 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.3832, allocations: 85.89 kB / 356.9 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6716/1.055, allocations: 107.7 MB / 464.6 MB, free: 72.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.92e-06/1.055, allocations: 0 / 464.6 MB, free: 72.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002598/1.055, allocations: 103.2 kB / 464.7 MB, free: 72.29 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.03209/1.087, allocations: 6.604 MB / 471.3 MB, free: 69.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/1.087, allocations: 10.47 kB / 471.3 MB, free: 69.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02049/1.108, allocations: 3.368 MB / 474.7 MB, free: 69.6 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02118/1.129, allocations: 7.503 MB / 482.2 MB, free: 68.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005015/1.13, allocations: 411.9 kB / 482.6 MB, free: 68.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002391/1.132, allocations: 0.5417 MB / 483.2 MB, free: 68.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04355/1.176, allocations: 16.59 MB / 499.7 MB, free: 59.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002882/1.176, allocations: 75.34 kB / 499.8 MB, free: 59.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00198/1.178, allocations: 261 kB / 0.4884 GB, free: 59.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002824/1.181, allocations: 1.491 MB / 0.4898 GB, free: 57.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03713/1.218, allocations: 14.48 MB / 0.504 GB, free: 43.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3321/1.55, allocations: 63.61 MB / 0.5661 GB, free: 40.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02453/1.575, allocations: 6.224 MB / 0.5721 GB, free: 39.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02854/1.603, allocations: 13.21 MB / 0.585 GB, free: 36.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/1.603, allocations: 61.95 kB / 0.5851 GB, free: 36.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 6.358e-06/1.603, allocations: 0 / 0.5851 GB, free: 36.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=278): time 0.09981/1.703, allocations: 26.88 MB / 0.6114 GB, free: 32.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002994/1.706, allocations: 4.608 MB / 0.6159 GB, free: 28.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009509/1.716, allocations: 4.323 MB / 0.6201 GB, free: 26.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006659/1.716, allocations: 64.88 kB / 0.6201 GB, free: 26.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002605/1.719, allocations: 3.731 MB / 0.6238 GB, free: 23.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001524/1.721, allocations: 1.086 MB / 0.6248 GB, free: 22.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007926/1.721, allocations: 162.8 kB / 0.625 GB, free: 22.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004687/1.722, allocations: 0.6494 MB / 0.6256 GB, free: 22.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008145/1.73, allocations: 3.419 MB / 0.629 GB, free: 21.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01019/1.74, allocations: 7.945 MB / 0.6367 GB, free: 14.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.751, allocations: 5.031 MB / 0.6416 GB, free: 12.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/1.751, allocations: 44 kB / 0.6417 GB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.03326/1.785, allocations: 13.02 MB / 0.6544 GB, free: 2.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/1.785, allocations: 76 kB / 0.6545 GB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01761/1.802, allocations: 6.298 MB / 0.6606 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01034/1.813, allocations: 2.61 MB / 0.6632 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009306/1.822, allocations: 1.969 MB / 0.6651 GB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/1.838, allocations: 11.6 MB / 0.6764 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01036/1.849, allocations: 0.8172 MB / 0.6772 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00204/1.851, allocations: 494 kB / 0.6777 GB, free: 11.52 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.007656/1.858, allocations: 2.502 MB / 0.6801 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001384/1.86, allocations: 450.2 kB / 0.6806 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02198/1.882, allocations: 7.033 MB / 0.6874 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01953/1.901, allocations: 6.284 MB / 0.6936 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.93e-05/1.901, allocations: 8 kB / 0.6936 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.541e-05/1.901, allocations: 11.95 kB / 0.6936 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0452/1.947, allocations: 15.74 MB / 0.709 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-05/1.947, allocations: 8.125 kB / 0.709 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003728/1.951, allocations: 0.5215 MB / 0.7095 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01206/1.963, allocations: 2.885 MB / 0.7123 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008441/1.964, allocations: 87.94 kB / 0.7124 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.282/2.246, allocations: 13.96 MB / 0.726 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003001/2.249, allocations: 4.464 MB / 0.7304 GB, free: 122.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02651/2.275, allocations: 11.54 MB / 0.7416 GB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/2.277, allocations: 0.5052 MB / 0.7421 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001628/2.278, allocations: 71.09 kB / 0.7422 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00468/2.283, allocations: 353.1 kB / 0.7425 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001061/2.284, allocations: 218.9 kB / 0.7427 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00037/2.285, allocations: 94.25 kB / 0.7428 GB, free: 120.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007415/2.292, allocations: 3.016 MB / 0.7458 GB, free: 120.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.308e-06/2.292, allocations: 0 / 0.7458 GB, free: 120.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009541/2.302, allocations: 1.587 MB / 0.7473 GB, free: 120.6 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.001006/2.303, allocations: 232.8 kB / 0.7475 GB, free: 120.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02231/2.325, allocations: 9.556 MB / 0.7569 GB, free: 119.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/2.325, allocations: 7.719 kB / 0.7569 GB, free: 119.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0119/2.337, allocations: 4.953 MB / 0.7617 GB, free: 117.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004209/2.341, allocations: 0.5155 MB / 0.7622 GB, free: 117.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03216/2.373, allocations: 17.21 MB / 0.779 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008082/2.382, allocations: 4.084 MB / 0.783 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001879/2.383, allocations: 387.1 kB / 0.7834 GB, free: 107.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.659e-06/2.383, allocations: 0 / 0.7834 GB, free: 107.4 MB / 426.7 MB Notification: Performance of Templates: time 0.9136/3.297, allocations: 324.1 MB / 1.1 GB, free: 79.59 MB / 426.7 MB