Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.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) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.402/2.402, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005666/0.0005666, allocations: 8 kB / 264.1 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3342, allocations: 44.5 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.4721, allocations: 71.89 MB / 380.5 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/0.4725, allocations: 71.95 kB / 380.5 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02753/0.5001, allocations: 4.056 MB / 384.6 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.5002, allocations: 0 / 384.6 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.729e-05/0.5002, allocations: 4 kB / 384.6 MB, free: 0.6406 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001315/0.5016, allocations: 0.4952 MB / 385.1 MB, free: 100 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/0.5016, allocations: 8.031 kB / 385.1 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.5018, allocations: 62.55 kB / 385.1 MB, free: 20 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.502, allocations: 35.66 kB / 385.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.5025, allocations: 235.4 kB / 385.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.5026, allocations: 16.56 kB / 385.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.5027, allocations: 31.91 kB / 385.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008735/0.5036, allocations: 239.2 kB / 385.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.5037, allocations: 4 kB / 385.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/0.5037, allocations: 8 kB / 385.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.5038, allocations: 15.95 kB / 385.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/0.5045, allocations: 159.8 kB / 385.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.507, allocations: 0.8011 MB / 386.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.5082, allocations: 297 kB / 387 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.36e-05/0.5083, allocations: 4.125 kB / 387 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.5084, allocations: 38.56 kB / 387 MB, free: 14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 5.34e-06/0.5084, allocations: 0 / 387 MB, free: 14 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.006326/0.5147, allocations: 1.941 MB / 389 MB, free: 11.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.5149, allocations: 114.8 kB / 389.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.5153, allocations: 165.7 kB / 389.2 MB, free: 11.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.596e-05/0.5154, allocations: 33.7 kB / 389.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.5155, allocations: 136.7 kB / 389.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.5158, allocations: 165.6 kB / 389.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.5159, allocations: 4 kB / 389.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.5161, allocations: 342.8 kB / 389.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.5166, allocations: 92.84 kB / 390 MB, free: 10.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/0.5171, allocations: 155.2 kB / 390.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/0.5176, allocations: 112 kB / 390.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5176, allocations: 0 / 390.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001281/0.5189, allocations: 344.2 kB / 390.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.519, allocations: 10.19 kB / 390.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.519, allocations: 0 / 390.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/0.5191, allocations: 4 kB / 390.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.5201, allocations: 103.7 kB / 390.7 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.5202, allocations: 4 kB / 390.7 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.5205, allocations: 12 kB / 390.7 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.5206, allocations: 19.94 kB / 390.7 MB, free: 9.938 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * 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.0003416/0.521, allocations: 153.8 kB / 390.9 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.5212, allocations: 27.72 kB / 390.9 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.5214, allocations: 41.89 kB / 390.9 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.5214, allocations: 4 kB / 391 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-05/0.5215, allocations: 7.953 kB / 391 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.5215, allocations: 3.984 kB / 391 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/0.525, allocations: 1.043 MB / 392 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.5251, allocations: 0 / 392 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.5262, allocations: 87.89 kB / 392.1 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.992e-05/0.5263, allocations: 4 kB / 392.1 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.5264, allocations: 12 kB / 392.1 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.737e-05/0.5264, allocations: 15.88 kB / 392.1 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.5264, allocations: 0 / 392.1 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.5284, allocations: 0.8566 MB / 393 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.5286, allocations: 104.8 kB / 393.1 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.325e-05/0.5288, allocations: 12.06 kB / 393.1 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005551/0.5293, allocations: 8 kB / 393.1 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.5295, allocations: 39.98 kB / 393.1 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.5295, allocations: 20 kB / 393.2 MB, free: 7.277 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002513/0.5298, allocations: 135 kB / 393.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.5298, allocations: 0 / 393.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001073/0.5309, allocations: 80 kB / 393.4 MB, free: 7.066 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * 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.002679/0.5336, allocations: 2.147 MB / 395.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.5348, allocations: 260.5 kB / 395.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.5349, allocations: 0 / 395.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.5355, allocations: 140.4 kB / 395.9 MB, free: 4.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.5367, allocations: 64.17 kB / 396 MB, free: 4.367 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007258/0.544, allocations: 2.91 MB / 398.9 MB, free: 1.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006054/0.5447, allocations: 0.7686 MB / 399.7 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003646/0.5451, allocations: 34.95 kB / 399.7 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.5454, allocations: 87.42 kB / 399.8 MB, free: 448 kB / 330.7 MB Notification: Performance of SimCode: time 1.723e-06/0.5454, allocations: 3.938 kB / 399.8 MB, free: 444 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03773/0.5832, allocations: 5.286 MB / 405.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003961/0.5836, allocations: 182.5 kB / 405.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/3.576, allocations: 0 / 405.2 MB, free: 10.94 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat