Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.942/1.942, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006161/0.000616, allocations: 20 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4076, allocations: 48.7 MB / 331.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.5649, allocations: 81.28 MB / 412.6 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.5652, allocations: 75.97 kB / 412.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8146/1.38, allocations: 89.68 MB / 0.4906 GB, free: 86.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.568e-06/1.38, allocations: 7.047 kB / 0.4906 GB, free: 86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003697/1.38, allocations: 100.5 kB / 0.4907 GB, free: 86 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.1187/1.499, allocations: 9.957 MB / 0.5004 GB, free: 83.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.499, allocations: 6.719 kB / 0.5004 GB, free: 83.81 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004579/1.504, allocations: 0.8464 MB / 0.5013 GB, free: 83.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0152/1.519, allocations: 2.079 MB / 0.5033 GB, free: 83.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/1.53, allocations: 3.399 MB / 0.5066 GB, free: 82.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004594/1.531, allocations: 351.7 kB / 0.507 GB, free: 82.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003695/1.534, allocations: 483.4 kB / 0.5074 GB, free: 82.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06635/1.601, allocations: 15.41 MB / 0.5225 GB, free: 70.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003515/1.601, allocations: 67.36 kB / 0.5225 GB, free: 69.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003211/1.604, allocations: 219.8 kB / 0.5227 GB, free: 69.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004209/1.609, allocations: 1.116 MB / 0.5238 GB, free: 68.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06429/1.673, allocations: 15.35 MB / 0.5388 GB, free: 53.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1083/1.781, allocations: 55.52 MB / 0.593 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09722/1.879, allocations: 7.242 MB / 0.6001 GB, free: 5.047 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01589/1.895, allocations: 6.565 MB / 0.6065 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/1.895, allocations: 55.5 kB / 0.6066 GB, free: 13.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 5.791e-06/1.895, allocations: 0 / 0.6066 GB, free: 13.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=176): time 0.01154/1.906, allocations: 3.997 MB / 0.6105 GB, free: 9.812 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/1.906, allocations: 153.4 kB / 0.6106 GB, free: 9.629 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01294/1.919, allocations: 4.254 MB / 0.6148 GB, free: 5.367 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004143/1.92, allocations: 53.7 kB / 0.6148 GB, free: 5.309 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004512/1.924, allocations: 3.477 MB / 0.6182 GB, free: 1.836 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001648/1.926, allocations: 0.7153 MB / 0.6189 GB, free: 1.125 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/1.927, allocations: 131.4 kB / 0.619 GB, free: 1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007736/1.928, allocations: 0.5996 MB / 0.6196 GB, free: 400 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3158/2.244, allocations: 2.195 MB / 0.6218 GB, free: 109.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009997/2.254, allocations: 6.446 MB / 0.6281 GB, free: 104.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009784/2.264, allocations: 3.697 MB / 0.6317 GB, free: 104.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002911/2.264, allocations: 43.31 kB / 0.6317 GB, free: 104.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.0233/2.287, allocations: 8.301 MB / 0.6398 GB, free: 103.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/2.288, allocations: 69.16 kB / 0.6399 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002469/2.288, allocations: 154.2 kB / 0.64 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/2.288, allocations: 221.5 kB / 0.6403 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01034/2.298, allocations: 1.614 MB / 0.6418 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003419/2.299, allocations: 296 kB / 0.6421 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008755/2.308, allocations: 0.9283 MB / 0.643 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001807/2.309, allocations: 442.7 kB / 0.6434 GB, free: 103 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 39 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (846): * Single equations (assignments): 843 * Array equations: 3 * 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.006935/2.316, allocations: 2.291 MB / 0.6457 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/2.318, allocations: 405.2 kB / 0.6461 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006691/2.324, allocations: 2.536 MB / 0.6485 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.057e-05/2.324, allocations: 26.16 kB / 0.6486 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/2.324, allocations: 3.375 kB / 0.6486 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.112e-05/2.325, allocations: 6.891 kB / 0.6486 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/2.336, allocations: 4.272 MB / 0.6527 GB, free: 99.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.066e-05/2.336, allocations: 3.906 kB / 0.6528 GB, free: 99.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003772/2.34, allocations: 346.2 kB / 0.6531 GB, free: 99.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.57e-05/2.34, allocations: 6.5 kB / 0.6531 GB, free: 99.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000342/2.34, allocations: 40.31 kB / 0.6531 GB, free: 99.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.428e-05/2.34, allocations: 11.25 kB / 0.6531 GB, free: 99.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/2.34, allocations: 7.953 kB / 0.6531 GB, free: 99.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00979/2.35, allocations: 4.882 MB / 0.6579 GB, free: 97.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/2.352, allocations: 0.4943 MB / 0.6584 GB, free: 97.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001406/2.353, allocations: 39.05 kB / 0.6584 GB, free: 97.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003198/2.356, allocations: 68.52 kB / 0.6585 GB, free: 97.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005127/2.357, allocations: 91.27 kB / 0.6586 GB, free: 97.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001945/2.357, allocations: 54.06 kB / 0.6586 GB, free: 97.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007976/2.365, allocations: 2.982 MB / 0.6615 GB, free: 96.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.52e-07/2.365, allocations: 0 / 0.6615 GB, free: 96.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008733/2.374, allocations: 1.328 MB / 0.6628 GB, free: 95.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * 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 (172): * Single equations (assignments): 169 * Array equations: 3 * 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.01062/2.385, allocations: 5.701 MB / 0.6684 GB, free: 92.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01179/2.397, allocations: 4.985 MB / 0.6733 GB, free: 91.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/2.397, allocations: 0 / 0.6733 GB, free: 91.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002928/2.4, allocations: 1.272 MB / 0.6745 GB, free: 90.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/2.404, allocations: 486.2 kB / 0.675 GB, free: 90.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5157/2.919, allocations: 143.9 MB / 0.8155 GB, free: 117.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008379/2.928, allocations: 3.678 MB / 0.8191 GB, free: 116.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006104/2.934, allocations: 2.247 MB / 0.8213 GB, free: 116.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.613e-06/2.934, allocations: 0 / 0.8213 GB, free: 116.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.433/7.366, allocations: 93.37 MB / 0.9125 GB, free: 48.56 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat