Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.887/1.887, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006478/0.0006478, allocations: 16 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4212, allocations: 48.7 MB / 331.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.576, allocations: 80.37 MB / 411.7 MB, free: 13.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.5763, allocations: 79.95 kB / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1425/0.7188, allocations: 34.35 MB / 446.2 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.7189, allocations: 0 / 446.2 MB, free: 11.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.734e-05/0.719, allocations: 28 kB / 446.2 MB, free: 11.11 MB / 378.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.004923/0.7239, allocations: 1.738 MB / 447.9 MB, free: 9.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.724, allocations: 12.03 kB / 447.9 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001192/0.7252, allocations: 371.9 kB / 448.3 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/0.7376, allocations: 1.651 MB / 449.9 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003418/0.741, allocations: 1.038 MB / 451 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.7412, allocations: 127.4 kB / 451.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007417/0.742, allocations: 175.9 kB / 451.3 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.753, allocations: 4.926 MB / 456.2 MB, free: 340 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.539e-05/0.7531, allocations: 31.69 kB / 456.2 MB, free: 308 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004545/0.7536, allocations: 91.94 kB / 456.3 MB, free: 216 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001037/0.7547, allocations: 0.5101 MB / 456.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.7651, allocations: 4.073 MB / 460.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03188/0.7971, allocations: 24.56 MB / 485.5 MB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/0.7994, allocations: 1.182 MB / 486.7 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.7994, allocations: 11.94 kB / 486.7 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.7995, allocations: 38.5 kB / 486.7 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 4.057e-06/0.7995, allocations: 0 / 486.7 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.2698/1.069, allocations: 1.277 MB / 488 MB, free: 122 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/1.069, allocations: 113.7 kB / 488.1 MB, free: 121.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005099/1.074, allocations: 1.95 MB / 490 MB, free: 121.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/1.075, allocations: 36.89 kB / 490.1 MB, free: 121.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001575/1.076, allocations: 1.63 MB / 491.7 MB, free: 120.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004538/1.077, allocations: 261.1 kB / 492 MB, free: 120.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003357/1.077, allocations: 66.73 kB / 492 MB, free: 120.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002742/1.077, allocations: 456.9 kB / 492.5 MB, free: 120.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002263/1.08, allocations: 0.8798 MB / 493.4 MB, free: 120.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003619/1.083, allocations: 3.122 MB / 496.5 MB, free: 117.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003989/1.087, allocations: 1.668 MB / 498.1 MB, free: 117.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/1.087, allocations: 25.36 kB / 498.2 MB, free: 117.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01033/1.098, allocations: 3.749 MB / 0.4902 GB, free: 116.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.762e-05/1.098, allocations: 42.81 kB / 0.4902 GB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001606/1.098, allocations: 80.72 kB / 0.4903 GB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/1.098, allocations: 116.3 kB / 0.4904 GB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004244/1.103, allocations: 0.7442 MB / 0.4911 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001828/1.103, allocations: 156.6 kB / 0.4913 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003574/1.106, allocations: 495.4 kB / 0.4917 GB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006745/1.107, allocations: 213.6 kB / 0.4919 GB, free: 116.6 MB / 410.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.002489/1.11, allocations: 1.102 MB / 0.493 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003965/1.11, allocations: 163.2 kB / 0.4932 GB, free: 115.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005127/1.11, allocations: 196.9 kB / 0.4934 GB, free: 115.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.344e-05/1.111, allocations: 10.78 kB / 0.4934 GB, free: 115.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/1.111, allocations: 1.406 kB / 0.4934 GB, free: 115.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/1.111, allocations: 0.9375 kB / 0.4934 GB, free: 115.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004752/1.115, allocations: 2.012 MB / 0.4953 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.115, allocations: 0 / 0.4953 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/1.116, allocations: 65.16 kB / 0.4954 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/1.116, allocations: 0 / 0.4954 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/1.116, allocations: 10.91 kB / 0.4954 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/1.116, allocations: 0 / 0.4954 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.116, allocations: 3.953 kB / 0.4954 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/1.118, allocations: 1.066 MB / 0.4965 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/1.118, allocations: 235.1 kB / 0.4967 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/1.118, allocations: 7.844 kB / 0.4967 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008733/1.119, allocations: 28.52 kB / 0.4967 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/1.119, allocations: 29.09 kB / 0.4967 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/1.119, allocations: 19.16 kB / 0.4968 GB, free: 114.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003065/1.123, allocations: 1.353 MB / 0.4981 GB, free: 113.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.92e-07/1.123, allocations: 0 / 0.4981 GB, free: 113.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003524/1.126, allocations: 0.4914 MB / 0.4986 GB, free: 113.5 MB / 410.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.001978/1.128, allocations: 1.789 MB / 0.5003 GB, free: 112.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00437/1.133, allocations: 2.022 MB / 0.5023 GB, free: 111.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/1.133, allocations: 0.8125 kB / 0.5023 GB, free: 111.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006141/1.133, allocations: 332.9 kB / 0.5026 GB, free: 111.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/1.134, allocations: 158.6 kB / 0.5028 GB, free: 111.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04064/1.175, allocations: 69.25 MB / 0.5704 GB, free: 46.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002583/1.178, allocations: 1.821 MB / 0.5722 GB, free: 45.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/1.179, allocations: 0.7533 MB / 0.5729 GB, free: 45.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.123e-06/1.18, allocations: 0 / 0.5729 GB, free: 45.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.485/4.665, allocations: 36.26 MB / 0.6083 GB, free: 12.54 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat does not exist to compare? outputFormat=mat