Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01091/0.01091, allocations: 106.4 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001212/0.001212, allocations: 180.4 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.163/2.163, allocations: 194.5 MB / 211.3 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2719/0.2719, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005181/0.0005182, allocations: 8 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1239, allocations: 54.87 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.408/0.5319, allocations: 71.7 MB / 487.7 MB, free: 22.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04034/0.5723, allocations: 15.91 MB / 0.4918 GB, free: 11.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01668/0.589, allocations: 354.2 kB / 0.4922 GB, free: 11.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01295/0.602, allocations: 3.649 MB / 0.4957 GB, free: 10.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03917/0.6413, allocations: 10.04 MB / 0.5055 GB, free: 5.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006801/0.6481, allocations: 1.053 MB / 0.5066 GB, free: 5.516 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01115/0.6593, allocations: 3.893 MB / 0.5104 GB, free: 3.879 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01785/0.6772, allocations: 8.46 MB / 0.5186 GB, free: 15.48 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005025/0.6823, allocations: 1.743 MB / 0.5203 GB, free: 14.55 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005877/0.6882, allocations: 2.52 MB / 0.5228 GB, free: 13.18 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002057/0.6904, allocations: 273.1 kB / 0.5231 GB, free: 13.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004174/0.6946, allocations: 0.8242 MB / 0.5239 GB, free: 12.87 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005422/0.7, allocations: 2.797 MB / 0.5266 GB, free: 10.5 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003392/0.7035, allocations: 1.411 MB / 0.528 GB, free: 9.078 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01656/0.7201, allocations: 9.298 MB / 0.537 GB, free: 15.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7201, allocations: 0 / 0.537 GB, free: 15.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.7202, allocations: 0 / 0.537 GB, free: 15.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004556/0.7206, allocations: 0 / 0.537 GB, free: 15.76 MB / 410.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.02162/0.7423, allocations: 6.664 MB / 0.5436 GB, free: 9.016 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.7423, allocations: 8.031 kB / 0.5436 GB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004564/0.7469, allocations: 1.282 MB / 0.5448 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02254/0.7695, allocations: 3.258 MB / 0.548 GB, free: 4.441 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01354/0.7831, allocations: 4.369 MB / 0.5523 GB, free: 12 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006914/0.7838, allocations: 451.5 kB / 0.5527 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002967/0.7868, allocations: 0.5816 MB / 0.5533 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07394/0.8608, allocations: 21.44 MB / 0.5742 GB, free: 8.391 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003419/0.8612, allocations: 67.39 kB / 0.5743 GB, free: 8.324 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002418/0.8636, allocations: 283.8 kB / 0.5745 GB, free: 8.047 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01001/0.8737, allocations: 3.529 MB / 0.578 GB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0689/0.9426, allocations: 17.42 MB / 0.595 GB, free: 3.062 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.731/1.674, allocations: 70.15 MB / 0.6635 GB, free: 106.7 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0763/1.75, allocations: 14.47 MB / 0.6776 GB, free: 106 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03355/1.784, allocations: 14.36 MB / 0.6917 GB, free: 99.79 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.543e-05/1.784, allocations: 69.28 kB / 0.6917 GB, free: 99.73 MB / 490.8 MB Notification: Performance of pre-optimization done (n=284): time 6.993e-06/1.784, allocations: 3.984 kB / 0.6917 GB, free: 99.73 MB / 490.8 MB Notification: Performance of matching and sorting (n=320): time 0.209/1.993, allocations: 43.62 MB / 0.7343 GB, free: 71.23 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.54e-05/1.993, allocations: 162.6 kB / 0.7345 GB, free: 71.04 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01271/2.006, allocations: 6.327 MB / 0.7407 GB, free: 64.7 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007037/2.006, allocations: 77.7 kB / 0.7407 GB, free: 64.61 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004065/2.01, allocations: 5.175 MB / 0.7458 GB, free: 59.44 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001732/2.012, allocations: 1.216 MB / 0.747 GB, free: 58.23 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009805/2.013, allocations: 196 kB / 0.7472 GB, free: 58.04 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0006419/2.014, allocations: 0.7074 MB / 0.7479 GB, free: 57.33 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008873/2.023, allocations: 3.259 MB / 0.751 GB, free: 54.07 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01236/2.035, allocations: 9.002 MB / 0.7598 GB, free: 42.29 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/2.048, allocations: 5.177 MB / 0.7649 GB, free: 37.15 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001874/2.048, allocations: 60 kB / 0.765 GB, free: 37.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.03143/2.079, allocations: 12.14 MB / 0.7768 GB, free: 24.9 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/2.079, allocations: 92 kB / 0.7769 GB, free: 24.81 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000262/2.08, allocations: 204 kB / 0.7771 GB, free: 24.61 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/2.081, allocations: 0.5365 MB / 0.7776 GB, free: 24.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01433/2.095, allocations: 2.382 MB / 0.7799 GB, free: 21.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004916/2.1, allocations: 2.713 MB / 0.7826 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01383/2.114, allocations: 0.5462 MB / 0.7831 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002223/2.117, allocations: 0.5664 MB / 0.7837 GB, free: 17.73 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.01037/2.127, allocations: 3.37 MB / 0.787 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001612/2.129, allocations: 0.5438 MB / 0.7875 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01629/2.145, allocations: 4.377 MB / 0.7918 GB, free: 9.355 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.152e-05/2.145, allocations: 35.44 kB / 0.7918 GB, free: 9.324 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/2.145, allocations: 7.938 kB / 0.7918 GB, free: 9.316 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.343e-05/2.145, allocations: 15.94 kB / 0.7918 GB, free: 9.301 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0463/2.191, allocations: 13.52 MB / 0.805 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.114e-05/2.192, allocations: 26.06 kB / 0.8051 GB, free: 11.35 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005216/2.197, allocations: 0.6283 MB / 0.8057 GB, free: 10.72 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.832e-05/2.197, allocations: 47.95 kB / 0.8057 GB, free: 10.68 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000402/2.197, allocations: 95.11 kB / 0.8058 GB, free: 10.59 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.405e-05/2.197, allocations: 59.78 kB / 0.8059 GB, free: 10.53 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.199e-05/2.197, allocations: 39.81 kB / 0.8059 GB, free: 10.49 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3501/2.548, allocations: 11.52 MB / 0.8172 GB, free: 148.1 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004134/2.552, allocations: 0.8744 MB / 0.818 GB, free: 148 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002009/2.554, allocations: 90.78 kB / 0.8181 GB, free: 148 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006881/2.561, allocations: 167.2 kB / 0.8183 GB, free: 148 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001047/2.562, allocations: 269.4 kB / 0.8185 GB, free: 148 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004179/2.562, allocations: 124.7 kB / 0.8186 GB, free: 148 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01126/2.574, allocations: 3.972 MB / 0.8225 GB, free: 147.8 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.184e-06/2.574, allocations: 0 / 0.8225 GB, free: 147.8 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01104/2.585, allocations: 1.595 MB / 0.8241 GB, free: 147.8 MB / 0.4949 GB 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.01718/2.602, allocations: 17.1 MB / 0.8408 GB, free: 134 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01802/2.62, allocations: 7.204 MB / 0.8478 GB, free: 131.7 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.389e-05/2.62, allocations: 6.875 kB / 0.8478 GB, free: 131.7 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004857/2.625, allocations: 1.658 MB / 0.8494 GB, free: 131.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005764/2.631, allocations: 0.6845 MB / 0.8501 GB, free: 130.8 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4073/3.038, allocations: 176.6 MB / 1.023 GB, free: 154.7 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.012/3.05, allocations: 5.255 MB / 1.028 GB, free: 153.8 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01308/3.063, allocations: 2.776 MB / 1.03 GB, free: 153.7 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008416/3.072, allocations: 3.479 MB / 1.034 GB, free: 153.7 MB / 0.5262 GB Notification: Performance of SimCode: time 9.92e-07/3.072, allocations: 0 / 1.034 GB, free: 153.7 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.25/3.322, allocations: 115.2 MB / 1.146 GB, free: 66.73 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/3.322, allocations: 188 kB / 1.146 GB, free: 66.5 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/11.03, allocations: 0 / 1.146 GB, free: 66.5 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat