Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.236/2.236, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.983e-05, allocations: 4 kB / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3698, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/0.5878, allocations: 86.16 MB / 444.3 MB, free: 8.574 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5881, allocations: 71.97 kB / 444.4 MB, free: 8.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4348/1.023, allocations: 33.74 MB / 478.1 MB, free: 92.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.023, allocations: 0 / 478.1 MB, free: 92.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.008e-05/1.023, allocations: 29.12 kB / 478.1 MB, free: 92.3 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: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.003576/1.027, allocations: 1.652 MB / 479.8 MB, free: 91.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.027, allocations: 10.09 kB / 479.8 MB, free: 91.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/1.039, allocations: 1.651 MB / 481.4 MB, free: 91.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/1.042, allocations: 1.009 MB / 482.4 MB, free: 90.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.217e-05/1.042, allocations: 55.72 kB / 482.5 MB, free: 90.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005581/1.042, allocations: 98.31 kB / 482.6 MB, free: 90.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005912/1.048, allocations: 2.781 MB / 485.4 MB, free: 90.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009044/1.057, allocations: 4.656 MB / 490 MB, free: 87.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.556e-05/1.058, allocations: 30.34 kB / 490.1 MB, free: 87.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003524/1.058, allocations: 22.56 kB / 490.1 MB, free: 87.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008222/1.059, allocations: 0.5072 MB / 490.6 MB, free: 87.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.024/1.083, allocations: 23.46 MB / 0.502 GB, free: 64.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/1.085, allocations: 1.165 MB / 0.5031 GB, free: 63.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005822/1.085, allocations: 327.8 kB / 0.5035 GB, free: 62.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/1.085, allocations: 4 kB / 0.5035 GB, free: 62.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/1.085, allocations: 42.5 kB / 0.5035 GB, free: 62.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=60): time 3.787e-06/1.085, allocations: 0 / 0.5035 GB, free: 62.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=60): time 0.001653/1.087, allocations: 0.7218 MB / 0.5042 GB, free: 61.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/1.087, allocations: 110.9 kB / 0.5043 GB, free: 61.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/1.09, allocations: 1.69 MB / 0.506 GB, free: 60.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.398e-05/1.09, allocations: 25.7 kB / 0.506 GB, free: 60.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009895/1.091, allocations: 1.704 MB / 0.5076 GB, free: 58.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/1.091, allocations: 261 kB / 0.5079 GB, free: 58.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/1.091, allocations: 0 / 0.5079 GB, free: 58.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002184/1.092, allocations: 462.3 kB / 0.5083 GB, free: 57.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/1.093, allocations: 0.8345 MB / 0.5092 GB, free: 56.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002697/1.096, allocations: 3.185 MB / 0.5123 GB, free: 52.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003306/1.099, allocations: 1.673 MB / 0.5139 GB, free: 50.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-05/1.099, allocations: 24 kB / 0.5139 GB, free: 50.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.008139/1.107, allocations: 3.39 MB / 0.5172 GB, free: 47.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.572e-05/1.108, allocations: 44 kB / 0.5173 GB, free: 47.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-05/1.108, allocations: 88.16 kB / 0.5174 GB, free: 47.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/1.108, allocations: 124 kB / 0.5175 GB, free: 47.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004095/1.112, allocations: 0.7875 MB / 0.5182 GB, free: 46.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001128/1.112, allocations: 163.4 kB / 0.5184 GB, free: 46.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/1.115, allocations: 419 kB / 0.5188 GB, free: 45.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005105/1.116, allocations: 228 kB / 0.519 GB, free: 45.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 389 * Number of states: 0 () * Number of discrete variables: 9 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (428): * Single equations (assignments): 425 * 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.0004489/1.116, allocations: 302.9 kB / 0.5193 GB, free: 45.19 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001555/1.118, allocations: 0.7331 MB / 0.52 GB, free: 44.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/1.118, allocations: 149.9 kB / 0.5202 GB, free: 44.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/1.119, allocations: 182.2 kB / 0.5203 GB, free: 44.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/1.119, allocations: 8 kB / 0.5203 GB, free: 44.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.119, allocations: 0 / 0.5203 GB, free: 44.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/1.119, allocations: 7.922 kB / 0.5204 GB, free: 44.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003933/1.123, allocations: 1.634 MB / 0.5219 GB, free: 42.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/1.123, allocations: 4 kB / 0.522 GB, free: 42.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/1.123, allocations: 55.91 kB / 0.522 GB, free: 42.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.078e-06/1.123, allocations: 4 kB / 0.522 GB, free: 42.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/1.123, allocations: 7.984 kB / 0.522 GB, free: 42.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.123, allocations: 0 / 0.522 GB, free: 42.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.123, allocations: 7.984 kB / 0.522 GB, free: 42.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/1.125, allocations: 1.024 MB / 0.523 GB, free: 41.31 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/1.125, allocations: 219 kB / 0.5232 GB, free: 41.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/1.125, allocations: 7.938 kB / 0.5232 GB, free: 41.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/1.126, allocations: 23.92 kB / 0.5233 GB, free: 41.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/1.126, allocations: 23.97 kB / 0.5233 GB, free: 41.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/1.126, allocations: 16 kB / 0.5233 GB, free: 41.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001982/1.128, allocations: 1.109 MB / 0.5244 GB, free: 39.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.129, allocations: 288 / 0.5244 GB, free: 39.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003187/1.132, allocations: 450.5 kB / 0.5248 GB, free: 39.46 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * 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.001905/1.134, allocations: 1.746 MB / 0.5265 GB, free: 37.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003826/1.137, allocations: 1.897 MB / 0.5284 GB, free: 35.81 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.138, allocations: 3.938 kB / 0.5284 GB, free: 35.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005149/1.138, allocations: 319.8 kB / 0.5287 GB, free: 35.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/1.139, allocations: 134.3 kB / 0.5288 GB, free: 35.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.149, allocations: 3.719 MB / 0.5324 GB, free: 31.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002022/1.151, allocations: 1.826 MB / 0.5342 GB, free: 29.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/1.153, allocations: 0.7492 MB / 0.535 GB, free: 28.96 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/1.153, allocations: 0 / 0.535 GB, free: 28.96 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.154/4.307, allocations: 34.97 MB / 0.5691 GB, free: 10.04 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat does not exist to compare? outputFormat=mat