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.288/2.288, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.713e-05, allocations: 7.984 kB / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3918, allocations: 54.85 MB / 364.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/0.5662, allocations: 86.84 MB / 451.5 MB, free: 9.613 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/0.5666, allocations: 72.94 kB / 451.5 MB, free: 9.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1768/0.7435, allocations: 34.41 MB / 485.9 MB, free: 6.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.7436, allocations: 0 / 485.9 MB, free: 6.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.157e-05/0.7437, allocations: 32 kB / 486 MB, free: 6.785 MB / 410.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.00528/0.749, allocations: 1.644 MB / 487.6 MB, free: 5.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/0.749, allocations: 12.03 kB / 487.6 MB, free: 5.078 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001641/0.7507, allocations: 371.9 kB / 488 MB, free: 4.707 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/0.7635, allocations: 1.651 MB / 489.6 MB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003931/0.7675, allocations: 1.013 MB / 490.7 MB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002447/0.7678, allocations: 131.4 kB / 490.8 MB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/0.769, allocations: 172.3 kB / 490.9 MB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/0.782, allocations: 4.914 MB / 495.9 MB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.907e-05/0.7821, allocations: 27.75 kB / 495.9 MB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007897/0.7829, allocations: 87.94 kB / 496 MB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001202/0.7842, allocations: 0.514 MB / 496.5 MB, free: 11.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.7952, allocations: 4.008 MB / 0.4888 GB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04792/0.8431, allocations: 24.56 MB / 0.5128 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/0.8466, allocations: 1.179 MB / 0.5139 GB, free: 12.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.8479, allocations: 335.8 kB / 0.5142 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.848, allocations: 7.938 kB / 0.5142 GB, free: 12.35 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/0.848, allocations: 42.5 kB / 0.5143 GB, free: 12.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=60): time 5.992e-06/0.8481, allocations: 4 kB / 0.5143 GB, free: 12.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=60): time 0.003147/0.8512, allocations: 0.7503 MB / 0.515 GB, free: 11.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.8514, allocations: 110.8 kB / 0.5151 GB, free: 11.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008026/0.8595, allocations: 1.912 MB / 0.517 GB, free: 9.445 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.8597, allocations: 29.7 kB / 0.517 GB, free: 9.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00275/0.8625, allocations: 1.631 MB / 0.5186 GB, free: 7.754 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006726/0.8632, allocations: 265 kB / 0.5189 GB, free: 7.492 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005032/0.8637, allocations: 60 kB / 0.5189 GB, free: 7.434 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005754/0.8643, allocations: 469.9 kB / 0.5194 GB, free: 6.965 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003991/0.8684, allocations: 0.8538 MB / 0.5202 GB, free: 6.109 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00788/0.8763, allocations: 3.101 MB / 0.5232 GB, free: 1.875 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006857/0.8832, allocations: 1.679 MB / 0.5249 GB, free: 200 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/0.8834, allocations: 20 kB / 0.5249 GB, free: 180 kB / 458.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.4289/1.312, allocations: 3.701 MB / 0.5285 GB, free: 131.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.699e-05/1.312, allocations: 40.69 kB / 0.5285 GB, free: 131.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001582/1.313, allocations: 85.38 kB / 0.5286 GB, free: 131.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/1.313, allocations: 117.2 kB / 0.5287 GB, free: 131.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004724/1.318, allocations: 0.7454 MB / 0.5295 GB, free: 131.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002975/1.318, allocations: 161.3 kB / 0.5296 GB, free: 131.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005187/1.323, allocations: 493.3 kB / 0.5301 GB, free: 131.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008832/1.324, allocations: 212 kB / 0.5303 GB, free: 131.8 MB / 458.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 () * 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.0009167/1.325, allocations: 363.1 kB / 0.5306 GB, free: 131.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005887/1.326, allocations: 162.1 kB / 0.5308 GB, free: 131.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007989/1.326, allocations: 198.8 kB / 0.531 GB, free: 131.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.893e-05/1.327, allocations: 10.17 kB / 0.531 GB, free: 131.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/1.327, allocations: 4.953 kB / 0.531 GB, free: 131.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/1.327, allocations: 4.422 kB / 0.531 GB, free: 131.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008664/1.335, allocations: 2.007 MB / 0.533 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/1.335, allocations: 1.531 kB / 0.533 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008399/1.336, allocations: 64 kB / 0.533 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/1.336, allocations: 4.094 kB / 0.533 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/1.336, allocations: 7.938 kB / 0.533 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/1.336, allocations: 3.75 kB / 0.533 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.336, allocations: 3.953 kB / 0.533 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/1.339, allocations: 1.054 MB / 0.5341 GB, free: 130.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007578/1.34, allocations: 232.9 kB / 0.5343 GB, free: 130.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003758/1.34, allocations: 13.64 kB / 0.5343 GB, free: 130.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/1.342, allocations: 25.72 kB / 0.5343 GB, free: 130.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/1.342, allocations: 30.11 kB / 0.5343 GB, free: 130.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.755e-05/1.342, allocations: 20.47 kB / 0.5344 GB, free: 130.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004921/1.347, allocations: 1.319 MB / 0.5357 GB, free: 130.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.152e-06/1.347, allocations: 0 / 0.5357 GB, free: 130.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005875/1.353, allocations: 499.8 kB / 0.5361 GB, free: 130.3 MB / 458.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.003225/1.356, allocations: 1.779 MB / 0.5379 GB, free: 129.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006833/1.363, allocations: 2.003 MB / 0.5398 GB, free: 129 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/1.363, allocations: 0 / 0.5398 GB, free: 129 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/1.364, allocations: 341.8 kB / 0.5402 GB, free: 129 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/1.366, allocations: 153.4 kB / 0.5403 GB, free: 129 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.384, allocations: 3.822 MB / 0.544 GB, free: 127.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004007/1.388, allocations: 1.819 MB / 0.5458 GB, free: 126.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002325/1.391, allocations: 0.7461 MB / 0.5465 GB, free: 126.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.663e-06/1.391, allocations: 0 / 0.5465 GB, free: 126.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.367/4.758, allocations: 36.04 MB / 0.5817 GB, free: 106.9 MB / 458.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