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.SpringWithMass.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.SpringWithMass,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.8/1.8, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003821, allocations: 12 kB / 233.4 MB, free: 176 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 38.77 MB / 272.1 MB, free: 9.32 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3856/0.4922, allocations: 79.5 MB / 351.6 MB, free: 2.93 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/0.4926, allocations: 91.94 kB / 351.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2712/0.7638, allocations: 56.43 MB / 408.2 MB, free: 9.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.7639, allocations: 3.938 kB / 408.2 MB, free: 9.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.00014/0.764, allocations: 48 kB / 408.2 MB, free: 9.934 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01839/0.7824, allocations: 3.016 MB / 411.2 MB, free: 6.855 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.7825, allocations: 8.031 kB / 411.2 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002213/0.7847, allocations: 0.4982 MB / 411.7 MB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/0.8015, allocations: 2.036 MB / 413.8 MB, free: 4.297 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01567/0.8173, allocations: 3.615 MB / 417.4 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/0.8176, allocations: 188.8 kB / 417.6 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001569/0.8192, allocations: 247.8 kB / 417.8 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2556/1.075, allocations: 6.892 MB / 424.7 MB, free: 81.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/1.075, allocations: 37.09 kB / 424.7 MB, free: 81.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007801/1.076, allocations: 126.6 kB / 424.9 MB, free: 81.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001765/1.078, allocations: 0.7044 MB / 425.6 MB, free: 81.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01916/1.097, allocations: 5.979 MB / 431.5 MB, free: 81.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04545/1.142, allocations: 32.27 MB / 463.8 MB, free: 59.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/1.153, allocations: 2.53 MB / 466.3 MB, free: 57.97 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008456/1.162, allocations: 3.547 MB / 469.9 MB, free: 55.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/1.162, allocations: 42.59 kB / 469.9 MB, free: 55.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=105): time 5.431e-06/1.162, allocations: 0 / 469.9 MB, free: 55.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=118): time 0.04203/1.204, allocations: 10.35 MB / 480.3 MB, free: 51.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001323/1.205, allocations: 1.593 MB / 481.9 MB, free: 49.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005451/1.211, allocations: 2.45 MB / 484.3 MB, free: 49.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003509/1.211, allocations: 41.95 kB / 484.4 MB, free: 49.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001645/1.213, allocations: 2.056 MB / 486.4 MB, free: 47.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007651/1.214, allocations: 489 kB / 486.9 MB, free: 47.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004073/1.214, allocations: 88.66 kB / 487 MB, free: 47.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002644/1.214, allocations: 0.4931 MB / 487.5 MB, free: 46.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004202/1.219, allocations: 1.605 MB / 489.1 MB, free: 46.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006094/1.225, allocations: 4.362 MB / 493.4 MB, free: 41.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006382/1.231, allocations: 2.596 MB / 496 MB, free: 40.83 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001424/1.231, allocations: 30.31 kB / 496.1 MB, free: 40.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.02172/1.253, allocations: 6.881 MB / 0.4912 GB, free: 36.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.689e-05/1.253, allocations: 44 kB / 0.4912 GB, free: 36.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009277/1.263, allocations: 2.413 MB / 0.4936 GB, free: 35.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008042/1.271, allocations: 1.42 MB / 0.4949 GB, free: 34.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005848/1.277, allocations: 1.021 MB / 0.4959 GB, free: 33.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/1.29, allocations: 7.058 MB / 0.5028 GB, free: 26.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005613/1.295, allocations: 366.9 kB / 0.5032 GB, free: 26.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008602/1.296, allocations: 288.5 kB / 0.5035 GB, free: 26.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 447 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 526 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003122/1.299, allocations: 1.394 MB / 0.5048 GB, free: 24.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006135/1.3, allocations: 229 kB / 0.505 GB, free: 24.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/1.311, allocations: 2.804 MB / 0.5078 GB, free: 22.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009985/1.321, allocations: 2.472 MB / 0.5102 GB, free: 20.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.556e-05/1.321, allocations: 7.953 kB / 0.5102 GB, free: 20.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/1.321, allocations: 7.984 kB / 0.5102 GB, free: 20.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02111/1.342, allocations: 6.712 MB / 0.5168 GB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-05/1.342, allocations: 7.953 kB / 0.5168 GB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/1.344, allocations: 167.7 kB / 0.5169 GB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008862/1.353, allocations: 1.431 MB / 0.5183 GB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003349/1.354, allocations: 27.97 kB / 0.5184 GB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01614/1.37, allocations: 7.663 MB / 0.5258 GB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001458/1.371, allocations: 1.469 MB / 0.5273 GB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/1.387, allocations: 4.824 MB / 0.532 GB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.388, allocations: 297.9 kB / 0.5323 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007537/1.389, allocations: 27.94 kB / 0.5323 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00254/1.392, allocations: 120.5 kB / 0.5324 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004817/1.392, allocations: 76.98 kB / 0.5325 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/1.392, allocations: 36.69 kB / 0.5325 GB, free: 12.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00507/1.397, allocations: 1.704 MB / 0.5342 GB, free: 11.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.967e-06/1.397, allocations: 0 / 0.5342 GB, free: 11.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005575/1.403, allocations: 0.7563 MB / 0.5349 GB, free: 10.31 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],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.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 (77): * Single equations (assignments): 71 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01649/1.419, allocations: 5.641 MB / 0.5404 GB, free: 4.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01219/1.432, allocations: 4.135 MB / 0.5445 GB, free: 480 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.432, allocations: 0 / 0.5445 GB, free: 480 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2557/1.687, allocations: 1.681 MB / 0.5461 GB, free: 91.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/1.69, allocations: 239.6 kB / 0.5463 GB, free: 91.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07858/1.768, allocations: 90.5 MB / 0.6347 GB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003946/1.772, allocations: 2.322 MB / 0.637 GB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005894/1.778, allocations: 1.388 MB / 0.6383 GB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003671/1.782, allocations: 1.086 MB / 0.6394 GB, free: 13.45 MB / 362.7 MB Notification: Performance of SimCode: time 1.643e-06/1.782, allocations: 0 / 0.6394 GB, free: 13.45 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4053/2.187, allocations: 53.59 MB / 0.6917 GB, free: 88.32 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/2.188, allocations: 228.1 kB / 0.692 GB, free: 88.08 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.205/6.393, allocations: 0 / 0.692 GB, free: 88.08 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat does not exist to compare? outputFormat=mat