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.236/2.236, allocations: 234.9 MB / 250.5 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004314, allocations: 16 kB / 314.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.357, allocations: 54.86 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.1093/0.4664, allocations: 71.71 MB / 441 MB, free: 4.883 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04482/0.5112, allocations: 15.92 MB / 456.9 MB, free: 4.918 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01528/0.5266, allocations: 351.2 kB / 457.2 MB, free: 4.574 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01266/0.5393, allocations: 3.643 MB / 460.9 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03906/0.5784, allocations: 10.04 MB / 470.9 MB, free: 6.844 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006469/0.5849, allocations: 1.053 MB / 472 MB, free: 5.789 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01012/0.5951, allocations: 3.993 MB / 476 MB, free: 1.789 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01782/0.613, allocations: 8.441 MB / 484.4 MB, free: 9.273 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004355/0.6174, allocations: 1.756 MB / 486.2 MB, free: 7.512 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005568/0.623, allocations: 2.551 MB / 488.7 MB, free: 4.953 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001803/0.6249, allocations: 272 kB / 489 MB, free: 4.688 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.6284, allocations: 0.8349 MB / 489.8 MB, free: 3.852 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004859/0.6333, allocations: 2.79 MB / 492.6 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003033/0.6364, allocations: 1.415 MB / 494 MB, free: 15.62 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01499/0.6514, allocations: 9.297 MB / 0.4915 GB, free: 6.309 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6515, allocations: 4 kB / 0.4915 GB, free: 6.305 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.6515, allocations: 0 / 0.4915 GB, free: 6.305 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003978/0.6519, allocations: 0 / 0.4915 GB, free: 6.305 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.5947/1.247, allocations: 6.651 MB / 0.498 GB, free: 122.6 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/1.247, allocations: 9.812 kB / 0.498 GB, free: 122.6 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004828/1.252, allocations: 1.282 MB / 0.4993 GB, free: 122.2 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02187/1.273, allocations: 3.265 MB / 0.5025 GB, free: 121.2 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/1.285, allocations: 4.365 MB / 0.5067 GB, free: 118.8 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005426/1.286, allocations: 456.6 kB / 0.5072 GB, free: 118.6 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002647/1.288, allocations: 0.5757 MB / 0.5077 GB, free: 118.2 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06491/1.353, allocations: 21.49 MB / 0.5287 GB, free: 95.89 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000305/1.354, allocations: 75.25 kB / 0.5288 GB, free: 95.82 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002276/1.356, allocations: 279.3 kB / 0.5291 GB, free: 95.61 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008652/1.365, allocations: 3.536 MB / 0.5325 GB, free: 92.1 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06046/1.425, allocations: 17.42 MB / 0.5495 GB, free: 74.7 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1099/1.535, allocations: 70.15 MB / 0.618 GB, free: 3.207 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07665/1.612, allocations: 14.48 MB / 0.6322 GB, free: 4.547 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03533/1.647, allocations: 14.34 MB / 0.6462 GB, free: 5.887 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.423e-05/1.647, allocations: 76.48 kB / 0.6463 GB, free: 5.805 MB / 458.8 MB Notification: Performance of pre-optimization done (n=284): time 6.582e-06/1.647, allocations: 0 / 0.6463 GB, free: 5.805 MB / 458.8 MB Notification: Performance of matching and sorting (n=320): time 0.5314/2.179, allocations: 43.61 MB / 0.6888 GB, free: 170.4 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/2.179, allocations: 169.1 kB / 0.689 GB, free: 170.2 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01283/2.192, allocations: 6.334 MB / 0.6952 GB, free: 168.1 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007448/2.192, allocations: 73.45 kB / 0.6953 GB, free: 168.1 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003964/2.196, allocations: 5.03 MB / 0.7002 GB, free: 164.1 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00174/2.198, allocations: 1.214 MB / 0.7014 GB, free: 163.2 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009463/2.199, allocations: 201.5 kB / 0.7015 GB, free: 163.1 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005927/2.2, allocations: 0.7272 MB / 0.7023 GB, free: 162.6 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009009/2.209, allocations: 3.25 MB / 0.7054 GB, free: 161.6 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01254/2.221, allocations: 9.041 MB / 0.7143 GB, free: 152.8 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/2.234, allocations: 5.178 MB / 0.7193 GB, free: 149.7 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001912/2.234, allocations: 60 kB / 0.7194 GB, free: 149.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.03112/2.265, allocations: 11.97 MB / 0.7311 GB, free: 138.5 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/2.265, allocations: 92 kB / 0.7312 GB, free: 138.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002492/2.266, allocations: 204 kB / 0.7313 GB, free: 138.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/2.267, allocations: 0.5357 MB / 0.7319 GB, free: 137.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01413/2.281, allocations: 2.378 MB / 0.7342 GB, free: 135.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003863/2.285, allocations: 2.714 MB / 0.7368 GB, free: 132.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/2.295, allocations: 0.5471 MB / 0.7374 GB, free: 131.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001822/2.297, allocations: 0.5711 MB / 0.7379 GB, free: 131.3 MB / 490.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.008398/2.306, allocations: 3.374 MB / 0.7412 GB, free: 128 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/2.307, allocations: 0.536 MB / 0.7418 GB, free: 127.4 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/2.319, allocations: 4.384 MB / 0.746 GB, free: 123 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.699e-05/2.319, allocations: 36 kB / 0.7461 GB, free: 122.9 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/2.319, allocations: 0 / 0.7461 GB, free: 122.9 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.398e-05/2.319, allocations: 15.94 kB / 0.7461 GB, free: 122.9 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03559/2.355, allocations: 13.52 MB / 0.7593 GB, free: 109 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.447e-05/2.355, allocations: 28 kB / 0.7593 GB, free: 109 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004867/2.36, allocations: 0.628 MB / 0.7599 GB, free: 108.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.285e-05/2.36, allocations: 47.95 kB / 0.76 GB, free: 108.3 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003596/2.36, allocations: 93.16 kB / 0.7601 GB, free: 108.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.53e-05/2.36, allocations: 63.78 kB / 0.7601 GB, free: 108.1 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.626e-05/2.36, allocations: 43.81 kB / 0.7602 GB, free: 108.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/2.373, allocations: 6.548 MB / 0.7666 GB, free: 101 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002918/2.376, allocations: 0.8725 MB / 0.7674 GB, free: 100.1 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/2.378, allocations: 96.81 kB / 0.7675 GB, free: 100 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004372/2.382, allocations: 164.8 kB / 0.7677 GB, free: 99.89 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006886/2.383, allocations: 268.4 kB / 0.7679 GB, free: 99.62 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002656/2.383, allocations: 122.2 kB / 0.768 GB, free: 99.5 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.008706/2.392, allocations: 3.974 MB / 0.7719 GB, free: 95.53 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.633e-06/2.392, allocations: 0 / 0.7719 GB, free: 95.53 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01026/2.402, allocations: 1.599 MB / 0.7735 GB, free: 93.94 MB / 490.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.01436/2.417, allocations: 7.281 MB / 0.7806 GB, free: 86.14 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01765/2.434, allocations: 7.211 MB / 0.7876 GB, free: 78.95 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.369e-05/2.435, allocations: 4 kB / 0.7876 GB, free: 78.95 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004348/2.439, allocations: 1.657 MB / 0.7892 GB, free: 77.3 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005475/2.444, allocations: 0.6866 MB / 0.7899 GB, free: 76.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06341/2.508, allocations: 38.69 MB / 0.8277 GB, free: 32.15 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01014/2.518, allocations: 5.258 MB / 0.8328 GB, free: 26.85 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007206/2.525, allocations: 3.545 MB / 0.8363 GB, free: 23.3 MB / 490.8 MB Notification: Performance of SimCode: time 1.613e-06/2.525, allocations: 0 / 0.8363 GB, free: 23.3 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.269/7.794, allocations: 143.6 MB / 0.9765 GB, free: 67.54 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