Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.915/1.915, allocations: 171.1 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.000492, allocations: 8 kB / 233.9 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09019/0.09072, allocations: 38.77 MB / 272.6 MB, free: 11.52 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4023/0.4931, allocations: 84.83 MB / 357.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.4935, allocations: 91.52 kB / 357.5 MB, free: 4.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6917/1.185, allocations: 108.9 MB / 466.4 MB, free: 72.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.185, allocations: 0 / 466.4 MB, free: 72.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003059/1.186, allocations: 109.5 kB / 466.5 MB, free: 72.68 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.04562/1.231, allocations: 6.602 MB / 473.1 MB, free: 70.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.231, allocations: 11.25 kB / 473.1 MB, free: 70.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0278/1.259, allocations: 3.369 MB / 476.5 MB, free: 70 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02787/1.287, allocations: 7.499 MB / 484 MB, free: 69.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005696/1.288, allocations: 410.9 kB / 484.4 MB, free: 69.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003349/1.291, allocations: 0.5382 MB / 484.9 MB, free: 69.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05991/1.351, allocations: 16.59 MB / 0.4898 GB, free: 57.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003785/1.351, allocations: 71.34 kB / 0.4898 GB, free: 57.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002996/1.354, allocations: 264.3 kB / 0.4901 GB, free: 57.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004304/1.359, allocations: 1.491 MB / 0.4916 GB, free: 56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05376/1.413, allocations: 14.48 MB / 0.5057 GB, free: 41.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4598/1.872, allocations: 63.61 MB / 0.5678 GB, free: 40.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03854/1.911, allocations: 6.228 MB / 0.5739 GB, free: 40.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03412/1.945, allocations: 13.21 MB / 0.5868 GB, free: 37.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/1.945, allocations: 61 kB / 0.5868 GB, free: 37.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 6.632e-06/1.945, allocations: 0 / 0.5868 GB, free: 37.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=278): time 0.1328/2.078, allocations: 26.69 MB / 0.6129 GB, free: 32.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00391/2.082, allocations: 4.61 MB / 0.6174 GB, free: 28.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01283/2.095, allocations: 4.845 MB / 0.6221 GB, free: 26.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009473/2.096, allocations: 62.95 kB / 0.6222 GB, free: 26.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003665/2.1, allocations: 3.84 MB / 0.626 GB, free: 23.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002014/2.102, allocations: 1.094 MB / 0.627 GB, free: 22.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/2.103, allocations: 159 kB / 0.6272 GB, free: 22.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0007376/2.104, allocations: 0.6492 MB / 0.6278 GB, free: 22.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0103/2.114, allocations: 3.415 MB / 0.6311 GB, free: 21.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01356/2.128, allocations: 7.954 MB / 0.6389 GB, free: 14.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01351/2.141, allocations: 5.025 MB / 0.6438 GB, free: 12.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001725/2.142, allocations: 48 kB / 0.6439 GB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.04725/2.189, allocations: 13.15 MB / 0.6567 GB, free: 1.648 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/2.189, allocations: 76 kB / 0.6568 GB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03512/2.224, allocations: 6.39 MB / 0.663 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01971/2.244, allocations: 2.609 MB / 0.6656 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01779/2.262, allocations: 1.965 MB / 0.6675 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01867/2.281, allocations: 11.59 MB / 0.6788 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01311/2.294, allocations: 0.8074 MB / 0.6796 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002429/2.296, allocations: 489.9 kB / 0.6801 GB, free: 10.82 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.009046/2.305, allocations: 2.507 MB / 0.6825 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/2.307, allocations: 446.3 kB / 0.6829 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02791/2.335, allocations: 7.028 MB / 0.6898 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02552/2.36, allocations: 6.289 MB / 0.6959 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.517e-05/2.36, allocations: 8 kB / 0.6959 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001079/2.361, allocations: 15.91 kB / 0.696 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05404/2.415, allocations: 15.73 MB / 0.7113 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-05/2.415, allocations: 7 kB / 0.7113 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005206/2.42, allocations: 0.5187 MB / 0.7118 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01642/2.436, allocations: 2.888 MB / 0.7147 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000706/2.437, allocations: 87.94 kB / 0.7147 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3038/2.741, allocations: 13.96 MB / 0.7284 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003473/2.744, allocations: 4.466 MB / 0.7327 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03353/2.778, allocations: 10.76 MB / 0.7432 GB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001756/2.78, allocations: 0.5089 MB / 0.7437 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001775/2.782, allocations: 77.75 kB / 0.7438 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006413/2.788, allocations: 345.2 kB / 0.7441 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001232/2.789, allocations: 221.7 kB / 0.7444 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003539/2.79, allocations: 88.34 kB / 0.7444 GB, free: 121.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008094/2.798, allocations: 3.017 MB / 0.7474 GB, free: 121.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.41e-07/2.798, allocations: 0 / 0.7474 GB, free: 121.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01023/2.808, allocations: 1.588 MB / 0.7489 GB, free: 121.4 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.001101/2.809, allocations: 233.1 kB / 0.7492 GB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03537/2.845, allocations: 9.505 MB / 0.7584 GB, free: 120.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/2.845, allocations: 3.594 kB / 0.7584 GB, free: 120.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02199/2.867, allocations: 4.937 MB / 0.7633 GB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006208/2.873, allocations: 0.5248 MB / 0.7638 GB, free: 118.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04584/2.919, allocations: 16.71 MB / 0.7801 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009667/2.929, allocations: 4.07 MB / 0.7841 GB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01149/2.94, allocations: 2.403 MB / 0.7864 GB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002277/2.942, allocations: 333.2 kB / 0.7867 GB, free: 108.3 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/2.943, allocations: 0 / 0.7867 GB, free: 108.3 MB / 426.7 MB Notification: Performance of Templates: time 0.1655/3.108, allocations: 54.86 MB / 0.8403 GB, free: 65.29 MB / 426.7 MB