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.RollingWheel.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.RollingWheel,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.843/1.843, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 8 kB / 233.4 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08721/0.08762, allocations: 38.78 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3663/0.4539, allocations: 67.92 MB / 340.1 MB, free: 4.938 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.4543, allocations: 67.62 kB / 340.1 MB, free: 4.902 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01301/0.4673, allocations: 3.025 MB / 343.1 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4674, allocations: 3.938 kB / 343.1 MB, free: 2.363 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.4674, allocations: 4 kB / 343.2 MB, free: 2.359 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008497/0.4683, allocations: 457.2 kB / 343.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.491e-05/0.4683, allocations: 8.031 kB / 343.6 MB, free: 1.871 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.964e-05/0.4684, allocations: 46.23 kB / 343.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.4685, allocations: 19.81 kB / 343.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.4688, allocations: 218.1 kB / 343.9 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.4689, allocations: 11.56 kB / 343.9 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/0.4689, allocations: 23.33 kB / 343.9 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.4694, allocations: 159.4 kB / 344.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.4695, allocations: 0 / 344.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.4695, allocations: 7.812 kB / 344.1 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.4695, allocations: 4 kB / 344.1 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.4699, allocations: 106.6 kB / 344.2 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.4713, allocations: 0.6025 MB / 344.8 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.4717, allocations: 119.4 kB / 344.9 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.4717, allocations: 4 kB / 344.9 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.4718, allocations: 38.5 kB / 344.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 5.46e-06/0.4718, allocations: 0 / 344.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.002409/0.4742, allocations: 0.8158 MB / 345.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.4743, allocations: 55.41 kB / 345.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.4745, allocations: 142.8 kB / 346 MB, free: 15.65 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.4745, allocations: 29.39 kB / 346 MB, free: 15.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.4747, allocations: 130.9 kB / 346.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.466e-05/0.4748, allocations: 60.55 kB / 346.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.4748, allocations: 0 / 346.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4749, allocations: 326.6 kB / 346.5 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.4751, allocations: 45.66 kB / 346.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.4754, allocations: 81.28 kB / 346.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.4756, allocations: 53.06 kB / 346.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4756, allocations: 0 / 346.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006784/0.4763, allocations: 219.6 kB / 346.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.4763, allocations: 4 kB / 346.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.4763, allocations: 0 / 346.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002703/0.4766, allocations: 40.02 kB / 346.9 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.4769, allocations: 31.98 kB / 347 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.4788, allocations: 1.433 MB / 348.4 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.479, allocations: 7.953 kB / 348.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.479, allocations: 7.312 kB / 348.4 MB, free: 13.28 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 (18): * Single equations (assignments): 17 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001907/0.4792, allocations: 132.9 kB / 348.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.4793, allocations: 15.89 kB / 348.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.4794, allocations: 19.88 kB / 348.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.4794, allocations: 432 / 348.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.4794, allocations: 3.984 kB / 348.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4794, allocations: 4 kB / 348.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.4807, allocations: 0.5973 MB / 349.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.4808, allocations: 0 / 349.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.4811, allocations: 35.55 kB / 349.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.4813, allocations: 32.78 kB / 349.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.4813, allocations: 3.312 kB / 349.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.4829, allocations: 1.381 MB / 350.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.483, allocations: 4.062 kB / 350.6 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008217/0.4838, allocations: 339.7 kB / 351 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.217e-05/0.4839, allocations: 88.61 kB / 351 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.484, allocations: 4 kB / 351.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.4841, allocations: 7.688 kB / 351.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.4842, allocations: 19.92 kB / 351.1 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.4842, allocations: 7.562 kB / 351.1 MB, free: 10.63 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001849/0.4844, allocations: 122.6 kB / 351.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4845, allocations: 3.938 kB / 351.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004323/0.4849, allocations: 47.19 kB / 351.3 MB, free: 10.48 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * 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.001257/0.4862, allocations: 0.8842 MB / 352.1 MB, free: 9.641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008041/0.487, allocations: 267.6 kB / 352.4 MB, free: 9.406 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.487, allocations: 0 / 352.4 MB, free: 9.406 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00044/0.4875, allocations: 193.8 kB / 352.6 MB, free: 9.227 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.4879, allocations: 22.55 kB / 352.6 MB, free: 9.211 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.4912, allocations: 1.671 MB / 354.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.4917, allocations: 0.7284 MB / 355 MB, free: 6.855 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.4918, allocations: 17.55 kB / 355 MB, free: 6.836 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.4919, allocations: 46.3 kB / 355.1 MB, free: 6.82 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.492, allocations: 0 / 355.1 MB, free: 6.82 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.526, allocations: 3.415 MB / 358.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003127/0.5264, allocations: 202.1 kB / 358.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.081, allocations: 0 / 358.7 MB, free: 3.227 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat