Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Damper.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.531e-05, allocations: 7.984 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3687, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1837/0.5525, allocations: 100.4 MB / 458.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.5528, allocations: 75.97 kB / 458.6 MB, free: 10.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8402/1.393, allocations: 141 MB / 0.5856 GB, free: 13.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.604e-06/1.393, allocations: 0 / 0.5856 GB, free: 13.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005571/1.394, allocations: 151.9 kB / 0.5857 GB, free: 12.99 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.03469/1.428, allocations: 6.542 MB / 0.5921 GB, free: 6.367 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.598e-05/1.428, allocations: 8.031 kB / 0.5921 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0379/1.466, allocations: 3.613 MB / 0.5956 GB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02781/1.494, allocations: 7.629 MB / 0.6031 GB, free: 11.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005357/1.495, allocations: 256 kB / 0.6033 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004031/1.499, allocations: 471.8 kB / 0.6038 GB, free: 10.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03192/1.531, allocations: 11.3 MB / 0.6148 GB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6937/2.225, allocations: 16.51 MB / 0.6309 GB, free: 63.93 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006523/2.225, allocations: 94.75 kB / 0.631 GB, free: 63.93 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003977/2.229, allocations: 49.53 kB / 0.6311 GB, free: 63.93 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006317/2.236, allocations: 1.936 MB / 0.633 GB, free: 63.91 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1168/2.353, allocations: 77.02 MB / 0.7082 GB, free: 34.46 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00677/2.359, allocations: 3.309 MB / 0.7114 GB, free: 33.79 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004442/2.364, allocations: 1.877 MB / 0.7133 GB, free: 33.73 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002098/2.366, allocations: 1.776 MB / 0.715 GB, free: 32.22 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.89e-05/2.366, allocations: 66.02 kB / 0.715 GB, free: 32.17 MB / 474.8 MB Notification: Performance of pre-optimization done (n=287): time 7.363e-06/2.366, allocations: 3.844 kB / 0.7151 GB, free: 32.17 MB / 474.8 MB Notification: Performance of matching and sorting (n=317): time 0.08184/2.448, allocations: 18.05 MB / 0.7327 GB, free: 25.93 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/2.448, allocations: 163.9 kB / 0.7328 GB, free: 25.77 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009583/2.458, allocations: 4.423 MB / 0.7372 GB, free: 24.18 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006611/2.459, allocations: 25.7 kB / 0.7372 GB, free: 24.14 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003956/2.462, allocations: 5.172 MB / 0.7422 GB, free: 20.12 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001739/2.464, allocations: 1.177 MB / 0.7434 GB, free: 19.25 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/2.465, allocations: 0 / 0.7434 GB, free: 19.25 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0007769/2.466, allocations: 0.7259 MB / 0.7441 GB, free: 18.76 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006107/2.472, allocations: 2.483 MB / 0.7465 GB, free: 17.89 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01072/2.483, allocations: 8.351 MB / 0.7547 GB, free: 9.086 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/2.494, allocations: 4.492 MB / 0.7591 GB, free: 7.586 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002679/2.494, allocations: 69.8 kB / 0.7591 GB, free: 7.578 MB / 474.8 MB Notification: Performance of matching and sorting (n=1293) (initialization): time 0.0279/2.522, allocations: 9.44 MB / 0.7683 GB, free: 4.297 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/2.523, allocations: 97.41 kB / 0.7684 GB, free: 4.297 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000306/2.523, allocations: 211 kB / 0.7686 GB, free: 4.297 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003448/2.523, allocations: 309.9 kB / 0.7689 GB, free: 4.297 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01552/2.539, allocations: 2.452 MB / 0.7713 GB, free: 4 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003877/2.539, allocations: 416.7 kB / 0.7717 GB, free: 3.91 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01163/2.551, allocations: 450.4 kB / 0.7721 GB, free: 3.879 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002443/2.553, allocations: 0.5783 MB / 0.7727 GB, free: 3.531 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 69 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1269): * Single equations (assignments): 1266 * 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.002194/2.556, allocations: 0.6391 MB / 0.7733 GB, free: 2.891 MB / 474.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008427/2.564, allocations: 3.092 MB / 0.7764 GB, free: 80 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001765/2.566, allocations: 0.4919 MB / 0.7768 GB, free: 15.61 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008252/2.574, allocations: 2.846 MB / 0.7796 GB, free: 13.16 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-05/2.574, allocations: 32 kB / 0.7796 GB, free: 13.13 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/2.574, allocations: 0 / 0.7796 GB, free: 13.13 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.765e-05/2.574, allocations: 16.78 kB / 0.7797 GB, free: 13.13 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03282/2.607, allocations: 11.53 MB / 0.7909 GB, free: 3.176 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.147e-05/2.607, allocations: 31.95 kB / 0.791 GB, free: 3.145 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004893/2.612, allocations: 0.5876 MB / 0.7915 GB, free: 2.641 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.662e-05/2.612, allocations: 52 kB / 0.7916 GB, free: 2.59 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004765/2.613, allocations: 51.14 kB / 0.7916 GB, free: 2.543 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-05/2.613, allocations: 62.28 kB / 0.7917 GB, free: 2.488 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.435e-05/2.613, allocations: 51.66 kB / 0.7917 GB, free: 2.441 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/2.627, allocations: 10.12 MB / 0.8016 GB, free: 7.562 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003527/2.631, allocations: 0.7604 MB / 0.8024 GB, free: 6.84 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001396/2.632, allocations: 58.61 kB / 0.8024 GB, free: 6.793 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004495/2.637, allocations: 148.5 kB / 0.8026 GB, free: 6.688 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007775/2.637, allocations: 280.3 kB / 0.8028 GB, free: 6.48 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003084/2.638, allocations: 119.8 kB / 0.8029 GB, free: 6.367 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007827/2.646, allocations: 2.888 MB / 0.8058 GB, free: 3.875 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.91e-07/2.646, allocations: 0 / 0.8058 GB, free: 3.875 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01189/2.658, allocations: 1.309 MB / 0.807 GB, free: 2.57 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 138 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (298): * Single equations (assignments): 295 * 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.3744/3.032, allocations: 17.39 MB / 0.824 GB, free: 97.71 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01314/3.045, allocations: 5.709 MB / 0.8296 GB, free: 97.67 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.903e-05/3.045, allocations: 3.469 kB / 0.8296 GB, free: 97.67 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.00322/3.048, allocations: 1.377 MB / 0.8309 GB, free: 97.66 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00489/3.053, allocations: 0.5224 MB / 0.8315 GB, free: 97.64 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04995/3.103, allocations: 15.45 MB / 0.8465 GB, free: 93.91 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01294/3.116, allocations: 5.235 MB / 0.8516 GB, free: 93.04 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008422/3.125, allocations: 3.524 MB / 0.8551 GB, free: 93.03 MB / 0.4949 GB Notification: Performance of SimCode: time 1.663e-06/3.125, allocations: 0 / 0.8551 GB, free: 93.03 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.026/8.151, allocations: 124 MB / 0.9762 GB, free: 13.21 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat