Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Damper.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.952/1.952, allocations: 209.2 MB / 224.8 MB, free: 1.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006644/0.0006645, allocations: 15.94 kB / 282.6 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1401, allocations: 48.71 MB / 331.3 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.372/0.5121, allocations: 71.69 MB / 403 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04713/0.5593, allocations: 15.9 MB / 418.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01626/0.5757, allocations: 347.2 kB / 419.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01372/0.5894, allocations: 3.643 MB / 422.9 MB, free: 9.164 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04027/0.6298, allocations: 10.05 MB / 432.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006834/0.6366, allocations: 1.061 MB / 434 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01031/0.647, allocations: 3.982 MB / 437.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01842/0.6655, allocations: 8.454 MB / 446.4 MB, free: 1.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0045/0.67, allocations: 1.756 MB / 448.2 MB, free: 15.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005685/0.6758, allocations: 2.539 MB / 450.7 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001798/0.6777, allocations: 272 kB / 451 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/0.6812, allocations: 0.8349 MB / 451.8 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005023/0.6863, allocations: 2.794 MB / 454.6 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002971/0.6893, allocations: 1.411 MB / 456 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0158/0.7052, allocations: 9.297 MB / 465.3 MB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7052, allocations: 0 / 465.3 MB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.7052, allocations: 0 / 465.3 MB, free: 14.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004111/0.7057, allocations: 0 / 465.3 MB, free: 14.57 MB / 394.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.02089/0.7266, allocations: 6.665 MB / 472 MB, free: 7.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.7266, allocations: 8.031 kB / 472 MB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003967/0.7306, allocations: 1.286 MB / 473.3 MB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02195/0.7526, allocations: 3.262 MB / 476.5 MB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01299/0.7656, allocations: 4.369 MB / 480.9 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006775/0.7664, allocations: 451.4 kB / 481.3 MB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002815/0.7692, allocations: 0.5778 MB / 481.9 MB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.585/1.354, allocations: 21.48 MB / 0.4916 GB, free: 118.5 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003784/1.355, allocations: 72.27 kB / 0.4917 GB, free: 118.5 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002146/1.357, allocations: 279.7 kB / 0.4919 GB, free: 118.4 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01049/1.367, allocations: 3.53 MB / 0.4954 GB, free: 117.8 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06539/1.433, allocations: 17.42 MB / 0.5124 GB, free: 111.3 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1151/1.548, allocations: 70.16 MB / 0.5809 GB, free: 43 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07328/1.621, allocations: 14.49 MB / 0.595 GB, free: 28.35 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03117/1.652, allocations: 14.36 MB / 0.6091 GB, free: 13.79 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/1.653, allocations: 68.56 kB / 0.6091 GB, free: 13.71 MB / 410.8 MB Notification: Performance of pre-optimization done (n=284): time 6.522e-06/1.653, allocations: 0 / 0.6091 GB, free: 13.71 MB / 410.8 MB Notification: Performance of matching and sorting (n=320): time 0.2232/1.876, allocations: 43.62 MB / 0.6517 GB, free: 1.836 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/1.876, allocations: 162.6 kB / 0.6519 GB, free: 1.645 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3006/2.177, allocations: 6.331 MB / 0.6581 GB, free: 144.4 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000752/2.177, allocations: 73.27 kB / 0.6581 GB, free: 144.4 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004607/2.182, allocations: 5.034 MB / 0.6631 GB, free: 141.1 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00213/2.184, allocations: 1.216 MB / 0.6642 GB, free: 140.2 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/2.185, allocations: 198.2 kB / 0.6644 GB, free: 140 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0009889/2.186, allocations: 0.7222 MB / 0.6651 GB, free: 139.5 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01076/2.197, allocations: 3.248 MB / 0.6683 GB, free: 138.5 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01491/2.212, allocations: 9.044 MB / 0.6771 GB, free: 129.7 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/2.227, allocations: 5.173 MB / 0.6822 GB, free: 127.7 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004455/2.228, allocations: 58.19 kB / 0.6822 GB, free: 127.7 MB / 442.8 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.03633/2.264, allocations: 11.97 MB / 0.6939 GB, free: 123.2 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004181/2.265, allocations: 95.5 kB / 0.694 GB, free: 123.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00054/2.265, allocations: 206.1 kB / 0.6942 GB, free: 123.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/2.268, allocations: 0.531 MB / 0.6947 GB, free: 123.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02103/2.289, allocations: 2.385 MB / 0.6971 GB, free: 122.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005948/2.295, allocations: 2.714 MB / 0.6997 GB, free: 121.1 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01771/2.312, allocations: 0.5411 MB / 0.7002 GB, free: 121 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002653/2.315, allocations: 0.5729 MB / 0.7008 GB, free: 120.9 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 931 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1239): * Single equations (assignments): 1235 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01236/2.327, allocations: 3.372 MB / 0.7041 GB, free: 117.9 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002053/2.33, allocations: 0.536 MB / 0.7046 GB, free: 117.3 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/2.348, allocations: 4.382 MB / 0.7089 GB, free: 113.6 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.484e-05/2.348, allocations: 35.94 kB / 0.7089 GB, free: 113.5 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/2.348, allocations: 4 kB / 0.7089 GB, free: 113.5 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.428e-05/2.348, allocations: 23.52 kB / 0.709 GB, free: 113.5 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04558/2.394, allocations: 13.51 MB / 0.7222 GB, free: 100.4 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-05/2.394, allocations: 31.94 kB / 0.7222 GB, free: 100.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004973/2.399, allocations: 0.6215 MB / 0.7228 GB, free: 99.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.799e-05/2.399, allocations: 44 kB / 0.7228 GB, free: 99.66 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004186/2.4, allocations: 97.16 kB / 0.7229 GB, free: 99.56 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.916e-05/2.4, allocations: 63.72 kB / 0.723 GB, free: 99.5 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.628e-05/2.4, allocations: 45.92 kB / 0.723 GB, free: 99.46 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/2.413, allocations: 6.55 MB / 0.7294 GB, free: 92.39 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003077/2.416, allocations: 0.8764 MB / 0.7303 GB, free: 91.49 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001668/2.418, allocations: 88.89 kB / 0.7304 GB, free: 91.41 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004551/2.423, allocations: 167.9 kB / 0.7305 GB, free: 91.24 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007/2.423, allocations: 277.1 kB / 0.7308 GB, free: 90.97 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002816/2.424, allocations: 121.2 kB / 0.7309 GB, free: 90.86 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.008951/2.433, allocations: 3.971 MB / 0.7348 GB, free: 86.89 MB / 442.8 MB Notification: Performance of sort global known variables: time 9.22e-07/2.433, allocations: 0 / 0.7348 GB, free: 86.89 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01048/2.443, allocations: 1.593 MB / 0.7363 GB, free: 85.3 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 123 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 302 * 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.01501/2.458, allocations: 7.294 MB / 0.7435 GB, free: 77.48 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01771/2.476, allocations: 7.207 MB / 0.7505 GB, free: 70.29 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.428e-05/2.476, allocations: 4 kB / 0.7505 GB, free: 70.29 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004385/2.48, allocations: 1.658 MB / 0.7521 GB, free: 68.64 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005578/2.486, allocations: 0.6867 MB / 0.7528 GB, free: 67.96 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06527/2.551, allocations: 38.69 MB / 0.7906 GB, free: 23.5 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01107/2.562, allocations: 5.258 MB / 0.7957 GB, free: 18.2 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007609/2.57, allocations: 3.541 MB / 0.7992 GB, free: 14.65 MB / 442.8 MB Notification: Performance of SimCode: time 1.603e-06/2.57, allocations: 0 / 0.7992 GB, free: 14.65 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.294/7.865, allocations: 143.6 MB / 0.9394 GB, free: 25.39 MB / 442.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat