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.Directions3.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.Directions3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.272/2.272, allocations: 235 MB / 248.1 MB, free: 14.41 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.754e-05, allocations: 3.984 kB / 309.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4176, allocations: 54.85 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1435/0.5611, allocations: 79.69 MB / 444.3 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.5614, allocations: 59.97 kB / 444.4 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008135/0.5696, allocations: 1.967 MB / 446.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5696, allocations: 0 / 446.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.5697, allocations: 4 kB / 446.3 MB, free: 14.8 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005191/0.5702, allocations: 375.2 kB / 446.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.5703, allocations: 8.031 kB / 446.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.448e-05/0.5703, allocations: 46.48 kB / 446.8 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.5704, allocations: 19.77 kB / 446.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.5705, allocations: 167 kB / 446.9 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.5706, allocations: 9.109 kB / 446.9 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.5706, allocations: 15.5 kB / 447 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.5709, allocations: 129 kB / 447.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.571, allocations: 0 / 447.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.571, allocations: 13.41 kB / 447.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.571, allocations: 3.953 kB / 447.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.5712, allocations: 59.98 kB / 447.2 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.5722, allocations: 0.541 MB / 447.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.5725, allocations: 86.17 kB / 447.8 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.121e-05/0.5725, allocations: 25.72 kB / 447.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.5726, allocations: 8.172 kB / 447.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.5726, allocations: 34.56 kB / 447.9 MB, free: 13.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 4.388e-06/0.5726, allocations: 3.984 kB / 447.9 MB, free: 13.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004319/0.5731, allocations: 107.2 kB / 448 MB, free: 12.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.5731, allocations: 81.11 kB / 448 MB, free: 12.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.5733, allocations: 113.5 kB / 448.2 MB, free: 12.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.5733, allocations: 29.7 kB / 448.2 MB, free: 12.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.552e-05/0.5734, allocations: 186.2 kB / 448.4 MB, free: 12.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.5735, allocations: 39.44 kB / 448.4 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-06/0.5735, allocations: 4.656 kB / 448.4 MB, free: 12.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5736, allocations: 310.8 kB / 448.7 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.762e-05/0.5737, allocations: 27.94 kB / 448.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.5738, allocations: 86.27 kB / 448.8 MB, free: 12.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.574, allocations: 31.98 kB / 448.9 MB, free: 12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.574, allocations: 4 kB / 448.9 MB, free: 12 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000442/0.5744, allocations: 161 kB / 449 MB, free: 11.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.5745, allocations: 8 kB / 449 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5745, allocations: 4 kB / 449 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000235/0.5747, allocations: 37.89 kB / 449.1 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.5749, allocations: 27.98 kB / 449.1 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/0.5773, allocations: 2.544 MB / 451.6 MB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.5775, allocations: 7.938 kB / 451.6 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.5775, allocations: 16.14 kB / 451.7 MB, free: 8.918 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.5776, allocations: 124.8 kB / 451.8 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.5777, allocations: 7.906 kB / 451.8 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.5777, allocations: 12.03 kB / 451.8 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.5778, allocations: 0 / 451.8 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5778, allocations: 4 kB / 451.8 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5778, allocations: 0.6562 kB / 451.8 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.5781, allocations: 197.6 kB / 452 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5782, allocations: 8 kB / 452 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.5784, allocations: 8 kB / 452 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.5786, allocations: 37.7 kB / 452 MB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.5786, allocations: 0 / 452 MB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/0.5809, allocations: 2.538 MB / 454.6 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.581, allocations: 1.219 kB / 454.6 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.5815, allocations: 314.9 kB / 454.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.5815, allocations: 97.08 kB / 455 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.5816, allocations: 7.953 kB / 455 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.5817, allocations: 4 kB / 455 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.5818, allocations: 4 kB / 455 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.5818, allocations: 3.984 kB / 455 MB, free: 5.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.004e-05/0.5819, allocations: 96.05 kB / 455.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5819, allocations: 0 / 455.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004807/0.5824, allocations: 35.91 kB / 455.1 MB, free: 5.062 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000823/0.5832, allocations: 0.9165 MB / 456.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005594/0.5838, allocations: 289.3 kB / 456.3 MB, free: 3.801 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5838, allocations: 0 / 456.3 MB, free: 3.801 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.5842, allocations: 261.1 kB / 456.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.5847, allocations: 21.19 kB / 456.6 MB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.586, allocations: 469.7 kB / 457.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.5863, allocations: 0.72 MB / 457.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.5864, allocations: 27.44 kB / 457.8 MB, free: 2.223 MB / 378.7 MB Notification: Performance of SimCode: time 1.332e-06/0.5864, allocations: 4 kB / 457.8 MB, free: 2.219 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.839/3.426, allocations: 2.893 MB / 460.7 MB, free: 15.33 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat