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/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.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.29/2.29, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007348/0.000735, allocations: 16 kB / 314.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3696, allocations: 54.86 MB / 369.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.5418, allocations: 86.92 MB / 456.3 MB, free: 3.688 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.5421, allocations: 79.91 kB / 456.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.488/1.03, allocations: 34.35 MB / 490.7 MB, free: 90.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.325e-06/1.03, allocations: 7.875 kB / 490.7 MB, free: 90.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.674e-05/1.03, allocations: 27.22 kB / 490.7 MB, free: 90.47 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.004918/1.035, allocations: 1.736 MB / 492.5 MB, free: 89.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.035, allocations: 14.53 kB / 492.5 MB, free: 89.36 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001224/1.037, allocations: 376 kB / 492.9 MB, free: 89.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/1.048, allocations: 1.654 MB / 494.5 MB, free: 88.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/1.052, allocations: 1.029 MB / 495.5 MB, free: 88.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/1.052, allocations: 133.2 kB / 495.7 MB, free: 88.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/1.053, allocations: 163.5 kB / 495.8 MB, free: 88.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/1.065, allocations: 4.938 MB / 0.489 GB, free: 82.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.531e-05/1.065, allocations: 35.64 kB / 0.4891 GB, free: 82.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007212/1.066, allocations: 95 kB / 0.4892 GB, free: 82.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008807/1.066, allocations: 0.5137 MB / 0.4897 GB, free: 82.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009148/1.076, allocations: 4.069 MB / 0.4936 GB, free: 77.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02623/1.102, allocations: 24.56 MB / 0.5176 GB, free: 52.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/1.104, allocations: 1.171 MB / 0.5188 GB, free: 51.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/1.104, allocations: 16.03 kB / 0.5188 GB, free: 51.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/1.104, allocations: 38.56 kB / 0.5188 GB, free: 51.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=60): time 4.329e-06/1.104, allocations: 0 / 0.5188 GB, free: 51.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=60): time 0.002386/1.106, allocations: 1.284 MB / 0.5201 GB, free: 49.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/1.106, allocations: 106.8 kB / 0.5202 GB, free: 49.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004405/1.111, allocations: 1.951 MB / 0.5221 GB, free: 47.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/1.111, allocations: 29.7 kB / 0.5221 GB, free: 47.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0013/1.112, allocations: 1.64 MB / 0.5237 GB, free: 46.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004071/1.113, allocations: 267 kB / 0.524 GB, free: 45.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/1.113, allocations: 64 kB / 0.524 GB, free: 45.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002189/1.113, allocations: 454 kB / 0.5245 GB, free: 45.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/1.115, allocations: 0.8809 MB / 0.5253 GB, free: 44.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003429/1.119, allocations: 3.125 MB / 0.5284 GB, free: 40.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/1.122, allocations: 1.665 MB / 0.53 GB, free: 38.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.266e-05/1.122, allocations: 28 kB / 0.53 GB, free: 38.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.008988/1.131, allocations: 3.736 MB / 0.5337 GB, free: 34.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.625e-05/1.131, allocations: 42.03 kB / 0.5337 GB, free: 34.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.403e-05/1.132, allocations: 80 kB / 0.5338 GB, free: 34.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001176/1.132, allocations: 116 kB / 0.5339 GB, free: 34.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003912/1.136, allocations: 0.7485 MB / 0.5346 GB, free: 33.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001427/1.136, allocations: 160 kB / 0.5348 GB, free: 33.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/1.139, allocations: 494.8 kB / 0.5352 GB, free: 33.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006422/1.14, allocations: 219 kB / 0.5355 GB, free: 32.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 368 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * 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.002456/1.142, allocations: 1.089 MB / 0.5365 GB, free: 31.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/1.143, allocations: 161.8 kB / 0.5367 GB, free: 31.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005366/1.143, allocations: 199.8 kB / 0.5369 GB, free: 31.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-05/1.143, allocations: 11.94 kB / 0.5369 GB, free: 31.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.143, allocations: 0 / 0.5369 GB, free: 31.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/1.143, allocations: 4 kB / 0.5369 GB, free: 31.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004809/1.148, allocations: 2.013 MB / 0.5388 GB, free: 29.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.148, allocations: 0 / 0.5388 GB, free: 29.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/1.149, allocations: 63.95 kB / 0.5389 GB, free: 29.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/1.149, allocations: 0 / 0.5389 GB, free: 29.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.907e-05/1.149, allocations: 8 kB / 0.5389 GB, free: 29.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.565e-06/1.149, allocations: 7.938 kB / 0.5389 GB, free: 29.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.149, allocations: 4 kB / 0.5389 GB, free: 29.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/1.151, allocations: 1.057 MB / 0.54 GB, free: 28.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/1.151, allocations: 234.8 kB / 0.5402 GB, free: 27.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/1.151, allocations: 4 kB / 0.5402 GB, free: 27.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008573/1.152, allocations: 39.12 kB / 0.5402 GB, free: 27.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/1.152, allocations: 27.91 kB / 0.5402 GB, free: 27.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/1.152, allocations: 19.98 kB / 0.5403 GB, free: 27.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003134/1.156, allocations: 1.351 MB / 0.5416 GB, free: 26.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.156, allocations: 0 / 0.5416 GB, free: 26.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003389/1.159, allocations: 0.4909 MB / 0.5421 GB, free: 25.97 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 () * Number of clocked 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.001935/1.161, allocations: 1.796 MB / 0.5438 GB, free: 24.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004287/1.165, allocations: 2.009 MB / 0.5458 GB, free: 22.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.165, allocations: 0 / 0.5458 GB, free: 22.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006172/1.166, allocations: 339.6 kB / 0.5461 GB, free: 21.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/1.167, allocations: 156.7 kB / 0.5463 GB, free: 21.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05392/1.221, allocations: 69.27 MB / 0.6139 GB, free: 14.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002998/1.224, allocations: 1.818 MB / 0.6157 GB, free: 12.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001826/1.226, allocations: 0.7492 MB / 0.6164 GB, free: 11.57 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/1.226, allocations: 0 / 0.6164 GB, free: 11.57 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.81/5.036, allocations: 36.27 MB / 0.6518 GB, free: 159.2 MB / 474.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