Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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) 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 ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01423/0.01423, allocations: 103.5 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001232/0.001231, allocations: 164.9 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.585/1.585, allocations: 170.9 MB / 187.6 MB, free: 0.9961 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2502/0.2502, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006421/0.0006421, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09898/0.09967, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.06512/0.1649, allocations: 34.14 MB / 406.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02086/0.1858, allocations: 7.587 MB / 414 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006306/0.1921, allocations: 175.6 kB / 414.2 MB, free: 2.832 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006693/0.1989, allocations: 1.855 MB / 416 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01979/0.2187, allocations: 5.139 MB / 421.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.2214, allocations: 287.6 kB / 421.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.03192/0.2534, allocations: 10.75 MB / 432.2 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3191/0.5726, allocations: 3.856 MB / 436.1 MB, free: 18.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004408/0.5771, allocations: 1.553 MB / 437.6 MB, free: 18.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005298/0.5824, allocations: 1.927 MB / 439.5 MB, free: 18.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002222/0.5847, allocations: 232.8 kB / 439.8 MB, free: 18.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003485/0.5882, allocations: 0.5713 MB / 440.3 MB, free: 18.49 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00518/0.5934, allocations: 2.377 MB / 442.7 MB, free: 18.49 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003306/0.5968, allocations: 1.326 MB / 444 MB, free: 18.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01348/0.6103, allocations: 8.139 MB / 452.2 MB, free: 16.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6104, allocations: 0 / 452.2 MB, free: 16.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.6104, allocations: 0 / 452.2 MB, free: 16.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004581/0.6109, allocations: 0 / 452.2 MB, free: 16.19 MB / 330.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.01813/0.629, allocations: 5.932 MB / 458.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.576e-05/0.6291, allocations: 11.97 kB / 458.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005019/0.6341, allocations: 1.272 MB / 459.4 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04182/0.676, allocations: 7.127 MB / 466.5 MB, free: 9.031 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01234/0.6884, allocations: 3.21 MB / 469.7 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000496/0.6889, allocations: 321.7 kB / 470.1 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003464/0.6924, allocations: 409 kB / 470.5 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05243/0.7449, allocations: 18.96 MB / 489.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001878/0.7451, allocations: 38.42 kB / 489.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001938/0.7471, allocations: 204.3 kB / 489.7 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01359/0.7607, allocations: 4.749 MB / 494.4 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05761/0.8184, allocations: 17.59 MB / 0.5 GB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1588/0.9772, allocations: 61.26 MB / 0.5598 GB, free: 9.684 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0276/1.005, allocations: 8.436 MB / 0.568 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04112/1.046, allocations: 11.93 MB / 0.5797 GB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.31e-05/1.046, allocations: 56.56 kB / 0.5798 GB, free: 4.355 MB / 442.7 MB Notification: Performance of pre-optimization done (n=321): time 1.144e-05/1.046, allocations: 0 / 0.5798 GB, free: 4.355 MB / 442.7 MB Notification: Performance of matching and sorting (n=321): time 0.3522/1.398, allocations: 8.54 MB / 0.5881 GB, free: 147.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/1.399, allocations: 111.2 kB / 0.5882 GB, free: 147.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01498/1.414, allocations: 5.611 MB / 0.5937 GB, free: 146.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006633/1.414, allocations: 65.05 kB / 0.5937 GB, free: 146.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004974/1.419, allocations: 5.06 MB / 0.5987 GB, free: 142.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00201/1.421, allocations: 1.201 MB / 0.5999 GB, free: 141.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/1.422, allocations: 180.3 kB / 0.6 GB, free: 141.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008119/1.423, allocations: 0.7206 MB / 0.6007 GB, free: 141.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008282/1.432, allocations: 3.171 MB / 0.6038 GB, free: 140.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01267/1.444, allocations: 8.562 MB / 0.6122 GB, free: 132 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/1.457, allocations: 5.264 MB / 0.6173 GB, free: 130 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002207/1.457, allocations: 55.44 kB / 0.6174 GB, free: 130 MB / 442.7 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.02931/1.486, allocations: 11.54 MB / 0.6287 GB, free: 125.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/1.486, allocations: 88.91 kB / 0.6287 GB, free: 125.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003108/1.487, allocations: 193.9 kB / 0.6289 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003005/1.487, allocations: 280 kB / 0.6292 GB, free: 125.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01245/1.5, allocations: 2.06 MB / 0.6312 GB, free: 123.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003396/1.5, allocations: 376.7 kB / 0.6316 GB, free: 123.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/1.51, allocations: 1.325 MB / 0.6329 GB, free: 121.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002186/1.513, allocations: 0.5534 MB / 0.6334 GB, free: 121.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1137): * Single equations (assignments): 1119 * Array equations: 18 * 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.01027/1.523, allocations: 3.704 MB / 0.637 GB, free: 118.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.524, allocations: 481.5 kB / 0.6375 GB, free: 117.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/1.526, allocations: 0.6417 MB / 0.6381 GB, free: 117.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001401/1.526, allocations: 58.25 kB / 0.6382 GB, free: 117 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.8e-05/1.526, allocations: 4 kB / 0.6382 GB, free: 117 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/1.526, allocations: 7.547 kB / 0.6382 GB, free: 117 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03429/1.561, allocations: 12.6 MB / 0.6505 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.808e-05/1.561, allocations: 12 kB / 0.6505 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003595/1.564, allocations: 427.2 kB / 0.6509 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.561e-05/1.565, allocations: 27.75 kB / 0.6509 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003248/1.565, allocations: 61.62 kB / 0.651 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-05/1.565, allocations: 31.92 kB / 0.651 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.616e-05/1.565, allocations: 23.88 kB / 0.651 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009246/1.574, allocations: 6.57 MB / 0.6574 GB, free: 98.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/1.576, allocations: 0.5876 MB / 0.658 GB, free: 98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001948/1.578, allocations: 58.33 kB / 0.6581 GB, free: 97.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004026/1.582, allocations: 129.4 kB / 0.6582 GB, free: 97.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009349/1.583, allocations: 177.7 kB / 0.6584 GB, free: 97.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002817/1.583, allocations: 100.5 kB / 0.6585 GB, free: 97.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00862/1.592, allocations: 3.442 MB / 0.6618 GB, free: 94.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.592, allocations: 0 / 0.6618 GB, free: 94.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0111/1.603, allocations: 1.984 MB / 0.6638 GB, free: 92.15 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 simulation (225): * Single equations (assignments): 213 * 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.01137/1.614, allocations: 10.11 MB / 0.6736 GB, free: 81.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01629/1.631, allocations: 7.228 MB / 0.6807 GB, free: 74.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.888e-05/1.631, allocations: 4 kB / 0.6807 GB, free: 74.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004616/1.635, allocations: 1.999 MB / 0.6827 GB, free: 72.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004179/1.64, allocations: 0.5612 MB / 0.6832 GB, free: 71.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4108/2.051, allocations: 162.7 MB / 0.8421 GB, free: 48.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01588/2.067, allocations: 5.566 MB / 0.8476 GB, free: 47.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01751/2.084, allocations: 3.547 MB / 0.851 GB, free: 47.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008042/2.092, allocations: 3.313 MB / 0.8543 GB, free: 45.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.833e-06/2.092, allocations: 0 / 0.8543 GB, free: 45.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5368/2.629, allocations: 109.9 MB / 0.9616 GB, free: 139.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/2.629, allocations: 174.4 kB / 0.9618 GB, free: 139.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.351/8.981, allocations: 3.938 kB / 0.9618 GB, free: 139.6 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat