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.SpringDamperSystem.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.SpringDamperSystem,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.662/1.662, allocations: 171.2 MB / 186.1 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.0003988, allocations: 8 kB / 233.4 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08734/0.08779, allocations: 38.77 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3852/0.4731, allocations: 84.74 MB / 356.9 MB, free: 4.379 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/0.4735, allocations: 86.95 kB / 357 MB, free: 4.332 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6352/1.109, allocations: 91.57 MB / 448.5 MB, free: 71.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.375e-06/1.109, allocations: 3.938 kB / 448.5 MB, free: 71.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002387/1.109, allocations: 92.59 kB / 448.6 MB, free: 71.8 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: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.02434/1.133, allocations: 4.87 MB / 453.5 MB, free: 69.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/1.133, allocations: 14.84 kB / 453.5 MB, free: 69.82 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003742/1.137, allocations: 0.833 MB / 454.3 MB, free: 69.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02091/1.158, allocations: 2.663 MB / 457 MB, free: 69.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02013/1.178, allocations: 5.565 MB / 462.6 MB, free: 68.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004305/1.179, allocations: 358.9 kB / 462.9 MB, free: 68.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002483/1.181, allocations: 465.6 kB / 463.4 MB, free: 68.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03877/1.22, allocations: 12.42 MB / 475.8 MB, free: 65.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003373/1.221, allocations: 61.78 kB / 475.8 MB, free: 65.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002481/1.223, allocations: 231.8 kB / 476.1 MB, free: 65.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002992/1.226, allocations: 1.181 MB / 477.3 MB, free: 65.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04299/1.269, allocations: 10.18 MB / 487.4 MB, free: 63.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08231/1.351, allocations: 52.32 MB / 0.5271 GB, free: 16.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01755/1.369, allocations: 4.069 MB / 0.5311 GB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01742/1.387, allocations: 7.391 MB / 0.5383 GB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.483e-05/1.387, allocations: 51.5 kB / 0.5383 GB, free: 4.309 MB / 346.7 MB Notification: Performance of pre-optimization done (n=165): time 5.64e-06/1.387, allocations: 0 / 0.5383 GB, free: 4.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=188): time 0.07879/1.465, allocations: 16.31 MB / 0.5543 GB, free: 3.754 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001849/1.467, allocations: 1.611 MB / 0.5558 GB, free: 1.977 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.284/1.751, allocations: 3.756 MB / 0.5595 GB, free: 80.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005113/1.752, allocations: 51.17 kB / 0.5596 GB, free: 80.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003732/1.756, allocations: 3.377 MB / 0.5629 GB, free: 79.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001483/1.757, allocations: 0.7528 MB / 0.5636 GB, free: 79.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009597/1.758, allocations: 131.3 kB / 0.5637 GB, free: 79.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0006526/1.759, allocations: 0.5829 MB / 0.5643 GB, free: 78.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007827/1.767, allocations: 2.219 MB / 0.5665 GB, free: 78.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/1.777, allocations: 6.274 MB / 0.5726 GB, free: 73.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/1.788, allocations: 3.622 MB / 0.5761 GB, free: 73.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002202/1.788, allocations: 42.53 kB / 0.5762 GB, free: 73.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02794/1.816, allocations: 8.91 MB / 0.5849 GB, free: 72.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/1.816, allocations: 71.05 kB / 0.5849 GB, free: 72.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008864/1.825, allocations: 2.685 MB / 0.5876 GB, free: 72.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004928/1.83, allocations: 1.002 MB / 0.5885 GB, free: 72.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009978/1.84, allocations: 1.59 MB / 0.5901 GB, free: 72.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005305/1.845, allocations: 4.038 MB / 0.594 GB, free: 69.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009023/1.854, allocations: 0.502 MB / 0.5945 GB, free: 69.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00168/1.856, allocations: 403.3 kB / 0.5949 GB, free: 69.85 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 42 (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],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[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 (828): * Single equations (assignments): 819 * 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: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006264/1.863, allocations: 2.182 MB / 0.597 GB, free: 69.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/1.864, allocations: 371.1 kB / 0.5974 GB, free: 68.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/1.876, allocations: 3.209 MB / 0.6005 GB, free: 67.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01239/1.888, allocations: 2.661 MB / 0.6031 GB, free: 66.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.008e-05/1.888, allocations: 3.625 kB / 0.6031 GB, free: 66.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.415e-05/1.888, allocations: 9.891 kB / 0.6031 GB, free: 66.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0407/1.929, allocations: 9.995 MB / 0.6129 GB, free: 63.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.464e-05/1.929, allocations: 13.47 kB / 0.6129 GB, free: 63.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003913/1.933, allocations: 348.6 kB / 0.6132 GB, free: 63.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007152/1.94, allocations: 0.9792 MB / 0.6142 GB, free: 62.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005804/1.941, allocations: 56.81 kB / 0.6143 GB, free: 62.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/1.951, allocations: 4.684 MB / 0.6188 GB, free: 59.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001551/1.953, allocations: 1.481 MB / 0.6203 GB, free: 58.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01856/1.971, allocations: 7.207 MB / 0.6273 GB, free: 53.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002514/1.974, allocations: 0.6538 MB / 0.6279 GB, free: 53.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/1.975, allocations: 47.03 kB / 0.628 GB, free: 53.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00392/1.979, allocations: 181.4 kB / 0.6282 GB, free: 53.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006655/1.98, allocations: 164 kB / 0.6283 GB, free: 53.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002239/1.98, allocations: 71.25 kB / 0.6284 GB, free: 53.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.007371/1.988, allocations: 2.619 MB / 0.6309 GB, free: 52.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.988, allocations: 0 / 0.6309 GB, free: 52.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008133/1.996, allocations: 1.104 MB / 0.632 GB, free: 52.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 14 ($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],p2.s,p2.v) * 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 (164): * Single equations (assignments): 157 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01631/2.012, allocations: 10.84 MB / 0.6426 GB, free: 41.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01569/2.028, allocations: 5.65 MB / 0.6481 GB, free: 36.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-05/2.028, allocations: 12 kB / 0.6481 GB, free: 36.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00665/2.035, allocations: 2.133 MB / 0.6502 GB, free: 34.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003864/2.038, allocations: 448.3 kB / 0.6507 GB, free: 34.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.401/2.44, allocations: 136.5 MB / 0.7839 GB, free: 28.19 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0081/2.448, allocations: 3.498 MB / 0.7873 GB, free: 27.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.009669/2.457, allocations: 2.006 MB / 0.7893 GB, free: 27.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005239/2.463, allocations: 2.036 MB / 0.7913 GB, free: 27.33 MB / 394.7 MB Notification: Performance of SimCode: time 1.773e-06/2.463, allocations: 0 / 0.7913 GB, free: 27.33 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4776/2.94, allocations: 79.8 MB / 0.8692 GB, free: 96.79 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002986/2.941, allocations: 239.2 kB / 0.8694 GB, free: 96.54 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.565/8.506, allocations: 0 / 0.8694 GB, free: 96.54 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat does not exist to compare? outputFormat=mat