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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.619/1.619, allocations: 171.3 MB / 179.2 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.373e-05, allocations: 8 kB / 222.5 MB, free: 4.738 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2116, allocations: 38.77 MB / 261.3 MB, free: 12.99 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.3409, allocations: 84.07 MB / 345.4 MB, free: 9.414 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.3412, allocations: 83.95 kB / 345.4 MB, free: 9.332 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5451/0.8864, allocations: 105.4 MB / 450.8 MB, free: 27.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.8864, allocations: 0 / 450.8 MB, free: 27.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002557/0.8867, allocations: 104 kB / 450.9 MB, free: 26.92 MB / 314.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.03163/0.9183, allocations: 6.3 MB / 457.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.9184, allocations: 8.031 kB / 457.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01896/0.9374, allocations: 3.375 MB / 460.6 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02043/0.9578, allocations: 7.464 MB / 468.1 MB, free: 9.625 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003305/0.9582, allocations: 172 kB / 468.2 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002254/0.9605, allocations: 327.8 kB / 468.6 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01695/0.9774, allocations: 8.374 MB / 476.9 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0296/1.007, allocations: 12.19 MB / 489.1 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002847/1.007, allocations: 71.34 kB / 489.2 MB, free: 3.273 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001691/1.009, allocations: 36 kB / 489.2 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003543/1.013, allocations: 1.496 MB / 490.7 MB, free: 1.738 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2917/1.304, allocations: 62.61 MB / 0.5404 GB, free: 29.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006853/1.311, allocations: 4.222 MB / 0.5445 GB, free: 28.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004699/1.316, allocations: 2.794 MB / 0.5472 GB, free: 28.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0245/1.341, allocations: 12.03 MB / 0.559 GB, free: 25.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/1.341, allocations: 55.75 kB / 0.559 GB, free: 25.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=238): time 7.32e-06/1.341, allocations: 1.5 kB / 0.559 GB, free: 25.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=267): time 0.06181/1.403, allocations: 19.32 MB / 0.5779 GB, free: 18.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/1.403, allocations: 163.8 kB / 0.578 GB, free: 18.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007444/1.41, allocations: 3.652 MB / 0.5816 GB, free: 17.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006411/1.411, allocations: 28.8 kB / 0.5816 GB, free: 17.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002676/1.414, allocations: 3.844 MB / 0.5854 GB, free: 14.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001493/1.415, allocations: 1.037 MB / 0.5864 GB, free: 13.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007632/1.416, allocations: 3.812 kB / 0.5864 GB, free: 13.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005292/1.416, allocations: 0.6511 MB / 0.587 GB, free: 13.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006375/1.423, allocations: 3.089 MB / 0.5901 GB, free: 12.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009153/1.432, allocations: 7.744 MB / 0.5976 GB, free: 4.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009027/1.441, allocations: 4.749 MB / 0.6023 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001512/1.441, allocations: 48 kB / 0.6023 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of matching and sorting (n=1072) (initialization): time 0.04052/1.482, allocations: 12.11 MB / 0.6141 GB, free: 8.094 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/1.482, allocations: 76 kB / 0.6142 GB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01616/1.498, allocations: 5.96 MB / 0.62 GB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/1.508, allocations: 2.578 MB / 0.6225 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008935/1.517, allocations: 2.007 MB / 0.6245 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/1.532, allocations: 11.1 MB / 0.6353 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009985/1.542, allocations: 0.6622 MB / 0.636 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001898/1.544, allocations: 498.4 kB / 0.6365 GB, free: 4.102 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 757 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1015): * Single equations (assignments): 994 * 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.001772/1.546, allocations: 0.5314 MB / 0.637 GB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/1.547, allocations: 414.6 kB / 0.6374 GB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2321/1.779, allocations: 6.6 MB / 0.6438 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01611/1.795, allocations: 5.949 MB / 0.6496 GB, free: 88.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.555e-05/1.796, allocations: 7.469 kB / 0.6496 GB, free: 88.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.992e-05/1.796, allocations: 18.25 kB / 0.6497 GB, free: 88.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03592/1.832, allocations: 14.27 MB / 0.6636 GB, free: 87.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.784e-05/1.832, allocations: 6.656 kB / 0.6636 GB, free: 87.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003618/1.835, allocations: 0.4996 MB / 0.6641 GB, free: 87.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01161/1.847, allocations: 2.831 MB / 0.6669 GB, free: 87.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007421/1.848, allocations: 55.8 kB / 0.6669 GB, free: 87.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/1.864, allocations: 13.39 MB / 0.68 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002776/1.867, allocations: 4.24 MB / 0.6841 GB, free: 76.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02322/1.89, allocations: 10.68 MB / 0.6945 GB, free: 73.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/1.892, allocations: 471.9 kB / 0.695 GB, free: 73.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001496/1.893, allocations: 30.45 kB / 0.695 GB, free: 73.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00484/1.898, allocations: 311.3 kB / 0.6953 GB, free: 73.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001058/1.899, allocations: 201.2 kB / 0.6955 GB, free: 73.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003659/1.9, allocations: 81.48 kB / 0.6956 GB, free: 73.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005316/1.905, allocations: 2.406 MB / 0.6979 GB, free: 72.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.157e-06/1.905, allocations: 3.875 kB / 0.6979 GB, free: 72.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.009331/1.914, allocations: 1.435 MB / 0.6993 GB, free: 72.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 200 * 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.0009888/1.915, allocations: 187.7 kB / 0.6995 GB, free: 72.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01947/1.935, allocations: 8.907 MB / 0.7082 GB, free: 69.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.843e-06/1.935, allocations: 0 / 0.7082 GB, free: 69.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01077/1.946, allocations: 4.756 MB / 0.7129 GB, free: 66.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003304/1.949, allocations: 432 kB / 0.7133 GB, free: 66.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02704/1.976, allocations: 12.63 MB / 0.7256 GB, free: 55.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008007/1.984, allocations: 4.057 MB / 0.7296 GB, free: 52.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00183/1.986, allocations: 377.7 kB / 0.7299 GB, free: 51.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.024e-06/1.986, allocations: 4 kB / 0.7299 GB, free: 51.91 MB / 378.7 MB Notification: Performance of Templates: time 0.8347/2.821, allocations: 320.7 MB / 1.043 GB, free: 12.18 MB / 394.7 MB