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.ThreeSprings.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.ThreeSprings,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.756/1.756, allocations: 171.1 MB / 186.1 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003748, allocations: 8 kB / 233.4 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08312/0.08353, allocations: 38.76 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.42/0.5035, allocations: 80.49 MB / 352.6 MB, free: 8.637 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.5039, allocations: 91.5 kB / 352.7 MB, free: 8.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3422/0.8462, allocations: 77.53 MB / 430.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.8462, allocations: 4 kB / 430.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003359/0.8466, allocations: 80 kB / 430.3 MB, free: 0.5898 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: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.3018/1.148, allocations: 4.213 MB / 434.5 MB, free: 71.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.000118/1.149, allocations: 8.875 kB / 434.6 MB, free: 71.87 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00641/1.155, allocations: 0.7539 MB / 435.3 MB, free: 71.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02175/1.177, allocations: 2.229 MB / 437.5 MB, free: 71.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/1.196, allocations: 4.343 MB / 441.9 MB, free: 71.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006137/1.196, allocations: 319.1 kB / 442.2 MB, free: 71.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00259/1.199, allocations: 405.4 kB / 442.6 MB, free: 71.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03165/1.231, allocations: 10.25 MB / 452.8 MB, free: 68.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002773/1.231, allocations: 64 kB / 452.9 MB, free: 68.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001947/1.233, allocations: 209.9 kB / 453.1 MB, free: 68.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002253/1.235, allocations: 0.9859 MB / 454.1 MB, free: 68.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02526/1.261, allocations: 8.142 MB / 462.2 MB, free: 68.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06446/1.325, allocations: 48.25 MB / 0.4985 GB, free: 32.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01541/1.341, allocations: 3.58 MB / 0.502 GB, free: 30.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01548/1.356, allocations: 6.508 MB / 0.5084 GB, free: 27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/1.356, allocations: 47.91 kB / 0.5084 GB, free: 26.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 6.061e-06/1.356, allocations: 0 / 0.5084 GB, free: 26.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.06695/1.423, allocations: 11.98 MB / 0.5201 GB, free: 17.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001875/1.425, allocations: 1.595 MB / 0.5217 GB, free: 16.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01174/1.437, allocations: 3.398 MB / 0.525 GB, free: 13.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000489/1.438, allocations: 42.41 kB / 0.525 GB, free: 13.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003753/1.441, allocations: 3.071 MB / 0.528 GB, free: 10.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001293/1.443, allocations: 0.5782 MB / 0.5286 GB, free: 9.906 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009731/1.444, allocations: 120 kB / 0.5287 GB, free: 9.789 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0007398/1.444, allocations: 0.5582 MB / 0.5293 GB, free: 9.297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007105/1.452, allocations: 1.961 MB / 0.5312 GB, free: 7.656 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008379/1.46, allocations: 5.842 MB / 0.5369 GB, free: 288 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/1.472, allocations: 3.451 MB / 0.5402 GB, free: 13.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001747/1.472, allocations: 40 kB / 0.5403 GB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.03148/1.504, allocations: 8.606 MB / 0.5487 GB, free: 5.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/1.504, allocations: 64 kB / 0.5487 GB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01168/1.516, allocations: 2.669 MB / 0.5514 GB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/1.527, allocations: 1.552 MB / 0.5529 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2844/1.811, allocations: 1.349 MB / 0.5542 GB, free: 76.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009139/1.82, allocations: 5.205 MB / 0.5593 GB, free: 73.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007985/1.828, allocations: 428.7 kB / 0.5597 GB, free: 73.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001845/1.83, allocations: 383.9 kB / 0.56 GB, free: 73.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 36 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[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 (720): * Single equations (assignments): 710 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.006608/1.837, allocations: 1.978 MB / 0.562 GB, free: 73.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009442/1.838, allocations: 317.7 kB / 0.5623 GB, free: 73.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/1.851, allocations: 3.009 MB / 0.5652 GB, free: 73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01072/1.862, allocations: 2.574 MB / 0.5677 GB, free: 72.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.723e-05/1.862, allocations: 2.188 kB / 0.5677 GB, free: 72.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.843e-05/1.862, allocations: 12.66 kB / 0.5677 GB, free: 72.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/1.872, allocations: 3.544 MB / 0.5712 GB, free: 72.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.518e-05/1.873, allocations: 6.516 kB / 0.5712 GB, free: 72.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/1.874, allocations: 162.6 kB / 0.5714 GB, free: 72.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008573/1.883, allocations: 1.431 MB / 0.5728 GB, free: 72.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004214/1.883, allocations: 44.39 kB / 0.5728 GB, free: 72.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009833/1.893, allocations: 5.836 MB / 0.5785 GB, free: 69.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001228/1.894, allocations: 1.461 MB / 0.5799 GB, free: 68.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/1.91, allocations: 5.159 MB / 0.585 GB, free: 67.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.911, allocations: 382.8 kB / 0.5853 GB, free: 67.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001332/1.913, allocations: 27.98 kB / 0.5854 GB, free: 67.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003355/1.916, allocations: 134.5 kB / 0.5855 GB, free: 67.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005687/1.917, allocations: 82.28 kB / 0.5856 GB, free: 67.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/1.917, allocations: 40.33 kB / 0.5856 GB, free: 67.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006832/1.924, allocations: 2.339 MB / 0.5879 GB, free: 67.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.142e-06/1.924, allocations: 0 / 0.5879 GB, free: 67.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00754/1.931, allocations: 0.9711 MB / 0.5888 GB, free: 67.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * 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 (73): * Single equations (assignments): 65 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.01462/1.946, allocations: 5.789 MB / 0.5945 GB, free: 65.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01465/1.961, allocations: 5.13 MB / 0.5995 GB, free: 64.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.961, allocations: 11.47 kB / 0.5995 GB, free: 64.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006833/1.968, allocations: 1.949 MB / 0.6014 GB, free: 63.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/1.971, allocations: 347.5 kB / 0.6017 GB, free: 63.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3714/2.342, allocations: 127.6 MB / 0.7264 GB, free: 76.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007097/2.35, allocations: 3.122 MB / 0.7294 GB, free: 75.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.008404/2.358, allocations: 1.778 MB / 0.7312 GB, free: 75.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004286/2.362, allocations: 1.698 MB / 0.7328 GB, free: 75.65 MB / 394.7 MB Notification: Performance of SimCode: time 1.423e-06/2.362, allocations: 2.5 kB / 0.7328 GB, free: 75.65 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.174/2.536, allocations: 71.56 MB / 0.8027 GB, free: 34.51 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/2.537, allocations: 229.9 kB / 0.8029 GB, free: 34.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.283/7.82, allocations: 0 / 0.8029 GB, free: 34.27 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat