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.ThreeSprings.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.ThreeSprings,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 194.9 MB / 211.1 MB, free: 8.551 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003775, allocations: 8 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3399, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.4988, allocations: 86.13 MB / 394.7 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/0.4992, allocations: 87.95 kB / 394.8 MB, free: 6.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5906/1.09, allocations: 77.69 MB / 472.5 MB, free: 51.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.406e-06/1.09, allocations: 0 / 472.5 MB, free: 51.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002133/1.09, allocations: 80 kB / 472.6 MB, free: 51.82 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.02317/1.113, allocations: 4.231 MB / 476.8 MB, free: 47.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/1.113, allocations: 11.97 kB / 476.8 MB, free: 47.5 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003471/1.117, allocations: 0.7535 MB / 477.5 MB, free: 46.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/1.135, allocations: 2.241 MB / 479.8 MB, free: 44.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01778/1.152, allocations: 4.354 MB / 484.1 MB, free: 40.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004083/1.153, allocations: 316.2 kB / 484.5 MB, free: 39.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002355/1.155, allocations: 411.9 kB / 484.9 MB, free: 39.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03058/1.186, allocations: 10.25 MB / 495.1 MB, free: 28.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002489/1.186, allocations: 63.41 kB / 495.2 MB, free: 27.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00182/1.188, allocations: 203.9 kB / 495.4 MB, free: 27.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002208/1.19, allocations: 0.9819 MB / 496.3 MB, free: 26.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02517/1.215, allocations: 8.145 MB / 0.4927 GB, free: 18.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07526/1.291, allocations: 48.25 MB / 0.5398 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01693/1.308, allocations: 3.571 MB / 0.5433 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01805/1.326, allocations: 6.527 MB / 0.5497 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.377e-05/1.326, allocations: 51.16 kB / 0.5497 GB, free: 6.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=131): time 5.059e-06/1.326, allocations: 0 / 0.5497 GB, free: 6.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.3306/1.657, allocations: 11.96 MB / 0.5614 GB, free: 97.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00135/1.658, allocations: 1.595 MB / 0.5629 GB, free: 95.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007747/1.666, allocations: 3.393 MB / 0.5663 GB, free: 95.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003932/1.666, allocations: 42.45 kB / 0.5663 GB, free: 95.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002485/1.669, allocations: 3.079 MB / 0.5693 GB, free: 93.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009602/1.67, allocations: 0.5737 MB / 0.5699 GB, free: 93.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006033/1.67, allocations: 118.1 kB / 0.57 GB, free: 93.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003803/1.671, allocations: 0.5572 MB / 0.5705 GB, free: 92.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00517/1.676, allocations: 1.964 MB / 0.5724 GB, free: 92.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008138/1.684, allocations: 5.84 MB / 0.5781 GB, free: 87.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00802/1.692, allocations: 3.311 MB / 0.5814 GB, free: 87.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001718/1.692, allocations: 39.28 kB / 0.5814 GB, free: 87.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02779/1.72, allocations: 8.708 MB / 0.5899 GB, free: 86.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/1.72, allocations: 63.06 kB / 0.59 GB, free: 86.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01074/1.731, allocations: 2.751 MB / 0.5927 GB, free: 85.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00979/1.741, allocations: 1.628 MB / 0.5943 GB, free: 85.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007706/1.749, allocations: 1.342 MB / 0.5956 GB, free: 84.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00885/1.758, allocations: 5.617 MB / 0.601 GB, free: 81.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007452/1.765, allocations: 441.4 kB / 0.6015 GB, free: 80.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/1.767, allocations: 383.6 kB / 0.6018 GB, free: 80.9 MB / 394.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 (717): * Single equations (assignments): 707 * 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 {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 26} Notification: Performance of prepare postOptimizeDAE: time 0.005792/1.773, allocations: 1.981 MB / 0.6038 GB, free: 79.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008533/1.774, allocations: 318.7 kB / 0.6041 GB, free: 79.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/1.785, allocations: 3.006 MB / 0.607 GB, free: 78.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009753/1.795, allocations: 2.576 MB / 0.6095 GB, free: 77.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.169e-05/1.795, allocations: 3.531 kB / 0.6095 GB, free: 77.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.983e-05/1.795, allocations: 10.52 kB / 0.6095 GB, free: 77.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/1.806, allocations: 3.543 MB / 0.613 GB, free: 75.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-05/1.806, allocations: 0 / 0.613 GB, free: 75.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/1.807, allocations: 164.3 kB / 0.6132 GB, free: 75.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00845/1.816, allocations: 1.439 MB / 0.6146 GB, free: 74.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004481/1.816, allocations: 32.83 kB / 0.6146 GB, free: 74.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009422/1.826, allocations: 5.832 MB / 0.6203 GB, free: 68.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001105/1.827, allocations: 1.465 MB / 0.6217 GB, free: 67.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/1.842, allocations: 5.17 MB / 0.6268 GB, free: 63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/1.843, allocations: 378.7 kB / 0.6271 GB, free: 62.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0011/1.844, allocations: 27.05 kB / 0.6272 GB, free: 62.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003222/1.847, allocations: 135.2 kB / 0.6273 GB, free: 62.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005974/1.848, allocations: 86.77 kB / 0.6274 GB, free: 62.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/1.848, allocations: 40.92 kB / 0.6274 GB, free: 62.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.006355/1.854, allocations: 2.334 MB / 0.6297 GB, free: 60.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.854, allocations: 4 kB / 0.6297 GB, free: 60.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007386/1.862, allocations: 0.9745 MB / 0.6306 GB, free: 59.55 MB / 394.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.01415/1.876, allocations: 5.796 MB / 0.6363 GB, free: 54.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01461/1.891, allocations: 5.272 MB / 0.6414 GB, free: 49.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.891, allocations: 0 / 0.6414 GB, free: 49.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006257/1.897, allocations: 1.953 MB / 0.6434 GB, free: 48.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002886/1.9, allocations: 345.5 kB / 0.6437 GB, free: 47.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4008/2.301, allocations: 127.7 MB / 0.7684 GB, free: 51.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00688/2.308, allocations: 3.125 MB / 0.7714 GB, free: 51.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008253/2.316, allocations: 1.778 MB / 0.7732 GB, free: 51.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004062/2.32, allocations: 1.7 MB / 0.7748 GB, free: 51.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/2.32, allocations: 0 / 0.7748 GB, free: 51.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1619/2.482, allocations: 72.17 MB / 0.8453 GB, free: 14.76 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000331/2.483, allocations: 238.2 kB / 0.8455 GB, free: 14.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.323/7.805, allocations: 0 / 0.8455 GB, free: 14.5 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat