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.SpringMassSystem.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.SpringMassSystem,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.146/2.146, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004894, allocations: 8 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2978, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.4591, allocations: 88.11 MB / 396.7 MB, free: 4.531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.4594, allocations: 87.95 kB / 396.8 MB, free: 4.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.588/1.047, allocations: 83.58 MB / 480.3 MB, free: 44.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.005e-06/1.048, allocations: 0 / 480.3 MB, free: 44.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002075/1.048, allocations: 80 kB / 480.4 MB, free: 44.26 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: 1450 * Number of variables: 1450 Notification: Performance of Generate backend data structure: time 0.01439/1.062, allocations: 4.043 MB / 484.5 MB, free: 40.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/1.062, allocations: 8.031 kB / 484.5 MB, free: 40.14 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002792/1.065, allocations: 0.7296 MB / 485.2 MB, free: 39.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01882/1.084, allocations: 2.432 MB / 487.6 MB, free: 36.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/1.102, allocations: 5.054 MB / 492.7 MB, free: 31.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004068/1.102, allocations: 312.1 kB / 493 MB, free: 31.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002383/1.104, allocations: 411.8 kB / 493.4 MB, free: 31.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02764/1.132, allocations: 9.933 MB / 0.4915 GB, free: 20.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002483/1.132, allocations: 63.5 kB / 0.4916 GB, free: 20.06 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001464/1.134, allocations: 199.9 kB / 0.4918 GB, free: 19.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002054/1.136, allocations: 0.9862 MB / 0.4928 GB, free: 18.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02351/1.159, allocations: 7.78 MB / 0.5003 GB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06713/1.227, allocations: 45.4 MB / 0.5447 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/1.238, allocations: 2.732 MB / 0.5473 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009873/1.248, allocations: 3.454 MB / 0.5507 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/1.248, allocations: 43.22 kB / 0.5508 GB, free: 5.605 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 5.761e-06/1.248, allocations: 3.938 kB / 0.5508 GB, free: 5.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=145): time 0.3206/1.568, allocations: 9.07 MB / 0.5596 GB, free: 96.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/1.568, allocations: 142.5 kB / 0.5598 GB, free: 95.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0091/1.578, allocations: 3.525 MB / 0.5632 GB, free: 95.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002758/1.578, allocations: 45.95 kB / 0.5632 GB, free: 95.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002924/1.581, allocations: 3.082 MB / 0.5663 GB, free: 94.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008208/1.582, allocations: 0.5797 MB / 0.5668 GB, free: 93.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006657/1.582, allocations: 117.2 kB / 0.5669 GB, free: 93.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003763/1.583, allocations: 0.5483 MB / 0.5675 GB, free: 93.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006039/1.589, allocations: 1.565 MB / 0.569 GB, free: 93.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00961/1.598, allocations: 5.283 MB / 0.5742 GB, free: 88.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009705/1.608, allocations: 2.817 MB / 0.5769 GB, free: 88.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001782/1.608, allocations: 40.42 kB / 0.5769 GB, free: 88.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02484/1.633, allocations: 6.59 MB / 0.5834 GB, free: 87.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/1.634, allocations: 59.16 kB / 0.5834 GB, free: 87.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002701/1.634, allocations: 135.3 kB / 0.5836 GB, free: 87.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002951/1.634, allocations: 195.2 kB / 0.5838 GB, free: 87.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01115/1.645, allocations: 1.387 MB / 0.5851 GB, free: 87.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00036/1.646, allocations: 262 kB / 0.5854 GB, free: 87.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009765/1.656, allocations: 363.4 kB / 0.5857 GB, free: 87.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001487/1.657, allocations: 367.9 kB / 0.5861 GB, free: 87.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 33 (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],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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 (726): * Single equations (assignments): 723 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006595/1.664, allocations: 1.958 MB / 0.588 GB, free: 87.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.665, allocations: 335.8 kB / 0.5883 GB, free: 86.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004248/1.669, allocations: 1.209 MB / 0.5895 GB, free: 86.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-05/1.669, allocations: 20.06 kB / 0.5895 GB, free: 86.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/1.669, allocations: 0 / 0.5895 GB, free: 86.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.551e-05/1.669, allocations: 10.64 kB / 0.5895 GB, free: 86.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/1.686, allocations: 5.646 MB / 0.595 GB, free: 83.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/1.686, allocations: 18.53 kB / 0.595 GB, free: 83.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/1.688, allocations: 266 kB / 0.5953 GB, free: 83.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-05/1.688, allocations: 27.69 kB / 0.5953 GB, free: 83.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/1.688, allocations: 49.33 kB / 0.5954 GB, free: 83.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.08e-05/1.688, allocations: 34.3 kB / 0.5954 GB, free: 83.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.256e-05/1.688, allocations: 34.44 kB / 0.5954 GB, free: 83.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006046/1.694, allocations: 5.131 MB / 0.6004 GB, free: 79.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001889/1.696, allocations: 0.5175 MB / 0.6009 GB, free: 79.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000854/1.697, allocations: 53.44 kB / 0.601 GB, free: 79.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002434/1.7, allocations: 90.19 kB / 0.6011 GB, free: 79.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/1.7, allocations: 147 kB / 0.6012 GB, free: 79.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/1.7, allocations: 65.88 kB / 0.6013 GB, free: 79.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00685/1.707, allocations: 2.463 MB / 0.6037 GB, free: 78.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.707, allocations: 0 / 0.6037 GB, free: 78.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007158/1.714, allocations: 0.8675 MB / 0.6045 GB, free: 78.26 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * Number of states: 4 (p1.s,p1.v,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 (138): * Single equations (assignments): 135 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007457/1.722, allocations: 10.1 MB / 0.6144 GB, free: 69.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009055/1.731, allocations: 3.58 MB / 0.6179 GB, free: 67.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.859e-05/1.731, allocations: 0 / 0.6179 GB, free: 67.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001564/1.732, allocations: 0.71 MB / 0.6186 GB, free: 66.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/1.736, allocations: 422 kB / 0.619 GB, free: 66.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4324/2.168, allocations: 121.4 MB / 0.7375 GB, free: 103.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00539/2.174, allocations: 3.16 MB / 0.7406 GB, free: 103.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008137/2.182, allocations: 1.757 MB / 0.7423 GB, free: 103.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003967/2.186, allocations: 1.772 MB / 0.7441 GB, free: 103.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.333e-06/2.186, allocations: 0 / 0.7441 GB, free: 103.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1495/2.335, allocations: 64.67 MB / 0.8072 GB, free: 59.74 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/2.336, allocations: 198.9 kB / 0.8074 GB, free: 59.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.31/7.646, allocations: 3.906 kB / 0.8074 GB, free: 59.49 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat does not exist to compare? outputFormat=mat