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.SpringDamperSystem.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.SpringDamperSystem,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003645, allocations: 12 kB / 264.1 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3185, allocations: 44.5 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.4818, allocations: 90.38 MB / 398.9 MB, free: 2.262 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/0.4822, allocations: 91.94 kB / 399 MB, free: 2.172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6478/1.13, allocations: 91.75 MB / 490.8 MB, free: 33.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.13, allocations: 0 / 490.8 MB, free: 33.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003127/1.13, allocations: 88 kB / 490.9 MB, free: 33.88 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.03382/1.164, allocations: 4.873 MB / 495.7 MB, free: 28.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/1.164, allocations: 8.031 kB / 495.8 MB, free: 28.93 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004778/1.169, allocations: 0.8361 MB / 496.6 MB, free: 28.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02988/1.199, allocations: 2.681 MB / 499.3 MB, free: 25.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02842/1.228, allocations: 5.574 MB / 0.493 GB, free: 19.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000682/1.228, allocations: 349.2 kB / 0.4933 GB, free: 19.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003445/1.232, allocations: 463.8 kB / 0.4938 GB, free: 18.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04466/1.276, allocations: 12.42 MB / 0.5059 GB, free: 5.371 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002502/1.277, allocations: 71.39 kB / 0.506 GB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001675/1.278, allocations: 223.9 kB / 0.5062 GB, free: 5.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002929/1.281, allocations: 1.178 MB / 0.5073 GB, free: 3.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03664/1.318, allocations: 10.18 MB / 0.5173 GB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4053/1.723, allocations: 52.32 MB / 0.5684 GB, free: 52.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01764/1.741, allocations: 4.076 MB / 0.5724 GB, free: 51.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01697/1.758, allocations: 7.395 MB / 0.5796 GB, free: 49.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/1.758, allocations: 52.69 kB / 0.5796 GB, free: 49.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=165): time 5.31e-06/1.758, allocations: 3.281 kB / 0.5796 GB, free: 49.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=188): time 0.07353/1.832, allocations: 16.3 MB / 0.5956 GB, free: 46.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001369/1.833, allocations: 1.606 MB / 0.5971 GB, free: 44.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008896/1.842, allocations: 3.76 MB / 0.6008 GB, free: 44.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005134/1.843, allocations: 53.58 kB / 0.6008 GB, free: 44.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002962/1.846, allocations: 3.372 MB / 0.6041 GB, free: 42.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001202/1.847, allocations: 0.7571 MB / 0.6049 GB, free: 41.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007055/1.848, allocations: 127.2 kB / 0.605 GB, free: 41.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000391/1.848, allocations: 0.5869 MB / 0.6056 GB, free: 41.67 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00615/1.854, allocations: 2.222 MB / 0.6077 GB, free: 41.65 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009174/1.864, allocations: 6.286 MB / 0.6139 GB, free: 36.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009329/1.873, allocations: 3.629 MB / 0.6174 GB, free: 35.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000161/1.873, allocations: 39.81 kB / 0.6175 GB, free: 35.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.028/1.901, allocations: 9.002 MB / 0.6263 GB, free: 32.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000134/1.901, allocations: 67.42 kB / 0.6263 GB, free: 32.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00939/1.911, allocations: 2.767 MB / 0.629 GB, free: 31.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005838/1.917, allocations: 1.08 MB / 0.6301 GB, free: 31.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009624/1.926, allocations: 1.573 MB / 0.6316 GB, free: 30.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006423/1.933, allocations: 4.457 MB / 0.636 GB, free: 25.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008549/1.941, allocations: 0.4967 MB / 0.6364 GB, free: 25.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/1.943, allocations: 410.4 kB / 0.6368 GB, free: 25.13 MB / 394.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 (825): * Single equations (assignments): 816 * 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 {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 prepare postOptimizeDAE: time 0.005706/1.949, allocations: 2.181 MB / 0.639 GB, free: 23.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009462/1.95, allocations: 374.8 kB / 0.6393 GB, free: 22.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.96, allocations: 3.194 MB / 0.6424 GB, free: 20.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008861/1.969, allocations: 2.672 MB / 0.6451 GB, free: 18.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/1.969, allocations: 4 kB / 0.6451 GB, free: 18.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.134e-05/1.969, allocations: 6.375 kB / 0.6451 GB, free: 18.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03603/2.005, allocations: 10.02 MB / 0.6548 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.055e-05/2.005, allocations: 12 kB / 0.6549 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003026/2.008, allocations: 344.9 kB / 0.6552 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005301/2.014, allocations: 0.9781 MB / 0.6561 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004629/2.014, allocations: 59.03 kB / 0.6562 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007261/2.021, allocations: 4.671 MB / 0.6608 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001159/2.023, allocations: 1.49 MB / 0.6622 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02068/2.043, allocations: 7.427 MB / 0.6695 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002792/2.046, allocations: 0.6484 MB / 0.6701 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001351/2.048, allocations: 58.56 kB / 0.6702 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005195/2.053, allocations: 171.8 kB / 0.6703 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008755/2.054, allocations: 168.5 kB / 0.6705 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003423/2.054, allocations: 67.98 kB / 0.6705 GB, free: 11.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01122/2.065, allocations: 2.617 MB / 0.6731 GB, free: 8.949 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.572e-06/2.065, allocations: 0 / 0.6731 GB, free: 8.949 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01287/2.078, allocations: 1.118 MB / 0.6742 GB, free: 7.84 MB / 410.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.02731/2.106, allocations: 10.84 MB / 0.6848 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0273/2.133, allocations: 5.784 MB / 0.6904 GB, free: 6.785 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-05/2.133, allocations: 4 kB / 0.6904 GB, free: 6.781 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01138/2.145, allocations: 2.141 MB / 0.6925 GB, free: 4.574 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006276/2.151, allocations: 445.5 kB / 0.6929 GB, free: 4.148 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5257/2.677, allocations: 136.6 MB / 0.8263 GB, free: 54.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007716/2.684, allocations: 3.495 MB / 0.8297 GB, free: 53.36 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009279/2.694, allocations: 2.004 MB / 0.8317 GB, free: 53.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004981/2.699, allocations: 2.041 MB / 0.8337 GB, free: 53.31 MB / 458.7 MB Notification: Performance of SimCode: time 1.443e-06/2.699, allocations: 0 / 0.8337 GB, free: 53.31 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4956/3.194, allocations: 80.41 MB / 0.9122 GB, free: 119.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/3.195, allocations: 233.6 kB / 0.9124 GB, free: 118.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.882/9.077, allocations: 0 / 0.9124 GB, free: 118.9 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat does not exist to compare? outputFormat=mat