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.655/1.655, allocations: 171.2 MB / 184.2 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.807e-05, allocations: 4 kB / 228.8 MB, free: 15.31 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2116, allocations: 38.77 MB / 267.6 MB, free: 9.418 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.3397, allocations: 84.75 MB / 352.3 MB, free: 4.543 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.34, allocations: 87.95 kB / 352.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5584/0.8984, allocations: 107.8 MB / 460.2 MB, free: 1.977 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.371e-06/0.8985, allocations: 0 / 460.2 MB, free: 1.977 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002937/0.8988, allocations: 108 kB / 460.3 MB, free: 1.871 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.03238/0.9312, allocations: 6.296 MB / 466.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.9312, allocations: 12.03 kB / 466.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02098/0.9522, allocations: 3.374 MB / 470 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02453/0.9768, allocations: 7.468 MB / 477.5 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006738/0.9775, allocations: 410.7 kB / 477.9 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002726/0.9803, allocations: 0.5426 MB / 478.4 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2616/1.242, allocations: 16.39 MB / 494.8 MB, free: 52.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004473/1.242, allocations: 80.36 kB / 494.9 MB, free: 52.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00239/1.245, allocations: 262.5 kB / 495.1 MB, free: 52.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003294/1.248, allocations: 1.485 MB / 496.6 MB, free: 52.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03878/1.287, allocations: 14.12 MB / 0.4988 GB, free: 52.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08464/1.372, allocations: 63.62 MB / 0.5609 GB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02245/1.394, allocations: 6.196 MB / 0.5669 GB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005502/1.4, allocations: 2.955 MB / 0.5698 GB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02724/1.427, allocations: 13.21 MB / 0.5827 GB, free: 18.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/1.427, allocations: 56.06 kB / 0.5828 GB, free: 18.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 6.765e-06/1.427, allocations: 0 / 0.5828 GB, free: 18.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=278): time 0.08875/1.516, allocations: 21.9 MB / 0.6042 GB, free: 2.207 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004717/1.521, allocations: 4.57 MB / 0.6086 GB, free: 13.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/1.531, allocations: 4.191 MB / 0.6127 GB, free: 9.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000681/1.532, allocations: 65.7 kB / 0.6128 GB, free: 9.652 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003923/1.536, allocations: 3.727 MB / 0.6164 GB, free: 6.277 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001932/1.538, allocations: 1.096 MB / 0.6175 GB, free: 5.309 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/1.539, allocations: 159.4 kB / 0.6176 GB, free: 5.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0008576/1.54, allocations: 0.6462 MB / 0.6183 GB, free: 4.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007913/1.547, allocations: 3.229 MB / 0.6214 GB, free: 1.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2276/1.775, allocations: 7.76 MB / 0.629 GB, free: 79.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00981/1.785, allocations: 4.886 MB / 0.6338 GB, free: 79.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001528/1.785, allocations: 45.34 kB / 0.6338 GB, free: 79.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.03254/1.818, allocations: 12.64 MB / 0.6462 GB, free: 78.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001436/1.818, allocations: 74.38 kB / 0.6462 GB, free: 78.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01615/1.834, allocations: 6.175 MB / 0.6523 GB, free: 78.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009793/1.844, allocations: 2.605 MB / 0.6548 GB, free: 78.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008921/1.853, allocations: 1.968 MB / 0.6567 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/1.865, allocations: 11.51 MB / 0.668 GB, free: 70.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/1.876, allocations: 0.8106 MB / 0.6688 GB, free: 70.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001864/1.877, allocations: 483 kB / 0.6692 GB, free: 70.41 MB / 378.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 () * 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.002661/1.88, allocations: 0.7115 MB / 0.6699 GB, free: 70.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/1.881, allocations: 453.2 kB / 0.6703 GB, free: 70.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01946/1.901, allocations: 6.897 MB / 0.6771 GB, free: 69.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0172/1.918, allocations: 6.172 MB / 0.6831 GB, free: 67.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.622e-05/1.918, allocations: 10.56 kB / 0.6831 GB, free: 67.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.4e-05/1.918, allocations: 17.27 kB / 0.6831 GB, free: 67.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03965/1.958, allocations: 15.65 MB / 0.6984 GB, free: 61.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.903e-05/1.958, allocations: 8 kB / 0.6984 GB, free: 61.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003494/1.961, allocations: 0.5143 MB / 0.6989 GB, free: 60.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01072/1.972, allocations: 2.888 MB / 0.7017 GB, free: 58.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007472/1.973, allocations: 90.44 kB / 0.7018 GB, free: 58.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01595/1.989, allocations: 13.71 MB / 0.7152 GB, free: 46.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002814/1.992, allocations: 4.43 MB / 0.7195 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02288/2.015, allocations: 11.43 MB / 0.7307 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/2.016, allocations: 0.504 MB / 0.7312 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001397/2.018, allocations: 71.8 kB / 0.7313 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004276/2.022, allocations: 359.7 kB / 0.7316 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008453/2.023, allocations: 204.9 kB / 0.7318 GB, free: 30.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003364/2.023, allocations: 91.84 kB / 0.7319 GB, free: 30.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005263/2.028, allocations: 2.885 MB / 0.7347 GB, free: 28.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.68e-07/2.028, allocations: 0 / 0.7347 GB, free: 28.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.009996/2.038, allocations: 1.576 MB / 0.7363 GB, free: 26.64 MB / 378.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 () * 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.0009373/2.039, allocations: 234.9 kB / 0.7365 GB, free: 26.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01942/2.059, allocations: 9.322 MB / 0.7456 GB, free: 17.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/2.059, allocations: 0 / 0.7456 GB, free: 17.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01106/2.07, allocations: 4.9 MB / 0.7504 GB, free: 12.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003724/2.074, allocations: 0.5198 MB / 0.7509 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.336/2.41, allocations: 12.92 MB / 0.7635 GB, free: 75.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007152/2.417, allocations: 4.08 MB / 0.7675 GB, free: 74.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/2.419, allocations: 389 kB / 0.7678 GB, free: 74.65 MB / 378.7 MB Notification: Performance of SimCode: time 1.953e-06/2.419, allocations: 1.438 kB / 0.7678 GB, free: 74.65 MB / 378.7 MB Notification: Performance of Templates: time 0.8667/3.286, allocations: 324.1 MB / 1.084 GB, free: 97.77 MB / 410.7 MB