Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.183/2.183, allocations: 194.9 MB / 211.1 MB, free: 8.746 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 8 kB / 264.1 MB, free: 3.676 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3082, allocations: 44.5 MB / 308.6 MB, free: 12.7 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.4459, allocations: 73.49 MB / 382.1 MB, free: 3.105 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004194/0.4464, allocations: 79.94 kB / 382.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02859/0.475, allocations: 4.103 MB / 386.2 MB, free: 14.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4751, allocations: 0 / 386.2 MB, free: 14.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.098e-05/0.4751, allocations: 11.98 kB / 386.2 MB, free: 14.89 MB / 330.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.001598/0.4768, allocations: 0.5108 MB / 386.8 MB, free: 14.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.4769, allocations: 8.031 kB / 386.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.477, allocations: 66.53 kB / 386.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.4772, allocations: 27.67 kB / 386.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.4777, allocations: 231.2 kB / 387.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.4777, allocations: 20.56 kB / 387.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.4779, allocations: 27.91 kB / 387.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.479, allocations: 228.5 kB / 387.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.479, allocations: 0 / 387.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.589e-05/0.4791, allocations: 12 kB / 387.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.4792, allocations: 4 kB / 387.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.4803, allocations: 190.1 kB / 387.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.483, allocations: 0.7654 MB / 388.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.4842, allocations: 222.8 kB / 388.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.4843, allocations: 7.938 kB / 388.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.4843, allocations: 30.56 kB / 388.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 5.44e-06/0.4844, allocations: 0 / 388.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.00437/0.4887, allocations: 0.9848 MB / 389.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.4889, allocations: 51.41 kB / 389.6 MB, free: 11.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.4892, allocations: 146.9 kB / 389.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.103e-05/0.4893, allocations: 29.7 kB / 389.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.4895, allocations: 152.5 kB / 389.9 MB, free: 10.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.4897, allocations: 98.55 kB / 390 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.4897, allocations: 4 kB / 390 MB, free: 10.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.49, allocations: 340.2 kB / 390.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005213/0.4905, allocations: 75.95 kB / 390.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.4911, allocations: 119.4 kB / 390.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.4916, allocations: 87.98 kB / 390.6 MB, free: 10.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.4917, allocations: 0 / 390.6 MB, free: 10.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001366/0.4931, allocations: 273.3 kB / 390.9 MB, free: 9.898 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.4931, allocations: 4 kB / 390.9 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4932, allocations: 0 / 390.9 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.094e-05/0.4932, allocations: 7.984 kB / 390.9 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008686/0.4941, allocations: 83.98 kB / 391 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.4942, allocations: 11.88 kB / 391 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.4946, allocations: 15.98 kB / 391 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.4947, allocations: 12 kB / 391 MB, free: 9.766 MB / 330.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.0003166/0.495, allocations: 137.7 kB / 391.2 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.4951, allocations: 15.81 kB / 391.2 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.4953, allocations: 30.55 kB / 391.2 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.4953, allocations: 8 kB / 391.2 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.4954, allocations: 0 / 391.2 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.4954, allocations: 0 / 391.2 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.4979, allocations: 0.6736 MB / 391.9 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4979, allocations: 0 / 391.9 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.499, allocations: 75.91 kB / 392 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.499, allocations: 0 / 392 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.4991, allocations: 11.98 kB / 392 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/0.4991, allocations: 0 / 392 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4991, allocations: 64 / 392 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.501, allocations: 485 kB / 392.5 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.5012, allocations: 92.83 kB / 392.5 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/0.5013, allocations: 12.17 kB / 392.6 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.5017, allocations: 19.95 kB / 392.6 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.5018, allocations: 27.91 kB / 392.6 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.5019, allocations: 11.94 kB / 392.6 MB, free: 8.059 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002074/0.5021, allocations: 115.2 kB / 392.7 MB, free: 7.945 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.5021, allocations: 0 / 392.7 MB, free: 7.945 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007316/0.5029, allocations: 60 kB / 392.8 MB, free: 7.887 MB / 330.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.002494/0.5054, allocations: 1.153 MB / 393.9 MB, free: 6.695 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.5067, allocations: 207.9 kB / 394.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.5067, allocations: 0 / 394.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000598/0.5073, allocations: 120.2 kB / 394.3 MB, free: 6.375 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007931/0.5082, allocations: 31.92 kB / 394.3 MB, free: 6.344 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007001/0.5152, allocations: 2.183 MB / 396.5 MB, free: 4.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.5158, allocations: 0.7602 MB / 397.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002573/0.5161, allocations: 21.95 kB / 397.3 MB, free: 3.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.5164, allocations: 71.41 kB / 397.3 MB, free: 3.215 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/0.5164, allocations: 0 / 397.3 MB, free: 3.215 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.5498, allocations: 4.015 MB / 401.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004054/0.5503, allocations: 184.2 kB / 401.5 MB, free: 15 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/3.308, allocations: 0 / 401.5 MB, free: 15 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat