Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.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.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.341e-05, allocations: 4 kB / 309.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.399, allocations: 54.85 MB / 364.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.5812, allocations: 99.96 MB / 464.6 MB, free: 12.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.5816, allocations: 76.8 kB / 464.7 MB, free: 12.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6724/1.254, allocations: 82.5 MB / 0.5343 GB, free: 104.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.324e-06/1.254, allocations: 0 / 0.5343 GB, free: 104.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002746/1.254, allocations: 80.31 kB / 0.5344 GB, free: 104.6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.02827/1.283, allocations: 4.287 MB / 0.5386 GB, free: 102.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.784e-05/1.283, allocations: 9.406 kB / 0.5386 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005362/1.288, allocations: 0.7973 MB / 0.5394 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02769/1.316, allocations: 2.264 MB / 0.5416 GB, free: 102.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02882/1.345, allocations: 4.775 MB / 0.5463 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007635/1.346, allocations: 334.2 kB / 0.5466 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003489/1.349, allocations: 436.9 kB / 0.547 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03262/1.382, allocations: 10.55 MB / 0.5573 GB, free: 99.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002841/1.382, allocations: 57.06 kB / 0.5573 GB, free: 99.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002033/1.384, allocations: 219.2 kB / 0.5576 GB, free: 99.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002292/1.386, allocations: 1.01 MB / 0.5585 GB, free: 99.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02497/1.411, allocations: 8.379 MB / 0.5667 GB, free: 98.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07079/1.482, allocations: 49.3 MB / 0.6149 GB, free: 60.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/1.497, allocations: 3.514 MB / 0.6183 GB, free: 59.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0037/1.501, allocations: 1.674 MB / 0.6199 GB, free: 58.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01797/1.519, allocations: 7.549 MB / 0.6273 GB, free: 53.85 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/1.519, allocations: 51.28 kB / 0.6274 GB, free: 53.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 5.811e-06/1.519, allocations: 0 / 0.6274 GB, free: 53.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=146): time 0.04076/1.56, allocations: 10.56 MB / 0.6377 GB, free: 44.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001277/1.561, allocations: 1.611 MB / 0.6392 GB, free: 42.87 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00695/1.568, allocations: 3.495 MB / 0.6427 GB, free: 39.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004458/1.569, allocations: 49.7 kB / 0.6427 GB, free: 39.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002163/1.571, allocations: 3.105 MB / 0.6457 GB, free: 36.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009265/1.572, allocations: 0.6021 MB / 0.6463 GB, free: 36.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004694/1.572, allocations: 116 kB / 0.6464 GB, free: 36.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003342/1.573, allocations: 0.5618 MB / 0.647 GB, free: 35.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004534/1.577, allocations: 2.086 MB / 0.649 GB, free: 33.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006666/1.584, allocations: 5.808 MB / 0.6547 GB, free: 26.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007315/1.591, allocations: 3.431 MB / 0.658 GB, free: 23.58 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.918e-05/1.591, allocations: 44 kB / 0.6581 GB, free: 23.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.03165/1.623, allocations: 8.991 MB / 0.6669 GB, free: 15.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-05/1.623, allocations: 71.83 kB / 0.6669 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01768/1.641, allocations: 3.488 MB / 0.6703 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01697/1.658, allocations: 1.934 MB / 0.6722 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008314/1.666, allocations: 1.384 MB / 0.6736 GB, free: 8.805 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/1.679, allocations: 5.75 MB / 0.6792 GB, free: 2.793 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007839/1.686, allocations: 411.3 kB / 0.6796 GB, free: 2.391 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/1.688, allocations: 368 kB / 0.6799 GB, free: 2.031 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 36 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (735): * Single equations (assignments): 726 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00183/1.69, allocations: 0.567 MB / 0.6805 GB, free: 1.457 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008642/1.691, allocations: 327.7 kB / 0.6808 GB, free: 1.133 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.701, allocations: 3.066 MB / 0.6838 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009273/1.711, allocations: 2.577 MB / 0.6863 GB, free: 11.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.239e-05/1.711, allocations: 7.938 kB / 0.6863 GB, free: 11.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.442e-05/1.711, allocations: 7.922 kB / 0.6863 GB, free: 11.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/1.722, allocations: 3.855 MB / 0.6901 GB, free: 7.566 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/1.722, allocations: 0 / 0.6901 GB, free: 7.566 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002724/1.725, allocations: 259.4 kB / 0.6903 GB, free: 7.316 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005761/1.73, allocations: 1.025 MB / 0.6913 GB, free: 6.277 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003959/1.731, allocations: 35.97 kB / 0.6914 GB, free: 6.242 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009467/1.74, allocations: 4.991 MB / 0.6962 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001417/1.742, allocations: 1.478 MB / 0.6977 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0152/1.757, allocations: 5.451 MB / 0.703 GB, free: 9.875 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.759, allocations: 408.6 kB / 0.7034 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000987/1.76, allocations: 35.92 kB / 0.7034 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003578/1.763, allocations: 139.1 kB / 0.7036 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005825/1.764, allocations: 88.64 kB / 0.7037 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/1.764, allocations: 43.86 kB / 0.7037 GB, free: 9.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006498/1.77, allocations: 2.41 MB / 0.706 GB, free: 6.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.771, allocations: 0 / 0.706 GB, free: 6.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007474/1.778, allocations: 1.066 MB / 0.7071 GB, free: 5.703 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3511/2.129, allocations: 6.264 MB / 0.7132 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01702/2.146, allocations: 5.636 MB / 0.7187 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/2.146, allocations: 0 / 0.7187 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007886/2.154, allocations: 2.195 MB / 0.7209 GB, free: 120.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004097/2.158, allocations: 393 kB / 0.7212 GB, free: 120.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03629/2.195, allocations: 9.831 MB / 0.7308 GB, free: 119.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007627/2.202, allocations: 3.34 MB / 0.7341 GB, free: 118.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004936/2.207, allocations: 1.901 MB / 0.7359 GB, free: 118.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.543e-06/2.207, allocations: 0 / 0.7359 GB, free: 118.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.666/6.874, allocations: 151.3 MB / 0.8837 GB, free: 6.109 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat