Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.707/1.707, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 8 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09184/0.09224, allocations: 38.76 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3892/0.4815, allocations: 68.17 MB / 340.3 MB, free: 4.664 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.4819, allocations: 74.72 kB / 340.4 MB, free: 4.625 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01819/0.5001, allocations: 4.128 MB / 344.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5001, allocations: 0 / 344.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.605e-05/0.5002, allocations: 12 kB / 344.5 MB, free: 1.16 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001094/0.5013, allocations: 0.5051 MB / 345 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.5014, allocations: 16.03 kB / 345 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.974e-05/0.5015, allocations: 60.98 kB / 345.1 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.311e-05/0.5015, allocations: 23.72 kB / 345.1 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.5019, allocations: 236.7 kB / 345.3 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.5019, allocations: 19 kB / 345.4 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.502, allocations: 26.75 kB / 345.4 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006975/0.5027, allocations: 225.2 kB / 345.6 MB, free: 80 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.5028, allocations: 3.906 kB / 345.6 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.5028, allocations: 14.69 kB / 345.6 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.5029, allocations: 8 kB / 345.6 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006836/0.5035, allocations: 191.2 kB / 345.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.5053, allocations: 0.7557 MB / 346.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007362/0.5061, allocations: 221 kB / 346.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.5062, allocations: 3.953 kB / 346.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.5062, allocations: 34.56 kB / 346.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 3.557e-06/0.5062, allocations: 0 / 346.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.002876/0.5091, allocations: 0.9923 MB / 347.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.5092, allocations: 55.41 kB / 347.9 MB, free: 14.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.5094, allocations: 143.6 kB / 348 MB, free: 13.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.5095, allocations: 33.64 kB / 348 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.5096, allocations: 142.3 kB / 348.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.5097, allocations: 101.3 kB / 348.3 MB, free: 13.69 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.5098, allocations: 11 kB / 348.3 MB, free: 13.69 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5099, allocations: 331.1 kB / 348.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.5103, allocations: 77.72 kB / 348.7 MB, free: 13.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.5106, allocations: 117 kB / 348.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.511, allocations: 92.05 kB / 348.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.511, allocations: 0 / 348.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008457/0.5118, allocations: 275.1 kB / 349.2 MB, free: 12.94 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.5119, allocations: 9.094 kB / 349.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.5119, allocations: 4.094 kB / 349.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.5119, allocations: 4 kB / 349.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/0.5125, allocations: 75.89 kB / 349.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.5125, allocations: 0 / 349.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.5128, allocations: 15.12 kB / 349.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.5128, allocations: 8 kB / 349.3 MB, free: 12.84 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 35 * 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.0002113/0.513, allocations: 148 kB / 349.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.5131, allocations: 19.77 kB / 349.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.927e-05/0.5132, allocations: 24.56 kB / 349.5 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.5132, allocations: 7.938 kB / 349.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.5132, allocations: 0 / 349.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.5132, allocations: 7.922 kB / 349.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.5148, allocations: 0.6696 MB / 350.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.5148, allocations: 4 kB / 350.2 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00065/0.5155, allocations: 70.83 kB / 350.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.5155, allocations: 8.062 kB / 350.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.5155, allocations: 3.75 kB / 350.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.335e-05/0.5155, allocations: 11.94 kB / 350.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5156, allocations: 0 / 350.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.5167, allocations: 487.7 kB / 350.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.5169, allocations: 88.92 kB / 350.8 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.5169, allocations: 7.562 kB / 350.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.5172, allocations: 19.67 kB / 350.8 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.5173, allocations: 15.61 kB / 350.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.5173, allocations: 11.89 kB / 350.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.5175, allocations: 124.7 kB / 351 MB, free: 11.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5175, allocations: 0 / 351 MB, free: 11.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000443/0.5179, allocations: 54.94 kB / 351 MB, free: 11.24 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_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 (28): * Single equations (assignments): 28 * 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.001562/0.5195, allocations: 1.157 MB / 352.2 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007632/0.5203, allocations: 224.5 kB / 352.4 MB, free: 9.969 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5203, allocations: 0 / 352.4 MB, free: 9.969 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.5207, allocations: 105.6 kB / 352.5 MB, free: 9.887 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.5212, allocations: 37.48 kB / 352.6 MB, free: 9.859 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.5257, allocations: 2.188 MB / 354.7 MB, free: 7.781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.5262, allocations: 0.7603 MB / 355.5 MB, free: 6.992 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.5263, allocations: 21.88 kB / 355.5 MB, free: 6.973 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.5265, allocations: 75.61 kB / 355.6 MB, free: 6.945 MB / 282.7 MB Notification: Performance of SimCode: time 9.61e-07/0.5265, allocations: 0 / 355.6 MB, free: 6.945 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/0.5585, allocations: 4 MB / 359.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003744/0.5589, allocations: 191.9 kB / 359.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.071, allocations: 3.938 kB / 359.8 MB, free: 2.762 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat