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/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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.492/2.492, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.531e-05, allocations: 4 kB / 309.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4588, allocations: 54.85 MB / 364.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2419/0.7008, allocations: 101.1 MB / 465.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.7012, allocations: 71.97 kB / 465.8 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9309/1.632, allocations: 144.5 MB / 0.596 GB, free: 96.03 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.295e-06/1.632, allocations: 0 / 0.596 GB, free: 96.03 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003901/1.633, allocations: 146.3 kB / 0.5962 GB, free: 96.02 MB / 458.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.02504/1.658, allocations: 6.549 MB / 0.6025 GB, free: 90.72 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/1.658, allocations: 12.03 kB / 0.6026 GB, free: 90.71 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006723/1.664, allocations: 1.364 MB / 0.6039 GB, free: 89.33 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02962/1.694, allocations: 3.622 MB / 0.6074 GB, free: 85.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02669/1.721, allocations: 7.625 MB / 0.6149 GB, free: 78 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008305/1.722, allocations: 0.5936 MB / 0.6155 GB, free: 77.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004629/1.726, allocations: 0.7771 MB / 0.6162 GB, free: 76.63 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07507/1.801, allocations: 21.53 MB / 0.6372 GB, free: 53.47 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005581/1.802, allocations: 91.16 kB / 0.6373 GB, free: 53.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004226/1.806, allocations: 383.8 kB / 0.6377 GB, free: 53 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005464/1.812, allocations: 1.933 MB / 0.6396 GB, free: 51.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06291/1.875, allocations: 17.18 MB / 0.6564 GB, free: 33.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5099/2.385, allocations: 79.33 MB / 0.7338 GB, free: 48.67 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03145/2.416, allocations: 6.495 MB / 0.7402 GB, free: 47.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005128/2.421, allocations: 2.051 MB / 0.7422 GB, free: 47.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02715/2.449, allocations: 9.743 MB / 0.7517 GB, free: 45.61 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.89e-05/2.449, allocations: 66.06 kB / 0.7518 GB, free: 45.57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=284): time 7.244e-06/2.449, allocations: 0 / 0.7518 GB, free: 45.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=320): time 0.122/2.571, allocations: 22.61 MB / 0.7738 GB, free: 40.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/2.571, allocations: 164.1 kB / 0.774 GB, free: 40.66 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01419/2.585, allocations: 5.257 MB / 0.7791 GB, free: 40.01 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00077/2.586, allocations: 74.19 kB / 0.7792 GB, free: 39.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004761/2.591, allocations: 5.021 MB / 0.7841 GB, free: 36.58 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001895/2.593, allocations: 1.215 MB / 0.7853 GB, free: 35.69 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/2.594, allocations: 197.8 kB / 0.7855 GB, free: 35.54 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001027/2.595, allocations: 0.7135 MB / 0.7862 GB, free: 35.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007885/2.603, allocations: 2.632 MB / 0.7887 GB, free: 34.19 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01214/2.615, allocations: 8.35 MB / 0.7969 GB, free: 25.65 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/2.627, allocations: 4.624 MB / 0.8014 GB, free: 24.31 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002437/2.627, allocations: 59.22 kB / 0.8015 GB, free: 24.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.02894/2.656, allocations: 10.54 MB / 0.8118 GB, free: 20.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/2.656, allocations: 92 kB / 0.8119 GB, free: 19.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003211/2.656, allocations: 207.9 kB / 0.812 GB, free: 19.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003524/2.657, allocations: 304.1 kB / 0.8123 GB, free: 19.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01544/2.672, allocations: 2.388 MB / 0.8147 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004414/2.673, allocations: 404.2 kB / 0.8151 GB, free: 16.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01228/2.685, allocations: 0.6222 MB / 0.8157 GB, free: 16.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002345/2.687, allocations: 0.5659 MB / 0.8162 GB, free: 15.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 925 * 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 (1236): * Single equations (assignments): 1233 * 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.003656/2.691, allocations: 0.8445 MB / 0.817 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/2.692, allocations: 0.5376 MB / 0.8176 GB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009796/2.702, allocations: 3.19 MB / 0.8207 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.694e-05/2.702, allocations: 32 kB / 0.8207 GB, free: 11.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/2.702, allocations: 4 kB / 0.8207 GB, free: 11.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.149e-05/2.703, allocations: 19.42 kB / 0.8207 GB, free: 11.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03981/2.742, allocations: 13.57 MB / 0.834 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.56e-05/2.743, allocations: 32.94 kB / 0.834 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00506/2.748, allocations: 0.5941 MB / 0.8346 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/2.748, allocations: 55.89 kB / 0.8347 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006327/2.748, allocations: 95.09 kB / 0.8347 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.631e-05/2.749, allocations: 66.09 kB / 0.8348 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.863e-05/2.749, allocations: 51.75 kB / 0.8349 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/2.766, allocations: 11.95 MB / 0.8465 GB, free: 1.906 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003661/2.769, allocations: 0.8323 MB / 0.8473 GB, free: 1.121 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001931/2.771, allocations: 107.6 kB / 0.8474 GB, free: 1.023 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005783/2.777, allocations: 206.7 kB / 0.8476 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009831/2.778, allocations: 287.4 kB / 0.8479 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004366/2.779, allocations: 130.8 kB / 0.848 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.02457/2.803, allocations: 4.424 MB / 0.8524 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.02e-07/2.803, allocations: 0 / 0.8524 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01218/2.816, allocations: 1.554 MB / 0.8539 GB, free: 13.66 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * 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 (301): * Single equations (assignments): 298 * 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.01961/2.835, allocations: 18.46 MB / 0.8719 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01718/2.852, allocations: 6.152 MB / 0.8779 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.359e-05/2.853, allocations: 8 kB / 0.8779 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004365/2.857, allocations: 1.475 MB / 0.8794 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006948/2.864, allocations: 0.7004 MB / 0.88 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05923/2.923, allocations: 15.95 MB / 0.8956 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01451/2.938, allocations: 5.246 MB / 0.9007 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009324/2.947, allocations: 3.545 MB / 0.9042 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of SimCode: time 1.162e-06/2.947, allocations: 0 / 0.9042 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.703/8.65, allocations: 129.1 MB / 1.03 GB, free: 102.1 MB / 0.5417 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