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.SpringMassSystem.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.SpringMassSystem,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.678/1.678, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.000351, allocations: 8 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08867/0.08909, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3582/0.4474, allocations: 82.49 MB / 354.6 MB, free: 6.664 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/0.4478, allocations: 95 kB / 354.7 MB, free: 6.609 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7123/1.16, allocations: 83.57 MB / 438.3 MB, free: 72.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.16, allocations: 1.156 kB / 438.3 MB, free: 72.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002901/1.16, allocations: 79.97 kB / 438.4 MB, free: 72.81 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.01646/1.177, allocations: 4.044 MB / 442.4 MB, free: 71.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/1.177, allocations: 8.25 kB / 442.4 MB, free: 71.09 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003317/1.18, allocations: 0.7295 MB / 443.1 MB, free: 71.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02016/1.201, allocations: 2.433 MB / 445.6 MB, free: 70.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01908/1.22, allocations: 5.058 MB / 450.6 MB, free: 70.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005535/1.22, allocations: 313.4 kB / 450.9 MB, free: 70.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002452/1.223, allocations: 416.5 kB / 451.3 MB, free: 70.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02974/1.253, allocations: 9.931 MB / 461.3 MB, free: 67.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002971/1.253, allocations: 66.88 kB / 461.3 MB, free: 67.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00209/1.255, allocations: 205.2 kB / 461.5 MB, free: 67.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002421/1.258, allocations: 0.9846 MB / 462.5 MB, free: 67.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02444/1.282, allocations: 7.778 MB / 470.3 MB, free: 67.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06278/1.345, allocations: 45.37 MB / 0.5036 GB, free: 32.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01348/1.358, allocations: 2.749 MB / 0.5063 GB, free: 30.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/1.37, allocations: 3.446 MB / 0.5096 GB, free: 28.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/1.37, allocations: 46.64 kB / 0.5097 GB, free: 28.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=127): time 6.823e-06/1.37, allocations: 7.031 kB / 0.5097 GB, free: 28.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.04675/1.417, allocations: 9.076 MB / 0.5185 GB, free: 21.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/1.417, allocations: 141.5 kB / 0.5187 GB, free: 20.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/1.427, allocations: 3.525 MB / 0.5221 GB, free: 17.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002966/1.428, allocations: 45.7 kB / 0.5222 GB, free: 17.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002667/1.431, allocations: 3.082 MB / 0.5252 GB, free: 15.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008024/1.431, allocations: 0.5846 MB / 0.5257 GB, free: 14.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006454/1.432, allocations: 112 kB / 0.5259 GB, free: 14.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004002/1.432, allocations: 0.5517 MB / 0.5264 GB, free: 13.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004967/1.437, allocations: 1.564 MB / 0.5279 GB, free: 12.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007489/1.445, allocations: 5.281 MB / 0.5331 GB, free: 5.887 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00706/1.452, allocations: 2.825 MB / 0.5358 GB, free: 3.379 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/1.452, allocations: 36 kB / 0.5359 GB, free: 3.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01989/1.472, allocations: 6.604 MB / 0.5423 GB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/1.472, allocations: 60 kB / 0.5424 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002407/1.473, allocations: 135.9 kB / 0.5425 GB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/1.473, allocations: 199.8 kB / 0.5427 GB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0087/1.482, allocations: 1.381 MB / 0.544 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003348/1.482, allocations: 262.4 kB / 0.5443 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006857/1.489, allocations: 363 kB / 0.5446 GB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001387/1.49, allocations: 359.7 kB / 0.545 GB, free: 11 MB / 362.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.00571/1.496, allocations: 1.955 MB / 0.5469 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.497, allocations: 335.7 kB / 0.5472 GB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/1.501, allocations: 1.196 MB / 0.5484 GB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-05/1.501, allocations: 19.95 kB / 0.5484 GB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.502, allocations: 0 / 0.5484 GB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/1.502, allocations: 15.92 kB / 0.5484 GB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/1.519, allocations: 5.638 MB / 0.5539 GB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-05/1.519, allocations: 20 kB / 0.5539 GB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/1.521, allocations: 275.5 kB / 0.5542 GB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.477e-05/1.521, allocations: 28 kB / 0.5542 GB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/1.521, allocations: 48 kB / 0.5543 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.521e-05/1.521, allocations: 35.88 kB / 0.5543 GB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.62e-05/1.521, allocations: 27.88 kB / 0.5543 GB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2761/1.798, allocations: 5.128 MB / 0.5593 GB, free: 75.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002651/1.8, allocations: 0.5161 MB / 0.5599 GB, free: 75.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/1.802, allocations: 49.52 kB / 0.5599 GB, free: 75.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004202/1.806, allocations: 93.3 kB / 0.56 GB, free: 75.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005295/1.807, allocations: 141.5 kB / 0.5601 GB, free: 75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/1.807, allocations: 65.34 kB / 0.5602 GB, free: 75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.01142/1.818, allocations: 2.466 MB / 0.5626 GB, free: 74.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.303e-06/1.818, allocations: 0 / 0.5626 GB, free: 74.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.01118/1.83, allocations: 0.8658 MB / 0.5634 GB, free: 74.85 MB / 362.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.009787/1.839, allocations: 10.1 MB / 0.5733 GB, free: 66.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009803/1.849, allocations: 3.583 MB / 0.5768 GB, free: 66.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.16e-05/1.849, allocations: 2.656 kB / 0.5768 GB, free: 66.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001693/1.851, allocations: 0.7136 MB / 0.5775 GB, free: 66.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003881/1.855, allocations: 412.3 kB / 0.5779 GB, free: 66.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1311/1.986, allocations: 121.4 MB / 0.6964 GB, free: 6.957 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01049/1.997, allocations: 3.157 MB / 0.6995 GB, free: 5.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01178/2.009, allocations: 1.759 MB / 0.7012 GB, free: 5.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00434/2.013, allocations: 1.772 MB / 0.703 GB, free: 4.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.974e-06/2.013, allocations: 0 / 0.703 GB, free: 4.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4216/2.435, allocations: 64.76 MB / 0.7662 GB, free: 120.8 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/2.435, allocations: 197.2 kB / 0.7664 GB, free: 120.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.071/7.506, allocations: 1.094 kB / 0.7664 GB, free: 120.5 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat does not exist to compare? outputFormat=mat