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.First.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.First,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.649/1.649, allocations: 171.1 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003755, allocations: 12 kB / 233.4 MB, free: 176 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08781/0.08823, allocations: 38.77 MB / 272.1 MB, free: 9.328 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.4351, allocations: 67.85 MB / 340 MB, free: 14.61 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.4354, allocations: 71.97 kB / 340 MB, free: 14.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01655/0.452, allocations: 3.855 MB / 343.9 MB, free: 10.69 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.559e-06/0.452, allocations: 0 / 343.9 MB, free: 10.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.4521, allocations: 11.92 kB / 343.9 MB, free: 10.68 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008867/0.453, allocations: 498.8 kB / 344.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.453, allocations: 8.031 kB / 344.4 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.295e-05/0.4531, allocations: 58.53 kB / 344.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.166e-05/0.4532, allocations: 23.72 kB / 344.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.4536, allocations: 227.4 kB / 344.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.4536, allocations: 24.33 kB / 344.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.4538, allocations: 23.91 kB / 344.8 MB, free: 9.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/0.4544, allocations: 195.5 kB / 345 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.4544, allocations: 0 / 345 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.4545, allocations: 15.92 kB / 345 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.4545, allocations: 8 kB / 345 MB, free: 9.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/0.455, allocations: 137.7 kB / 345.1 MB, free: 9.375 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.4565, allocations: 0.6269 MB / 345.7 MB, free: 8.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/0.457, allocations: 178.5 kB / 345.9 MB, free: 8.516 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.4571, allocations: 4 kB / 345.9 MB, free: 8.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.4571, allocations: 34.56 kB / 345.9 MB, free: 8.469 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 3.997e-06/0.4572, allocations: 4 kB / 346 MB, free: 8.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.00309/0.4603, allocations: 1.081 MB / 347 MB, free: 7.285 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.4604, allocations: 55.41 kB / 347.1 MB, free: 7.219 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.4606, allocations: 161.6 kB / 347.2 MB, free: 7.055 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.4607, allocations: 29.7 kB / 347.3 MB, free: 7.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.4608, allocations: 136.7 kB / 347.4 MB, free: 6.879 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.4609, allocations: 114.3 kB / 347.5 MB, free: 6.766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/0.461, allocations: 4 kB / 347.5 MB, free: 6.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4611, allocations: 342.7 kB / 347.9 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.4614, allocations: 71.95 kB / 347.9 MB, free: 6.348 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/0.4617, allocations: 112 kB / 348 MB, free: 6.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.462, allocations: 85.28 kB / 348.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.462, allocations: 0 / 348.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000858/0.4629, allocations: 295.8 kB / 348.4 MB, free: 5.852 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.463, allocations: 13.67 kB / 348.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.463, allocations: 0 / 348.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.4633, allocations: 36.84 kB / 348.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/0.4637, allocations: 63.89 kB / 348.5 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/0.4658, allocations: 1.581 MB / 350.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.4661, allocations: 12.03 kB / 350.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.4662, allocations: 8.062 kB / 350.1 MB, free: 4.004 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.4664, allocations: 149.7 kB / 350.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/0.4665, allocations: 19.81 kB / 350.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.697e-05/0.4666, allocations: 26.66 kB / 350.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4666, allocations: 0 / 350.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.4666, allocations: 4 kB / 350.3 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.4666, allocations: 3.984 kB / 350.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.4684, allocations: 0.7905 MB / 351.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.4685, allocations: 7.984 kB / 351.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/0.469, allocations: 51.97 kB / 351.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/0.4692, allocations: 40.83 kB / 351.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.4692, allocations: 7.938 kB / 351.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.4708, allocations: 1.401 MB / 352.6 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4708, allocations: 0 / 352.6 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.472, allocations: 0.5126 MB / 353.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.4721, allocations: 112.9 kB / 353.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.4722, allocations: 12 kB / 353.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.4724, allocations: 8 kB / 353.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.4725, allocations: 15.97 kB / 353.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.4726, allocations: 15.98 kB / 353.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001636/0.4727, allocations: 131.1 kB / 353.4 MB, free: 428 kB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4728, allocations: 0 / 353.4 MB, free: 428 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000527/0.4733, allocations: 76 kB / 353.5 MB, free: 352 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.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 (29): * 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: 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 Backend phase and start with SimCode phase: time 0.00155/0.4749, allocations: 1.271 MB / 354.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009445/0.4758, allocations: 342.5 kB / 355.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4759, allocations: 0 / 355.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005263/0.4764, allocations: 242.5 kB / 355.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.4769, allocations: 40.89 kB / 355.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.4809, allocations: 1.992 MB / 357.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.4813, allocations: 0.7678 MB / 358.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000158/0.4815, allocations: 22.28 kB / 358.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.4817, allocations: 67.42 kB / 358.2 MB, free: 11.44 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4817, allocations: 4 kB / 358.2 MB, free: 11.43 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03218/0.5139, allocations: 4.691 MB / 362.9 MB, free: 6.812 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/0.5143, allocations: 198 kB / 363.1 MB, free: 6.566 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.724/3.239, allocations: 0 / 363.1 MB, free: 6.566 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First_res.mat does not exist to compare? outputFormat=mat