Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.284/2.284, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.361e-05/2.395e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3716, allocations: 54.86 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.5358, allocations: 89.32 MB / 447.4 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.5362, allocations: 79.89 kB / 447.5 MB, free: 5.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8319/1.368, allocations: 136.1 MB / 0.57 GB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.368, allocations: 0 / 0.57 GB, free: 11.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004138/1.369, allocations: 127.9 kB / 0.5701 GB, free: 11.63 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.02894/1.398, allocations: 6.047 MB / 0.576 GB, free: 5.508 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/1.398, allocations: 12.03 kB / 0.576 GB, free: 5.496 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05/1.448, allocations: 6.533 MB / 0.5824 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01614/1.464, allocations: 4.276 MB / 0.5866 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005636/1.464, allocations: 220 kB / 0.5868 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004564/1.469, allocations: 384 kB / 0.5871 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0358/1.505, allocations: 12.75 MB / 0.5996 GB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05166/1.557, allocations: 16.86 MB / 0.6161 GB, free: 11.63 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003284/1.557, allocations: 35.62 kB / 0.6161 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004023/1.561, allocations: 32 kB / 0.6161 GB, free: 11.56 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005262/1.566, allocations: 2.159 MB / 0.6182 GB, free: 9.398 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4461/2.012, allocations: 59.18 MB / 0.676 GB, free: 66.28 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009982/2.022, allocations: 6.136 MB / 0.682 GB, free: 63.97 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004365/2.027, allocations: 2.047 MB / 0.684 GB, free: 63.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002515/2.029, allocations: 2.287 MB / 0.6862 GB, free: 61.95 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/2.03, allocations: 57.31 kB / 0.6863 GB, free: 61.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=341): time 8.837e-06/2.03, allocations: 0 / 0.6863 GB, free: 61.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=341): time 0.01802/2.048, allocations: 5.108 MB / 0.6913 GB, free: 61.01 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/2.048, allocations: 111.7 kB / 0.6914 GB, free: 60.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009866/2.058, allocations: 4.469 MB / 0.6958 GB, free: 59.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006118/2.058, allocations: 32.61 kB / 0.6958 GB, free: 59.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004081/2.062, allocations: 5.22 MB / 0.7009 GB, free: 56 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001964/2.064, allocations: 1.245 MB / 0.7021 GB, free: 55.13 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/2.065, allocations: 3.531 kB / 0.7021 GB, free: 55.13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007939/2.066, allocations: 0.7574 MB / 0.7028 GB, free: 54.63 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007256/2.074, allocations: 3.103 MB / 0.7059 GB, free: 53.64 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01141/2.085, allocations: 8.924 MB / 0.7146 GB, free: 44.83 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/2.097, allocations: 5.427 MB / 0.7199 GB, free: 43.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002174/2.097, allocations: 60.47 kB / 0.72 GB, free: 43.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.02799/2.125, allocations: 10.76 MB / 0.7305 GB, free: 36.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/2.125, allocations: 96 kB / 0.7306 GB, free: 36.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002981/2.126, allocations: 204 kB / 0.7307 GB, free: 36.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/2.126, allocations: 311.8 kB / 0.731 GB, free: 35.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01364/2.14, allocations: 2.263 MB / 0.7333 GB, free: 33.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003612/2.14, allocations: 411.5 kB / 0.7336 GB, free: 33.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01/2.15, allocations: 1.143 MB / 0.7348 GB, free: 32.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002355/2.152, allocations: 0.5932 MB / 0.7353 GB, free: 31.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 946 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1246): * Single equations (assignments): 1234 * Array equations: 12 * 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.003055/2.156, allocations: 0.5981 MB / 0.7359 GB, free: 31.11 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009222/2.165, allocations: 4.077 MB / 0.7399 GB, free: 27.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/2.166, allocations: 465.8 kB / 0.7404 GB, free: 26.99 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/2.168, allocations: 0.625 MB / 0.741 GB, free: 26.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000142/2.168, allocations: 55.52 kB / 0.741 GB, free: 26.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/2.169, allocations: 0 / 0.741 GB, free: 26.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-05/2.169, allocations: 18.67 kB / 0.741 GB, free: 26.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0348/2.203, allocations: 12.64 MB / 0.7534 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-05/2.203, allocations: 17.53 kB / 0.7534 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003946/2.207, allocations: 458 kB / 0.7538 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.27e-05/2.207, allocations: 24 kB / 0.7539 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000377/2.208, allocations: 27.33 kB / 0.7539 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.619e-05/2.208, allocations: 35.81 kB / 0.7539 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.692e-05/2.208, allocations: 19.17 kB / 0.7539 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009674/2.218, allocations: 6.546 MB / 0.7603 GB, free: 8.438 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/2.219, allocations: 0.5471 MB / 0.7609 GB, free: 7.879 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001353/2.22, allocations: 23.7 kB / 0.7609 GB, free: 7.859 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003311/2.224, allocations: 86.06 kB / 0.761 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007228/2.225, allocations: 193.2 kB / 0.7612 GB, free: 7.672 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003143/2.225, allocations: 106 kB / 0.7613 GB, free: 7.574 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00642/2.231, allocations: 2.921 MB / 0.7641 GB, free: 5.074 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.92e-07/2.231, allocations: 0 / 0.7641 GB, free: 5.074 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01054/2.242, allocations: 1.823 MB / 0.7659 GB, free: 3.246 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * Array equations: 12 * 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.01347/2.255, allocations: 9.96 MB / 0.7756 GB, free: 9.348 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01721/2.273, allocations: 7.172 MB / 0.7826 GB, free: 2.859 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/2.273, allocations: 3.75 kB / 0.7826 GB, free: 2.859 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004941/2.278, allocations: 2.128 MB / 0.7847 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/2.281, allocations: 363 kB / 0.785 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05282/2.334, allocations: 16.06 MB / 0.8007 GB, free: 2.492 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.354/2.688, allocations: 5.64 MB / 0.8062 GB, free: 112.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008366/2.696, allocations: 3.454 MB / 0.8096 GB, free: 112.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.493e-06/2.696, allocations: 0 / 0.8096 GB, free: 112.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.614/7.31, allocations: 131.5 MB / 0.938 GB, free: 32.96 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat