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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.727/1.727, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005575/0.0005575, allocations: 8 kB / 233.4 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.0885, allocations: 38.78 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3696/0.4582, allocations: 84.83 MB / 357 MB, free: 4.301 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/0.4586, allocations: 86.58 kB / 357 MB, free: 4.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6921/1.151, allocations: 107.7 MB / 464.8 MB, free: 72.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.976e-06/1.151, allocations: 0 / 464.8 MB, free: 72.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003078/1.151, allocations: 104.6 kB / 464.9 MB, free: 72.3 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.0463/1.197, allocations: 6.614 MB / 471.5 MB, free: 70 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/1.197, allocations: 9.25 kB / 471.5 MB, free: 70 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005014/1.202, allocations: 0.9815 MB / 472.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02749/1.23, allocations: 3.371 MB / 475.8 MB, free: 69.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02761/1.258, allocations: 7.5 MB / 483.3 MB, free: 68.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005423/1.258, allocations: 408.8 kB / 483.7 MB, free: 68.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003174/1.261, allocations: 0.5349 MB / 484.3 MB, free: 68.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0604/1.322, allocations: 16.59 MB / 0.4891 GB, free: 57.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004378/1.322, allocations: 75.28 kB / 0.4892 GB, free: 57.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003179/1.326, allocations: 262.5 kB / 0.4894 GB, free: 57.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004238/1.33, allocations: 1.491 MB / 0.4909 GB, free: 55.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05504/1.385, allocations: 14.48 MB / 0.505 GB, free: 41.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.426/1.811, allocations: 63.6 MB / 0.5671 GB, free: 40.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0439/1.855, allocations: 6.229 MB / 0.5732 GB, free: 39.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04576/1.901, allocations: 13.21 MB / 0.5861 GB, free: 36.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.958e-05/1.901, allocations: 57.88 kB / 0.5862 GB, free: 36.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 1.075e-05/1.901, allocations: 2.438 kB / 0.5862 GB, free: 36.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=278): time 0.1864/2.087, allocations: 26.89 MB / 0.6124 GB, free: 32.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005115/2.093, allocations: 4.596 MB / 0.6169 GB, free: 28.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01578/2.108, allocations: 4.322 MB / 0.6212 GB, free: 26.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001089/2.11, allocations: 76.66 kB / 0.6212 GB, free: 26.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004765/2.114, allocations: 3.834 MB / 0.625 GB, free: 23.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002411/2.117, allocations: 1.091 MB / 0.626 GB, free: 22.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/2.118, allocations: 159.6 kB / 0.6262 GB, free: 22.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000837/2.119, allocations: 0.6477 MB / 0.6268 GB, free: 22.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01505/2.134, allocations: 3.416 MB / 0.6302 GB, free: 21.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01945/2.154, allocations: 7.951 MB / 0.6379 GB, free: 14.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01907/2.173, allocations: 5.026 MB / 0.6428 GB, free: 12.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002257/2.173, allocations: 44 kB / 0.6429 GB, free: 12.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.05956/2.233, allocations: 13.16 MB / 0.6557 GB, free: 1.773 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001606/2.233, allocations: 72 kB / 0.6558 GB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0355/2.268, allocations: 6.341 MB / 0.662 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02201/2.29, allocations: 2.614 MB / 0.6645 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0166/2.307, allocations: 1.969 MB / 0.6665 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/2.326, allocations: 11.61 MB / 0.6778 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0138/2.34, allocations: 0.8087 MB / 0.6786 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002683/2.342, allocations: 491.8 kB / 0.6791 GB, free: 10.97 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.009062/2.351, allocations: 2.502 MB / 0.6815 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001471/2.353, allocations: 450.2 kB / 0.6819 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02907/2.382, allocations: 7.031 MB / 0.6888 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02594/2.408, allocations: 6.288 MB / 0.6949 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.196e-05/2.408, allocations: 12 kB / 0.6949 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-05/2.408, allocations: 15.91 kB / 0.695 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0591/2.467, allocations: 15.73 MB / 0.7103 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.742e-05/2.467, allocations: 4 kB / 0.7103 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005524/2.473, allocations: 0.5193 MB / 0.7108 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01701/2.49, allocations: 2.885 MB / 0.7136 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001029/2.491, allocations: 87.94 kB / 0.7137 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3115/2.803, allocations: 13.96 MB / 0.7274 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003559/2.806, allocations: 4.46 MB / 0.7317 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03549/2.842, allocations: 11.55 MB / 0.743 GB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/2.844, allocations: 0.5058 MB / 0.7435 GB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002151/2.846, allocations: 75.16 kB / 0.7436 GB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006723/2.853, allocations: 350.5 kB / 0.7439 GB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001349/2.854, allocations: 218.2 kB / 0.7441 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005151/2.855, allocations: 93.41 kB / 0.7442 GB, free: 120.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00975/2.864, allocations: 3.013 MB / 0.7471 GB, free: 120.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.074e-06/2.864, allocations: 0 / 0.7471 GB, free: 120.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01518/2.88, allocations: 1.587 MB / 0.7487 GB, free: 120.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.04692/2.927, allocations: 13.58 MB / 0.7619 GB, free: 116.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0325/2.959, allocations: 9.504 MB / 0.7712 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/2.959, allocations: 0 / 0.7712 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01725/2.976, allocations: 4.933 MB / 0.776 GB, free: 111.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005287/2.982, allocations: 0.5202 MB / 0.7766 GB, free: 111.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4275/3.409, allocations: 162 MB / 0.9348 GB, free: 93.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01001/3.419, allocations: 4.072 MB / 0.9387 GB, free: 92.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01214/3.432, allocations: 2.396 MB / 0.9411 GB, free: 92.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006663/3.438, allocations: 2.531 MB / 0.9436 GB, free: 92.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.995e-06/3.438, allocations: 0 / 0.9436 GB, free: 92.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5284/3.967, allocations: 108.7 MB / 1.05 GB, free: 122.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/3.967, allocations: 221.5 kB / 1.05 GB, free: 122.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.961/10.93, allocations: 1.594 kB / 1.05 GB, free: 122.1 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses_res.mat does not exist to compare? outputFormat=mat