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.563/2.563, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004279/0.0004279, allocations: 8 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3692, allocations: 54.85 MB / 369.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2265/0.5958, allocations: 101.2 MB / 470.5 MB, free: 7.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.5961, allocations: 87.89 kB / 470.6 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9415/1.538, allocations: 144.4 MB / 0.6006 GB, free: 31.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.756e-06/1.538, allocations: 0 / 0.6006 GB, free: 31.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003544/1.538, allocations: 148 kB / 0.6007 GB, free: 31.57 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.02624/1.564, allocations: 6.877 MB / 0.6074 GB, free: 24.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/1.564, allocations: 12.03 kB / 0.6074 GB, free: 24.6 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006228/1.571, allocations: 1.36 MB / 0.6088 GB, free: 23.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02902/1.6, allocations: 3.622 MB / 0.6123 GB, free: 19.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02535/1.625, allocations: 7.659 MB / 0.6198 GB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008139/1.626, allocations: 0.5975 MB / 0.6204 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00424/1.63, allocations: 0.7887 MB / 0.6211 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07886/1.709, allocations: 21.78 MB / 0.6424 GB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006059/1.71, allocations: 95.16 kB / 0.6425 GB, free: 2.969 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004265/1.714, allocations: 379.8 kB / 0.6429 GB, free: 2.598 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006247/1.72, allocations: 1.937 MB / 0.6447 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07272/1.793, allocations: 17.62 MB / 0.662 GB, free: 15.01 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8031/2.596, allocations: 79.32 MB / 0.7394 GB, free: 36.06 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03079/2.627, allocations: 6.572 MB / 0.7458 GB, free: 35.36 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02611/2.653, allocations: 9.75 MB / 0.7554 GB, free: 33.02 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/2.653, allocations: 69.92 kB / 0.7554 GB, free: 32.98 MB / 474.8 MB Notification: Performance of pre-optimization done (n=284): time 6.452e-06/2.653, allocations: 0 / 0.7554 GB, free: 32.98 MB / 474.8 MB Notification: Performance of matching and sorting (n=320): time 0.1271/2.781, allocations: 24.93 MB / 0.7798 GB, free: 27.82 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/2.781, allocations: 161.7 kB / 0.7799 GB, free: 27.66 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01484/2.796, allocations: 5.401 MB / 0.7852 GB, free: 25.84 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007224/2.796, allocations: 72.86 kB / 0.7853 GB, free: 25.78 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004464/2.801, allocations: 5.024 MB / 0.7902 GB, free: 21.85 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001883/2.803, allocations: 1.222 MB / 0.7914 GB, free: 20.96 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001358/2.804, allocations: 193.5 kB / 0.7916 GB, free: 20.81 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0008299/2.805, allocations: 0.7173 MB / 0.7923 GB, free: 20.32 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009801/2.815, allocations: 2.857 MB / 0.795 GB, free: 19.46 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01376/2.829, allocations: 8.586 MB / 0.8034 GB, free: 10.93 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01344/2.842, allocations: 4.805 MB / 0.8081 GB, free: 9.242 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002492/2.842, allocations: 56.16 kB / 0.8082 GB, free: 9.242 MB / 474.8 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.03341/2.876, allocations: 11.02 MB / 0.8189 GB, free: 0.7109 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/2.876, allocations: 92 kB / 0.819 GB, free: 0.6211 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003194/2.876, allocations: 204 kB / 0.8192 GB, free: 432 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002897/2.877, allocations: 300.8 kB / 0.8195 GB, free: 132 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01725/2.894, allocations: 2.48 MB / 0.8219 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005768/2.895, allocations: 401.4 kB / 0.8223 GB, free: 13.88 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01198/2.907, allocations: 0.6192 MB / 0.8229 GB, free: 13.36 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002397/2.909, allocations: 0.569 MB / 0.8235 GB, free: 12.79 MB / 490.8 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 () * Number of clocked 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.01093/2.92, allocations: 3.362 MB / 0.8268 GB, free: 9.84 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/2.922, allocations: 0.536 MB / 0.8273 GB, free: 9.297 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/2.935, allocations: 3.387 MB / 0.8306 GB, free: 6.391 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.653e-05/2.936, allocations: 39.95 kB / 0.8306 GB, free: 6.352 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/2.936, allocations: 0 / 0.8306 GB, free: 6.352 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.273e-05/2.936, allocations: 13.88 kB / 0.8306 GB, free: 6.352 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04487/2.981, allocations: 13.7 MB / 0.844 GB, free: 10.54 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-05/2.981, allocations: 43.58 kB / 0.844 GB, free: 10.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004821/2.986, allocations: 0.5888 MB / 0.8446 GB, free: 9.996 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.47e-05/2.986, allocations: 52 kB / 0.8447 GB, free: 9.945 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006055/2.986, allocations: 95.84 kB / 0.8448 GB, free: 9.855 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.211e-05/2.986, allocations: 66.75 kB / 0.8448 GB, free: 9.801 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.309e-05/2.986, allocations: 64.72 kB / 0.8449 GB, free: 9.738 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02196/3.008, allocations: 12.31 MB / 0.8569 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003856/3.012, allocations: 0.833 MB / 0.8577 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002018/3.014, allocations: 99.12 kB / 0.8578 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00559/3.02, allocations: 210.1 kB / 0.858 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009496/3.021, allocations: 289.1 kB / 0.8583 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000376/3.021, allocations: 126.2 kB / 0.8584 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01243/3.034, allocations: 3.786 MB / 0.8621 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.01e-07/3.034, allocations: 0 / 0.8621 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01227/3.046, allocations: 1.545 MB / 0.8636 GB, free: 6.824 MB / 0.5105 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 () * Number of clocked 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.3947/3.441, allocations: 18.65 MB / 0.8818 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01837/3.459, allocations: 6.447 MB / 0.8881 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.554e-05/3.459, allocations: 10.5 kB / 0.8881 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004446/3.464, allocations: 1.529 MB / 0.8896 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006039/3.47, allocations: 0.7007 MB / 0.8903 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1086/3.579, allocations: 176.3 MB / 1.062 GB, free: 0.5586 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3759/3.955, allocations: 5.252 MB / 1.068 GB, free: 182.6 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00895/3.964, allocations: 3.534 MB / 1.071 GB, free: 182.6 MB / 0.5574 GB Notification: Performance of SimCode: time 1.122e-06/3.964, allocations: 3.031 kB / 1.071 GB, free: 182.6 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.936/8.899, allocations: 127.4 MB / 1.195 GB, free: 107.7 MB / 0.5574 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