Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01537/0.01537, allocations: 105.1 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001665/0.001664, allocations: 173.6 kB / 15.94 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.912/1.912, allocations: 170.9 MB / 187.6 MB, free: 0.9961 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2712/0.2712, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005219/0.0005219, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1062, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.4206/0.5269, allocations: 71.68 MB / 444 MB, free: 8.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04795/0.5749, allocations: 15.9 MB / 459.9 MB, free: 7.977 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01991/0.5949, allocations: 351.1 kB / 460.2 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01411/0.609, allocations: 3.651 MB / 463.9 MB, free: 6.066 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04159/0.6507, allocations: 10.04 MB / 473.9 MB, free: 3.039 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007102/0.6578, allocations: 1.06 MB / 475 MB, free: 2.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01097/0.6688, allocations: 3.888 MB / 478.9 MB, free: 1.895 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0175/0.6864, allocations: 8.446 MB / 487.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005156/0.6916, allocations: 1.74 MB / 489 MB, free: 13.39 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006358/0.698, allocations: 2.527 MB / 491.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002242/0.7003, allocations: 279.9 kB / 491.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004679/0.705, allocations: 0.8255 MB / 492.7 MB, free: 10.22 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005683/0.7108, allocations: 2.797 MB / 495.5 MB, free: 7.457 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00348/0.7143, allocations: 1.411 MB / 496.9 MB, free: 6.035 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01545/0.7298, allocations: 9.295 MB / 0.4943 GB, free: 13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7299, allocations: 0 / 0.4943 GB, free: 13 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.7299, allocations: 4 kB / 0.4943 GB, free: 13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004101/0.7303, allocations: 0 / 0.4943 GB, free: 13 MB / 362.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.02071/0.751, allocations: 6.666 MB / 0.5008 GB, free: 6.297 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.7511, allocations: 8.031 kB / 0.5008 GB, free: 6.289 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0042/0.7553, allocations: 1.281 MB / 0.5021 GB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02238/0.7777, allocations: 3.265 MB / 0.5053 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/0.7905, allocations: 4.358 MB / 0.5095 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005838/0.7912, allocations: 463 kB / 0.51 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002671/0.7938, allocations: 0.5706 MB / 0.5105 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0723/0.8662, allocations: 21.44 MB / 0.5315 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003832/0.8666, allocations: 75.25 kB / 0.5315 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002023/0.8686, allocations: 276.5 kB / 0.5318 GB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0103/0.879, allocations: 3.53 MB / 0.5352 GB, free: 2.312 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07035/0.9494, allocations: 17.41 MB / 0.5523 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7357/1.685, allocations: 70.15 MB / 0.6208 GB, free: 125.4 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07538/1.761, allocations: 14.49 MB / 0.6349 GB, free: 123.6 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03288/1.793, allocations: 14.36 MB / 0.6489 GB, free: 115.5 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.915e-05/1.794, allocations: 67.97 kB / 0.649 GB, free: 115.4 MB / 458.8 MB Notification: Performance of pre-optimization done (n=284): time 7.233e-06/1.794, allocations: 3.281 kB / 0.649 GB, free: 115.4 MB / 458.8 MB Notification: Performance of matching and sorting (n=320): time 0.2104/2.004, allocations: 43.63 MB / 0.6916 GB, free: 73.84 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/2.004, allocations: 166.1 kB / 0.6918 GB, free: 73.65 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01248/2.017, allocations: 6.327 MB / 0.6979 GB, free: 67.3 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009465/2.018, allocations: 73.7 kB / 0.698 GB, free: 67.23 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004117/2.022, allocations: 5.178 MB / 0.7031 GB, free: 62.05 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001754/2.024, allocations: 1.221 MB / 0.7043 GB, free: 60.84 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009917/2.025, allocations: 197.6 kB / 0.7045 GB, free: 60.65 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0006387/2.025, allocations: 0.7114 MB / 0.7051 GB, free: 59.93 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00916/2.034, allocations: 3.251 MB / 0.7083 GB, free: 56.67 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01247/2.047, allocations: 9.002 MB / 0.7171 GB, free: 44.89 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/2.059, allocations: 5.18 MB / 0.7222 GB, free: 39.87 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001572/2.059, allocations: 60 kB / 0.7222 GB, free: 39.81 MB / 458.8 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.03166/2.091, allocations: 12.15 MB / 0.7341 GB, free: 27.65 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/2.091, allocations: 92 kB / 0.7342 GB, free: 27.56 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002433/2.092, allocations: 204 kB / 0.7344 GB, free: 27.36 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/2.093, allocations: 0.528 MB / 0.7349 GB, free: 26.83 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01423/2.107, allocations: 2.383 MB / 0.7372 GB, free: 24.44 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003944/2.111, allocations: 2.721 MB / 0.7399 GB, free: 21.58 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01069/2.122, allocations: 0.5384 MB / 0.7404 GB, free: 21.04 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002034/2.124, allocations: 0.5758 MB / 0.741 GB, free: 20.47 MB / 458.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.008335/2.132, allocations: 3.371 MB / 0.7443 GB, free: 17.08 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/2.134, allocations: 0.5477 MB / 0.7448 GB, free: 16.53 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/2.145, allocations: 4.381 MB / 0.7491 GB, free: 12.09 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.436e-05/2.145, allocations: 33.17 kB / 0.7491 GB, free: 12.06 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/2.145, allocations: 7.406 kB / 0.7491 GB, free: 12.05 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.943e-05/2.145, allocations: 15.94 kB / 0.7491 GB, free: 12.04 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03504/2.18, allocations: 13.52 MB / 0.7623 GB, free: 14.11 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-05/2.181, allocations: 24 kB / 0.7623 GB, free: 14.09 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005234/2.186, allocations: 0.6241 MB / 0.763 GB, free: 13.46 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-05/2.186, allocations: 51.89 kB / 0.763 GB, free: 13.41 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005203/2.186, allocations: 95.98 kB / 0.7631 GB, free: 13.32 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001084/2.187, allocations: 59.78 kB / 0.7632 GB, free: 13.26 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.292e-05/2.187, allocations: 47.75 kB / 0.7632 GB, free: 13.21 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01944/2.206, allocations: 11.53 MB / 0.7745 GB, free: 160 kB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2921/2.498, allocations: 0.8748 MB / 0.7753 GB, free: 167 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001497/2.5, allocations: 87.16 kB / 0.7754 GB, free: 167 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004392/2.504, allocations: 164.7 kB / 0.7756 GB, free: 167 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008037/2.505, allocations: 269.7 kB / 0.7758 GB, free: 167 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003417/2.505, allocations: 120.6 kB / 0.7759 GB, free: 167 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0108/2.516, allocations: 3.976 MB / 0.7798 GB, free: 166.8 MB / 474.8 MB Notification: Performance of sort global known variables: time 6.51e-07/2.516, allocations: 0 / 0.7798 GB, free: 166.8 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01158/2.528, allocations: 1.588 MB / 0.7814 GB, free: 166.7 MB / 474.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.01942/2.547, allocations: 17.11 MB / 0.7981 GB, free: 152.6 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01775/2.565, allocations: 7.203 MB / 0.8051 GB, free: 150.2 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.386e-05/2.565, allocations: 3.938 kB / 0.8051 GB, free: 150.2 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004425/2.57, allocations: 1.657 MB / 0.8067 GB, free: 149.6 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005618/2.575, allocations: 0.6934 MB / 0.8074 GB, free: 149.4 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.424/2.999, allocations: 176.6 MB / 0.9798 GB, free: 135.3 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01232/3.012, allocations: 5.255 MB / 0.985 GB, free: 134.4 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01452/3.026, allocations: 2.776 MB / 0.9877 GB, free: 134.4 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008028/3.034, allocations: 3.476 MB / 0.9911 GB, free: 133.6 MB / 474.8 MB Notification: Performance of SimCode: time 1.403e-06/3.034, allocations: 1.344 kB / 0.9911 GB, free: 133.6 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2553/3.29, allocations: 115.2 MB / 1.104 GB, free: 30.47 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/3.29, allocations: 192 kB / 1.104 GB, free: 30.23 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/11.13, allocations: 3.938 kB / 1.104 GB, free: 30.22 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat