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.FirstGrounded.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.FirstGrounded,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.776/1.776, allocations: 171.2 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003722, allocations: 12 kB / 233.4 MB, free: 2.277 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.09051, allocations: 38.76 MB / 272.1 MB, free: 11.44 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3768/0.4674, allocations: 67.86 MB / 340 MB, free: 5.426 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.4678, allocations: 70.59 kB / 340 MB, free: 5.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01685/0.4846, allocations: 3.691 MB / 343.7 MB, free: 2.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4847, allocations: 0 / 343.7 MB, free: 2.305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.951e-05/0.4847, allocations: 4 kB / 343.7 MB, free: 2.301 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009362/0.4857, allocations: 498.8 kB / 344.2 MB, free: 1.777 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.4857, allocations: 8.031 kB / 344.2 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.581e-05/0.4858, allocations: 61.3 kB / 344.3 MB, free: 1.711 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.477e-05/0.4859, allocations: 23.72 kB / 344.3 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.4863, allocations: 223.7 kB / 344.5 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.4864, allocations: 19.2 kB / 344.6 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.4864, allocations: 19.22 kB / 344.6 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/0.487, allocations: 205.9 kB / 344.8 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.4871, allocations: 7.844 kB / 344.8 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.4871, allocations: 11.69 kB / 344.8 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.4871, allocations: 8 kB / 344.8 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.4876, allocations: 133.6 kB / 344.9 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.4891, allocations: 0.7108 MB / 345.6 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.4895, allocations: 144.6 kB / 345.8 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.4896, allocations: 3.938 kB / 345.8 MB, free: 388 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.4896, allocations: 38.56 kB / 345.8 MB, free: 340 kB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 3.807e-06/0.4896, allocations: 0 / 345.8 MB, free: 340 kB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.002477/0.4921, allocations: 0.8874 MB / 346.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.4922, allocations: 51.41 kB / 346.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.4925, allocations: 163.7 kB / 346.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.4925, allocations: 28.39 kB / 347 MB, free: 15.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4926, allocations: 139.1 kB / 347.1 MB, free: 15.13 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.4927, allocations: 96.36 kB / 347.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.4928, allocations: 3.812 kB / 347.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4929, allocations: 337.6 kB / 347.5 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.4931, allocations: 58.77 kB / 347.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.4934, allocations: 105.8 kB / 347.7 MB, free: 14.58 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.4936, allocations: 74.52 kB / 347.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.4936, allocations: 4 kB / 347.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000743/0.4944, allocations: 250.7 kB / 348 MB, free: 14.33 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.4944, allocations: 8 kB / 348 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.4945, allocations: 0 / 348 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002508/0.4947, allocations: 31.34 kB / 348 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.4951, allocations: 51.91 kB / 348.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.4969, allocations: 1.402 MB / 349.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.4972, allocations: 7.25 kB / 349.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.4972, allocations: 15.23 kB / 349.5 MB, free: 12.78 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0002169/0.4974, allocations: 135.3 kB / 349.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.4975, allocations: 19.8 kB / 349.7 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.91e-05/0.4976, allocations: 27.06 kB / 349.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.4976, allocations: 4 kB / 349.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.4976, allocations: 3.953 kB / 349.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.4976, allocations: 7.922 kB / 349.7 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.4991, allocations: 0.6529 MB / 350.4 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4992, allocations: 0 / 350.4 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.4996, allocations: 47.91 kB / 350.4 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/0.4998, allocations: 35.53 kB / 350.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.4999, allocations: 7.438 kB / 350.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.5015, allocations: 1.389 MB / 351.8 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5016, allocations: 0 / 351.8 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009808/0.5026, allocations: 436.5 kB / 352.3 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.5027, allocations: 108.5 kB / 352.4 MB, free: 9.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.5028, allocations: 7.438 kB / 352.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.503, allocations: 7.438 kB / 352.4 MB, free: 9.973 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.5031, allocations: 15.97 kB / 352.4 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.5031, allocations: 7.625 kB / 352.4 MB, free: 9.953 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001534/0.5033, allocations: 135.5 kB / 352.5 MB, free: 9.836 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5033, allocations: 0 / 352.5 MB, free: 9.836 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004711/0.5038, allocations: 54.62 kB / 352.6 MB, free: 9.789 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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.001399/0.5052, allocations: 1.106 MB / 353.7 MB, free: 8.719 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008877/0.5061, allocations: 298.5 kB / 354 MB, free: 8.457 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5061, allocations: 0 / 354 MB, free: 8.457 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005277/0.5066, allocations: 224.8 kB / 354.2 MB, free: 8.254 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.5072, allocations: 37.72 kB / 354.2 MB, free: 8.227 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.5111, allocations: 2.134 MB / 356.4 MB, free: 6.184 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.5115, allocations: 0.7518 MB / 357.1 MB, free: 5.406 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.5117, allocations: 25.92 kB / 357.2 MB, free: 5.379 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.5118, allocations: 64.05 kB / 357.2 MB, free: 5.355 MB / 282.7 MB Notification: Performance of SimCode: time 1.332e-06/0.5119, allocations: 0 / 357.2 MB, free: 5.355 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.5413, allocations: 4.224 MB / 361.4 MB, free: 1.195 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003409/0.5418, allocations: 199.3 kB / 361.6 MB, free: 0.957 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/3.37, allocations: 0 / 361.6 MB, free: 0.957 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat