Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.788/1.788, allocations: 171.2 MB / 186.8 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003929, allocations: 8 kB / 233.3 MB, free: 2.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09036/0.09079, allocations: 38.76 MB / 272.1 MB, free: 12.1 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.345/0.4359, allocations: 68.18 MB / 340.3 MB, free: 5.328 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.4362, allocations: 68.66 kB / 340.3 MB, free: 5.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01929/0.4555, allocations: 4.125 MB / 344.5 MB, free: 1.844 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4556, allocations: 0 / 344.5 MB, free: 1.844 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.4556, allocations: 8 kB / 344.5 MB, free: 1.836 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.001083/0.4567, allocations: 0.5168 MB / 345 MB, free: 1.285 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.4568, allocations: 8.031 kB / 345 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.5e-05/0.4569, allocations: 60.78 kB / 345.1 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.759e-05/0.4569, allocations: 27.72 kB / 345.1 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.4573, allocations: 225.8 kB / 345.3 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.4573, allocations: 22.94 kB / 345.3 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/0.4574, allocations: 23.06 kB / 345.4 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006803/0.4581, allocations: 228.4 kB / 345.6 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.4582, allocations: 3.906 kB / 345.6 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.4582, allocations: 18.5 kB / 345.6 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.4582, allocations: 7.938 kB / 345.6 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006531/0.4589, allocations: 188.1 kB / 345.8 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.461, allocations: 0.7578 MB / 346.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.4621, allocations: 222.4 kB / 346.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.4622, allocations: 7.953 kB / 346.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.4623, allocations: 34.56 kB / 346.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 4.819e-06/0.4623, allocations: 0 / 346.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.00405/0.4664, allocations: 0.9916 MB / 347.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.4665, allocations: 59.41 kB / 347.9 MB, free: 14.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.4668, allocations: 139.9 kB / 348 MB, free: 14.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.4669, allocations: 29.58 kB / 348 MB, free: 14.58 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.4671, allocations: 205 kB / 348.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.4672, allocations: 100 kB / 348.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.4673, allocations: 3.75 kB / 348.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4675, allocations: 324 kB / 348.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.4679, allocations: 83.08 kB / 348.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.4685, allocations: 115.5 kB / 348.8 MB, free: 13.83 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.4691, allocations: 96.17 kB / 348.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.4691, allocations: 0 / 348.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001245/0.4703, allocations: 270.6 kB / 349.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.4704, allocations: 5.094 kB / 349.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.4704, allocations: 4 kB / 349.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.4704, allocations: 0 / 349.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/0.4712, allocations: 75.47 kB / 349.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.4712, allocations: 4 kB / 349.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.4716, allocations: 15.42 kB / 349.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.4717, allocations: 16 kB / 349.3 MB, free: 13.45 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.0002938/0.472, allocations: 132.2 kB / 349.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.4721, allocations: 23.77 kB / 349.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.4723, allocations: 32.09 kB / 349.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.4723, allocations: 4 kB / 349.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.4724, allocations: 0 / 349.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.4724, allocations: 3.938 kB / 349.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.4747, allocations: 0.6755 MB / 350.2 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4747, allocations: 0 / 350.2 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008668/0.4756, allocations: 79.2 kB / 350.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.4756, allocations: 0 / 350.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.4757, allocations: 7.25 kB / 350.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.4757, allocations: 3.938 kB / 350.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/0.4757, allocations: 8 kB / 350.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.4777, allocations: 478.3 kB / 350.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.4779, allocations: 100.8 kB / 350.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.478, allocations: 7.875 kB / 350.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.4784, allocations: 14.86 kB / 350.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.4785, allocations: 15.92 kB / 350.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.4786, allocations: 15.58 kB / 350.9 MB, free: 12.01 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002071/0.4788, allocations: 117.5 kB / 351 MB, free: 11.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.4788, allocations: 0 / 351 MB, free: 11.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007353/0.4796, allocations: 59.69 kB / 351.1 MB, free: 11.86 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.002509/0.4821, allocations: 1.157 MB / 352.2 MB, free: 10.76 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.4834, allocations: 222.3 kB / 352.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4834, allocations: 0 / 352.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005812/0.484, allocations: 102.9 kB / 352.5 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008066/0.4849, allocations: 41.36 kB / 352.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00626/0.4911, allocations: 2.22 MB / 354.8 MB, free: 8.367 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/0.4918, allocations: 0.7602 MB / 355.6 MB, free: 7.578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.492, allocations: 70.98 kB / 355.6 MB, free: 7.555 MB / 282.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4921, allocations: 0 / 355.6 MB, free: 7.555 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.628/3.12, allocations: 3.761 MB / 359.4 MB, free: 3.84 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat