Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadModel(Modelica): time 2.054/2.054, allocations: 194.9 MB / 211.7 MB, free: 2.875 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004913, allocations: 8 kB / 264.6 MB, free: 12.9 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09868, allocations: 44.5 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.43/0.5288, allocations: 86.8 MB / 395.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.5291, allocations: 95.34 kB / 395.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2353/0.7645, allocations: 58.17 MB / 454.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.247e-06/0.7645, allocations: 0 / 454.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001349/0.7647, allocations: 48 kB / 454.2 MB, free: 15.02 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 948 * Number of variables: 948 Notification: Performance of Generate backend data structure: time 0.01051/0.7752, allocations: 2.752 MB / 456.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.7752, allocations: 12.03 kB / 456.9 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01461/0.7899, allocations: 1.926 MB / 458.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/0.8039, allocations: 3.419 MB / 462.3 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/0.8042, allocations: 184.4 kB / 462.5 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/0.8059, allocations: 243.9 kB / 462.7 MB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02027/0.8262, allocations: 6.841 MB / 469.5 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.8264, allocations: 39.62 kB / 469.6 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006362/0.827, allocations: 133.9 kB / 469.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001659/0.8287, allocations: 0.7227 MB / 470.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01801/0.8467, allocations: 5.985 MB / 476.4 MB, free: 9.238 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05446/0.9012, allocations: 31.14 MB / 0.4956 GB, free: 9.227 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.9115, allocations: 2.619 MB / 0.4982 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01443/0.926, allocations: 5.145 MB / 0.5032 GB, free: 1.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/0.9261, allocations: 54.42 kB / 0.5033 GB, free: 1.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 4.629e-06/0.9261, allocations: 0 / 0.5033 GB, free: 1.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=105): time 0.04292/0.969, allocations: 9.991 MB / 0.513 GB, free: 6.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.9692, allocations: 140.9 kB / 0.5132 GB, free: 6.762 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006941/0.9761, allocations: 2.714 MB / 0.5158 GB, free: 4.027 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003224/0.9765, allocations: 37.7 kB / 0.5159 GB, free: 3.984 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002363/0.9789, allocations: 2.035 MB / 0.5178 GB, free: 1.949 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008312/0.9797, allocations: 426.5 kB / 0.5183 GB, free: 1.539 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005119/0.9803, allocations: 80 kB / 0.5183 GB, free: 1.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003772/0.9807, allocations: 486.9 kB / 0.5188 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2578/1.238, allocations: 1.443 MB / 0.5202 GB, free: 112.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006565/1.245, allocations: 4.019 MB / 0.5241 GB, free: 109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006107/1.251, allocations: 2.347 MB / 0.5264 GB, free: 109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001525/1.251, allocations: 33.3 kB / 0.5265 GB, free: 109 MB / 410.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.01912/1.271, allocations: 5.985 MB / 0.5323 GB, free: 108.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/1.271, allocations: 44.66 kB / 0.5323 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002071/1.271, allocations: 94.45 kB / 0.5324 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00441/1.275, allocations: 0.8245 MB / 0.5332 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005814/1.281, allocations: 0.9462 MB / 0.5342 GB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00902/1.29, allocations: 4.388 MB / 0.5384 GB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005187/1.296, allocations: 281.2 kB / 0.5387 GB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000997/1.297, allocations: 259.6 kB / 0.539 GB, free: 107.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 420 * Number of states: 0 () * Number of discrete variables: 18 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],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 (493): * Single equations (assignments): 489 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003304/1.3, allocations: 1.36 MB / 0.5403 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005806/1.301, allocations: 228.5 kB / 0.5405 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007083/1.308, allocations: 2.125 MB / 0.5426 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.827e-05/1.308, allocations: 19 kB / 0.5426 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.308, allocations: 3.5 kB / 0.5426 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.578e-05/1.308, allocations: 4.547 kB / 0.5426 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/1.323, allocations: 5.084 MB / 0.5476 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.952e-05/1.323, allocations: 3.938 kB / 0.5476 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/1.325, allocations: 145.3 kB / 0.5477 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00366/1.328, allocations: 0.673 MB / 0.5484 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/1.329, allocations: 25.02 kB / 0.5484 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007816/1.337, allocations: 3.935 MB / 0.5522 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.337, allocations: 0 / 0.5522 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.347, allocations: 4.05 MB / 0.5562 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/1.349, allocations: 465.5 kB / 0.5566 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006395/1.349, allocations: 15.59 kB / 0.5567 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.351, allocations: 76.94 kB / 0.5567 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003807/1.352, allocations: 67.06 kB / 0.5568 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/1.352, allocations: 26.86 kB / 0.5568 GB, free: 102.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004344/1.356, allocations: 1.698 MB / 0.5585 GB, free: 101.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.81e-07/1.356, allocations: 0 / 0.5585 GB, free: 101.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005283/1.362, allocations: 0.6779 MB / 0.5591 GB, free: 101.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (74): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006739/1.362, allocations: 183.1 kB / 0.5593 GB, free: 101.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00826/1.371, allocations: 3.463 MB / 0.5627 GB, free: 100.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.371, allocations: 0 / 0.5627 GB, free: 100.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002255/1.373, allocations: 1.038 MB / 0.5637 GB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/1.375, allocations: 236.2 kB / 0.5639 GB, free: 100 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/1.39, allocations: 6.633 MB / 0.5704 GB, free: 96.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004312/1.394, allocations: 2.287 MB / 0.5726 GB, free: 95.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005532/1.4, allocations: 1.312 MB / 0.5739 GB, free: 95.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008286/1.401, allocations: 162.5 kB / 0.5741 GB, free: 95.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/1.401, allocations: 0 / 0.5741 GB, free: 95.54 MB / 410.7 MB Notification: Performance of Templates: time 0.06386/1.465, allocations: 22.22 MB / 0.5958 GB, free: 82.57 MB / 410.7 MB