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.Directions2.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.Directions2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.367/2.367, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.703e-05, allocations: 4 kB / 309.8 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.391, allocations: 54.85 MB / 364.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1765/0.5675, allocations: 81.8 MB / 446.4 MB, free: 14.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.5678, allocations: 71.95 kB / 446.5 MB, free: 14.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02647/0.5943, allocations: 5.776 MB / 452.3 MB, free: 8.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5944, allocations: 1.312 kB / 452.3 MB, free: 8.797 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.33e-05/0.5944, allocations: 8 kB / 452.3 MB, free: 8.789 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0012/0.5956, allocations: 0.5571 MB / 452.8 MB, free: 8.188 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.5957, allocations: 11.53 kB / 452.8 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.5958, allocations: 78.53 kB / 452.9 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.596, allocations: 43.53 kB / 453 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.5964, allocations: 263.2 kB / 453.2 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.5964, allocations: 24.78 kB / 453.2 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.5966, allocations: 47.91 kB / 453.3 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008615/0.5974, allocations: 371.3 kB / 453.7 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.5975, allocations: 7.906 kB / 453.7 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/0.5975, allocations: 16 kB / 453.7 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.5976, allocations: 8 kB / 453.7 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006201/0.5982, allocations: 197.4 kB / 453.9 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/0.602, allocations: 1.716 MB / 455.6 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/0.6027, allocations: 254.3 kB / 455.8 MB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.6029, allocations: 81.38 kB / 455.9 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.6029, allocations: 7.984 kB / 455.9 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.603, allocations: 46.5 kB / 456 MB, free: 4.762 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.357e-06/0.603, allocations: 0 / 456 MB, free: 4.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006833/0.6037, allocations: 190.2 kB / 456.2 MB, free: 4.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.6038, allocations: 217.7 kB / 456.4 MB, free: 4.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.6042, allocations: 239.3 kB / 456.6 MB, free: 4.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.6042, allocations: 29.7 kB / 456.6 MB, free: 4.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.6045, allocations: 297.8 kB / 456.9 MB, free: 3.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.6046, allocations: 114.5 kB / 457 MB, free: 3.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.6046, allocations: 8 kB / 457 MB, free: 3.609 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.6048, allocations: 338.8 kB / 457.4 MB, free: 3.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.6051, allocations: 81.56 kB / 457.5 MB, free: 3.188 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.6056, allocations: 414.1 kB / 457.9 MB, free: 2.625 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.6061, allocations: 159.9 kB / 458 MB, free: 2.469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.6061, allocations: 4 kB / 458 MB, free: 2.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001192/0.6073, allocations: 493.7 kB / 458.5 MB, free: 1.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.6074, allocations: 23.16 kB / 458.5 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.6074, allocations: 8 kB / 458.5 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.259e-05/0.6075, allocations: 24.03 kB / 458.6 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009035/0.6084, allocations: 147.8 kB / 458.7 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.873e-05/0.6084, allocations: 23.88 kB / 458.7 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005151/0.609, allocations: 67.38 kB / 458.8 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/0.609, allocations: 35.98 kB / 458.8 MB, free: 1.656 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001748/0.6092, allocations: 144.7 kB / 459 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.6095, allocations: 39.62 kB / 459 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.6096, allocations: 33.91 kB / 459 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.6096, allocations: 4 kB / 459 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.6096, allocations: 4 kB / 459 MB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.6096, allocations: 3.953 kB / 459 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.6117, allocations: 0.6437 MB / 459.7 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6118, allocations: 4.062 kB / 459.7 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009728/0.6128, allocations: 91.89 kB / 459.8 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.6128, allocations: 4 kB / 459.8 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.6129, allocations: 15.94 kB / 459.8 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/0.6129, allocations: 7.984 kB / 459.8 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.6129, allocations: 0 / 459.8 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.6141, allocations: 0.9017 MB / 460.7 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.6143, allocations: 112.8 kB / 460.8 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.041e-05/0.6144, allocations: 8 kB / 460.8 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.615, allocations: 12 kB / 460.8 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.6152, allocations: 23.97 kB / 460.9 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.6152, allocations: 15.92 kB / 460.9 MB, free: 15.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002761/0.6155, allocations: 183.1 kB / 461.1 MB, free: 15.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6155, allocations: 0 / 461.1 MB, free: 15.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001027/0.6165, allocations: 99.84 kB / 461.2 MB, free: 15.15 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.001723/0.6183, allocations: 2.001 MB / 463.2 MB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008103/0.6191, allocations: 274 kB / 463.4 MB, free: 12.81 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6192, allocations: 384 / 463.4 MB, free: 12.81 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.6195, allocations: 83.86 kB / 463.5 MB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.6206, allocations: 57.77 kB / 463.6 MB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/0.625, allocations: 1.659 MB / 465.2 MB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.6256, allocations: 0.8072 MB / 466 MB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.6259, allocations: 123.4 kB / 466.2 MB, free: 9.992 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6259, allocations: 0 / 466.2 MB, free: 9.992 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.585/3.211, allocations: 5.522 MB / 471.7 MB, free: 4.477 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat