Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.315/2.315, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.215e-05/3.219e-05, allocations: 7.984 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4095, allocations: 54.85 MB / 364.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.562, allocations: 81.31 MB / 445.9 MB, free: 15.08 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/0.5624, allocations: 67.97 kB / 446 MB, free: 15.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01356/0.576, allocations: 2.337 MB / 448.3 MB, free: 12.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.576, allocations: 0 / 448.3 MB, free: 12.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.5761, allocations: 4 kB / 448.3 MB, free: 12.69 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006477/0.5767, allocations: 402.2 kB / 448.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.5768, allocations: 8.031 kB / 448.7 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.246e-05/0.5769, allocations: 46.55 kB / 448.8 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.5769, allocations: 19.31 kB / 448.8 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.5772, allocations: 206.8 kB / 449 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.5772, allocations: 9.328 kB / 449 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.5773, allocations: 16 kB / 449 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.5776, allocations: 125.6 kB / 449.2 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.5777, allocations: 0 / 449.2 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.5777, allocations: 9.359 kB / 449.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.5777, allocations: 7.984 kB / 449.2 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.578, allocations: 64 kB / 449.2 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000913/0.5789, allocations: 464.3 kB / 449.7 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.5792, allocations: 114.5 kB / 449.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.5793, allocations: 53.52 kB / 449.9 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.5794, allocations: 0 / 449.9 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.5794, allocations: 38.56 kB / 449.9 MB, free: 10.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.5794, allocations: 0 / 449.9 MB, free: 10.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001823/0.5813, allocations: 0.7485 MB / 450.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.5813, allocations: 51.41 kB / 450.7 MB, free: 10.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.5815, allocations: 129.3 kB / 450.8 MB, free: 9.934 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.5815, allocations: 34.27 kB / 450.8 MB, free: 9.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.5816, allocations: 178.7 kB / 451 MB, free: 9.719 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.5817, allocations: 66.98 kB / 451.1 MB, free: 9.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/0.5818, allocations: 8 kB / 451.1 MB, free: 9.645 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5819, allocations: 315.9 kB / 451.4 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.582, allocations: 36.38 kB / 451.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.5822, allocations: 79.64 kB / 451.5 MB, free: 9.203 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.5824, allocations: 45.52 kB / 451.6 MB, free: 9.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5824, allocations: 3.281 kB / 451.6 MB, free: 9.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005193/0.5829, allocations: 195.1 kB / 451.8 MB, free: 8.961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5829, allocations: 4 kB / 451.8 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.583, allocations: 0 / 451.8 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.5832, allocations: 48.84 kB / 451.8 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.5835, allocations: 40.66 kB / 451.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.5855, allocations: 1.553 MB / 453.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.5856, allocations: 8 kB / 453.4 MB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.5857, allocations: 4 kB / 453.4 MB, free: 7.164 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0001105/0.5858, allocations: 120.8 kB / 453.5 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.5858, allocations: 7.906 kB / 453.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.836e-05/0.5859, allocations: 20.75 kB / 453.6 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.5859, allocations: 5.219 kB / 453.6 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5859, allocations: 8 kB / 453.6 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.5859, allocations: 3.984 kB / 453.6 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.587, allocations: 0.5388 MB / 454.1 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.5871, allocations: 0 / 454.1 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.5874, allocations: 40.02 kB / 454.2 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001669/0.5876, allocations: 29.03 kB / 454.2 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.5876, allocations: 8 kB / 454.2 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.5891, allocations: 1.371 MB / 455.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5891, allocations: 0 / 455.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006661/0.5898, allocations: 342.4 kB / 455.9 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.392e-05/0.5899, allocations: 97.08 kB / 456 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.5899, allocations: 0 / 456 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.5901, allocations: 11.94 kB / 456 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.5902, allocations: 19.92 kB / 456 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.5902, allocations: 8 kB / 456 MB, free: 4.293 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.895e-05/0.5903, allocations: 107.2 kB / 456.1 MB, free: 4.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5903, allocations: 0 / 456.1 MB, free: 4.188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004489/0.5908, allocations: 40 kB / 456.2 MB, free: 4.148 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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.001036/0.5919, allocations: 0.9477 MB / 457.1 MB, free: 3.168 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006013/0.5925, allocations: 242.7 kB / 457.4 MB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5925, allocations: 0 / 457.4 MB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003627/0.5929, allocations: 190.5 kB / 457.5 MB, free: 2.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.5932, allocations: 14.09 kB / 457.6 MB, free: 2.707 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.5943, allocations: 403.6 kB / 458 MB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.5947, allocations: 0.7324 MB / 458.7 MB, free: 1.508 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.5948, allocations: 44.19 kB / 458.7 MB, free: 1.465 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5948, allocations: 0 / 458.7 MB, free: 1.465 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.642/3.237, allocations: 3.004 MB / 461.7 MB, free: 14.46 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat does not exist to compare? outputFormat=mat