Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.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.Damper2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Damper2",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.01577/0.01577, allocations: 107.2 kB / 15.06 MB, free: 5.555 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.001739/0.001739, allocations: 169.9 kB / 15.93 MB, free: 5.527 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.934/1.934, allocations: 170.9 MB / 187.5 MB, free: 1.008 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.27/0.27, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006585/0.0006587, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1009, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.4035/0.5045, allocations: 71.73 MB / 444 MB, free: 8.484 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04635/0.5509, allocations: 15.94 MB / 460 MB, free: 7.551 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01739/0.5684, allocations: 351.2 kB / 460.3 MB, free: 7.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01324/0.5816, allocations: 3.652 MB / 464 MB, free: 5.645 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04186/0.6236, allocations: 10.05 MB / 474 MB, free: 2.613 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007373/0.631, allocations: 1.082 MB / 475.1 MB, free: 2.309 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.6412, allocations: 3.906 MB / 479 MB, free: 1.457 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01782/0.6591, allocations: 8.471 MB / 487.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005365/0.6645, allocations: 1.762 MB / 489.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006031/0.6706, allocations: 2.542 MB / 491.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002217/0.6729, allocations: 276 kB / 492 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0045/0.6774, allocations: 0.8275 MB / 492.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005513/0.683, allocations: 2.797 MB / 495.7 MB, free: 7.184 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0033/0.6863, allocations: 1.415 MB / 497.1 MB, free: 5.758 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01576/0.7021, allocations: 9.334 MB / 0.4945 GB, free: 12.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7022, allocations: 0 / 0.4945 GB, free: 12.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.7022, allocations: 0 / 0.4945 GB, free: 12.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004371/0.7026, allocations: 0 / 0.4945 GB, free: 12.69 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: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.02394/0.7266, allocations: 6.751 MB / 0.5011 GB, free: 5.891 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.746e-05/0.7267, allocations: 8.031 kB / 0.5011 GB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006615/0.7333, allocations: 1.283 MB / 0.5024 GB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03615/0.7696, allocations: 3.263 MB / 0.5056 GB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/0.784, allocations: 4.37 MB / 0.5099 GB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000692/0.7847, allocations: 455 kB / 0.5103 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002756/0.7875, allocations: 0.5795 MB / 0.5109 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0733/0.8609, allocations: 21.5 MB / 0.5318 GB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004053/0.8613, allocations: 75.23 kB / 0.5319 GB, free: 5.562 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002294/0.8636, allocations: 277.7 kB / 0.5322 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01017/0.8738, allocations: 3.534 MB / 0.5356 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0699/0.9438, allocations: 17.5 MB / 0.5527 GB, free: 328 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7819/1.726, allocations: 70.23 MB / 0.6213 GB, free: 125.2 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07461/1.8, allocations: 14.58 MB / 0.6355 GB, free: 123.3 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03297/1.833, allocations: 14.4 MB / 0.6496 GB, free: 115.2 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07015/1.904, allocations: 12.46 MB / 0.6618 GB, free: 104.8 MB / 458.8 MB Notification: Performance of pre-optimization done (n=287): time 1.229e-05/1.904, allocations: 0 / 0.6618 GB, free: 104.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=323): time 0.2446/2.148, allocations: 43.62 MB / 0.7044 GB, free: 60.95 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/2.148, allocations: 169.9 kB / 0.7045 GB, free: 60.75 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/2.16, allocations: 6.344 MB / 0.7107 GB, free: 54.39 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007643/2.161, allocations: 82.39 kB / 0.7108 GB, free: 54.3 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004979/2.166, allocations: 5.291 MB / 0.716 GB, free: 49.02 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00179/2.168, allocations: 1.236 MB / 0.7172 GB, free: 47.79 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/2.169, allocations: 197.2 kB / 0.7174 GB, free: 47.6 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0006746/2.17, allocations: 0.7076 MB / 0.7181 GB, free: 46.88 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009524/2.179, allocations: 3.302 MB / 0.7213 GB, free: 43.57 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01325/2.193, allocations: 9.053 MB / 0.7301 GB, free: 31.75 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/2.206, allocations: 5.254 MB / 0.7353 GB, free: 26.64 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001518/2.206, allocations: 60 kB / 0.7353 GB, free: 26.59 MB / 458.8 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.03247/2.238, allocations: 12.28 MB / 0.7473 GB, free: 14.27 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000153/2.238, allocations: 121.7 kB / 0.7474 GB, free: 14.14 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002273/2.239, allocations: 204 kB / 0.7476 GB, free: 13.95 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/2.24, allocations: 0.524 MB / 0.7481 GB, free: 13.42 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01451/2.254, allocations: 2.402 MB / 0.7505 GB, free: 11.01 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/2.258, allocations: 2.721 MB / 0.7531 GB, free: 8.152 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01025/2.269, allocations: 0.5579 MB / 0.7537 GB, free: 7.594 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001828/2.271, allocations: 0.5793 MB / 0.7542 GB, free: 7.016 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: 74 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (1243): * Single equations (assignments): 1238 * Array equations: 3 * Algorithm blocks: 1 * 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.009849/2.28, allocations: 3.382 MB / 0.7576 GB, free: 3.621 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001498/2.282, allocations: 0.5476 MB / 0.7581 GB, free: 3.066 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02651/2.308, allocations: 4.472 MB / 0.7625 GB, free: 14.54 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/2.309, allocations: 36 kB / 0.7625 GB, free: 14.5 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/2.309, allocations: 0 / 0.7625 GB, free: 14.5 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.734e-05/2.309, allocations: 17.88 kB / 0.7625 GB, free: 14.49 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05548/2.364, allocations: 13.51 MB / 0.7757 GB, free: 0.5703 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-05/2.364, allocations: 28.45 kB / 0.7757 GB, free: 0.543 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2958/2.66, allocations: 0.6812 MB / 0.7764 GB, free: 166.6 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.58e-05/2.66, allocations: 44 kB / 0.7764 GB, free: 166.6 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005297/2.661, allocations: 93.39 kB / 0.7765 GB, free: 166.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.615e-05/2.661, allocations: 61.97 kB / 0.7766 GB, free: 166.6 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-05/2.661, allocations: 45.5 kB / 0.7766 GB, free: 166.6 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01891/2.68, allocations: 11.46 MB / 0.7878 GB, free: 159.2 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003244/2.683, allocations: 0.8764 MB / 0.7887 GB, free: 159 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001536/2.685, allocations: 93.86 kB / 0.7888 GB, free: 159 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004669/2.689, allocations: 187 kB / 0.7889 GB, free: 159 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009081/2.69, allocations: 279.5 kB / 0.7892 GB, free: 158.9 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004325/2.691, allocations: 125.8 kB / 0.7893 GB, free: 158.9 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01086/2.702, allocations: 3.985 MB / 0.7932 GB, free: 157.6 MB / 474.8 MB Notification: Performance of sort global known variables: time 6.21e-07/2.702, allocations: 3.844 kB / 0.7932 GB, free: 157.6 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01103/2.713, allocations: 1.599 MB / 0.7948 GB, free: 157.4 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 123 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (308): * Single equations (assignments): 303 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.01976/2.733, allocations: 17.04 MB / 0.8114 GB, free: 143.4 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01886/2.752, allocations: 7.343 MB / 0.8186 GB, free: 140.9 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.332e-05/2.752, allocations: 3.875 kB / 0.8186 GB, free: 140.9 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006406/2.758, allocations: 1.937 MB / 0.8205 GB, free: 140.3 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00589/2.764, allocations: 0.6928 MB / 0.8212 GB, free: 140 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3745/3.139, allocations: 176.8 MB / 0.9938 GB, free: 125.2 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01326/3.152, allocations: 5.267 MB / 0.999 GB, free: 124.3 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01442/3.166, allocations: 2.773 MB / 1.002 GB, free: 124.2 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007776/3.174, allocations: 3.466 MB / 1.005 GB, free: 123.7 MB / 474.8 MB Notification: Performance of SimCode: time 1.413e-06/3.174, allocations: 5.094 kB / 1.005 GB, free: 123.7 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2423/3.417, allocations: 116 MB / 1.118 GB, free: 20.08 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/3.417, allocations: 201 kB / 1.119 GB, free: 19.83 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/11.63, allocations: 0 / 1.119 GB, free: 19.83 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat