Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 194.9 MB / 211.1 MB, free: 8.762 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003499, allocations: 8 kB / 264.1 MB, free: 3.68 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3252, allocations: 44.51 MB / 308.6 MB, free: 12.7 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.4887, allocations: 90.47 MB / 399 MB, free: 2.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.4891, allocations: 87.95 kB / 399.1 MB, free: 2.004 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6834/1.172, allocations: 107.9 MB / 0.4952 GB, free: 17.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.346e-06/1.173, allocations: 0 / 0.4952 GB, free: 17.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004032/1.173, allocations: 100 kB / 0.4952 GB, free: 17.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.05718/1.23, allocations: 6.617 MB / 0.5017 GB, free: 10.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.23, allocations: 8.031 kB / 0.5017 GB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004501/1.235, allocations: 0.9874 MB / 0.5027 GB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02743/1.262, allocations: 3.398 MB / 0.506 GB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0293/1.292, allocations: 7.526 MB / 0.5134 GB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007533/1.292, allocations: 410.7 kB / 0.5137 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003773/1.296, allocations: 0.5387 MB / 0.5143 GB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06856/1.365, allocations: 16.58 MB / 0.5305 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004635/1.365, allocations: 71.34 kB / 0.5305 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003074/1.368, allocations: 263.9 kB / 0.5308 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005844/1.374, allocations: 1.484 MB / 0.5322 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08288/1.457, allocations: 14.49 MB / 0.5464 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4051/1.862, allocations: 63.54 MB / 0.6084 GB, free: 35.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02844/1.891, allocations: 6.228 MB / 0.6145 GB, free: 35.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03497/1.926, allocations: 13.21 MB / 0.6274 GB, free: 31.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/1.926, allocations: 59.38 kB / 0.6275 GB, free: 31.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=246): time 7.715e-06/1.926, allocations: 3.844 kB / 0.6275 GB, free: 31.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=278): time 0.1294/2.055, allocations: 26.88 MB / 0.6537 GB, free: 23.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003522/2.059, allocations: 4.607 MB / 0.6582 GB, free: 18.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01144/2.07, allocations: 4.324 MB / 0.6624 GB, free: 17.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008575/2.071, allocations: 63.11 kB / 0.6625 GB, free: 17.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003515/2.075, allocations: 3.836 MB / 0.6663 GB, free: 14.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001979/2.077, allocations: 1.094 MB / 0.6673 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/2.078, allocations: 161 kB / 0.6675 GB, free: 13.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006309/2.079, allocations: 0.6456 MB / 0.6681 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01087/2.09, allocations: 3.421 MB / 0.6714 GB, free: 9.711 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01302/2.103, allocations: 7.952 MB / 0.6792 GB, free: 444 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02429/2.127, allocations: 5.629 MB / 0.6847 GB, free: 13.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001861/2.128, allocations: 48 kB / 0.6848 GB, free: 13.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=1052) (initialization): time 0.05179/2.179, allocations: 13.46 MB / 0.6979 GB, free: 2.758 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/2.18, allocations: 72 kB / 0.698 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02715/2.207, allocations: 6.539 MB / 0.7044 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01769/2.225, allocations: 2.861 MB / 0.7071 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01307/2.238, allocations: 1.911 MB / 0.709 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3665/2.604, allocations: 12.85 MB / 0.7216 GB, free: 93.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01245/2.617, allocations: 0.8109 MB / 0.7223 GB, free: 93.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002114/2.619, allocations: 485.4 kB / 0.7228 GB, free: 93.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (986): * Single equations (assignments): 965 * 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 {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 prepare postOptimizeDAE: time 0.007646/2.627, allocations: 2.508 MB / 0.7253 GB, free: 93.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/2.628, allocations: 452.9 kB / 0.7257 GB, free: 93.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02615/2.654, allocations: 7.023 MB / 0.7326 GB, free: 92.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0235/2.678, allocations: 6.29 MB / 0.7387 GB, free: 92.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.264e-05/2.678, allocations: 11.39 kB / 0.7387 GB, free: 92.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-05/2.678, allocations: 13.97 kB / 0.7387 GB, free: 92.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05042/2.728, allocations: 15.72 MB / 0.7541 GB, free: 91.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.803e-05/2.728, allocations: 7.062 kB / 0.7541 GB, free: 91.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005101/2.733, allocations: 0.519 MB / 0.7546 GB, free: 91.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01591/2.749, allocations: 2.889 MB / 0.7574 GB, free: 90.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008818/2.75, allocations: 91.47 kB / 0.7575 GB, free: 90.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0216/2.772, allocations: 13.96 MB / 0.7711 GB, free: 81.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003379/2.775, allocations: 4.468 MB / 0.7755 GB, free: 77.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03291/2.808, allocations: 11.55 MB / 0.7868 GB, free: 72.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/2.81, allocations: 0.5056 MB / 0.7873 GB, free: 72.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002001/2.812, allocations: 71.34 kB / 0.7873 GB, free: 72.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006433/2.819, allocations: 349.5 kB / 0.7877 GB, free: 72.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001329/2.82, allocations: 223.9 kB / 0.7879 GB, free: 72.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004897/2.821, allocations: 85.09 kB / 0.788 GB, free: 72.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008641/2.829, allocations: 3.019 MB / 0.7909 GB, free: 71.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.42e-07/2.829, allocations: 0 / 0.7909 GB, free: 71.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01022/2.839, allocations: 1.598 MB / 0.7925 GB, free: 71.34 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.03328/2.873, allocations: 13.59 MB / 0.8057 GB, free: 60.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02793/2.901, allocations: 9.928 MB / 0.8154 GB, free: 52.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/2.901, allocations: 0 / 0.8154 GB, free: 52.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01659/2.917, allocations: 4.941 MB / 0.8203 GB, free: 48.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004988/2.922, allocations: 0.5136 MB / 0.8208 GB, free: 47.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5205/3.443, allocations: 162.1 MB / 0.9791 GB, free: 29.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009283/3.452, allocations: 4.07 MB / 0.9831 GB, free: 28.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0118/3.464, allocations: 2.398 MB / 0.9854 GB, free: 28.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006475/3.471, allocations: 2.537 MB / 0.9879 GB, free: 28.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/3.471, allocations: 0 / 0.9879 GB, free: 28.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5886/4.059, allocations: 110.6 MB / 1.096 GB, free: 106.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/4.06, allocations: 220.1 kB / 1.096 GB, free: 106 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.09/11.15, allocations: 4 kB / 1.096 GB, free: 105.9 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses_res.mat does not exist to compare? outputFormat=mat