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.PointGravityWithPointMasses.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.067/2.067, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005331/0.0005332, allocations: 8 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3495, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.4964, allocations: 80.75 MB / 389.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/0.4968, allocations: 87.95 kB / 389.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4693/0.9662, allocations: 51.17 MB / 440.6 MB, free: 83.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.9663, allocations: 4 kB / 440.6 MB, free: 83.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000134/0.9664, allocations: 55.94 kB / 440.6 MB, free: 83.36 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: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.009471/0.9759, allocations: 2.479 MB / 443.1 MB, free: 80.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.976, allocations: 8.031 kB / 443.1 MB, free: 80.84 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00207/0.9781, allocations: 0.5658 MB / 443.7 MB, free: 80.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02005/0.9981, allocations: 1.943 MB / 445.6 MB, free: 78.33 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006482/1.005, allocations: 1.395 MB / 447 MB, free: 76.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003839/1.005, allocations: 224.4 kB / 447.2 MB, free: 76.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002092/1.007, allocations: 299 kB / 447.5 MB, free: 76.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03436/1.042, allocations: 8.888 MB / 456.4 MB, free: 66.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001836/1.042, allocations: 59.47 kB / 456.5 MB, free: 66.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000785/1.043, allocations: 147.4 kB / 456.6 MB, free: 66.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001875/1.045, allocations: 0.7891 MB / 457.4 MB, free: 65.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02867/1.073, allocations: 7.133 MB / 464.5 MB, free: 58.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05641/1.13, allocations: 38.04 MB / 0.4908 GB, free: 19.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03785/1.168, allocations: 5.237 MB / 0.4959 GB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007133/1.175, allocations: 3.349 MB / 0.4992 GB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/1.175, allocations: 50.69 kB / 0.4992 GB, free: 10.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 6.172e-06/1.175, allocations: 0 / 0.4992 GB, free: 10.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.1039/1.279, allocations: 9.846 MB / 0.5089 GB, free: 360 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.279, allocations: 191.9 kB / 0.509 GB, free: 124 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01066/1.29, allocations: 2.688 MB / 0.5117 GB, free: 13.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002903/1.29, allocations: 37.7 kB / 0.5117 GB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003753/1.294, allocations: 2.402 MB / 0.514 GB, free: 10.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000867/1.295, allocations: 482.3 kB / 0.5145 GB, free: 10.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004865/1.295, allocations: 104 kB / 0.5146 GB, free: 10.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0006056/1.296, allocations: 0.5896 MB / 0.5152 GB, free: 9.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003964/1.3, allocations: 1.478 MB / 0.5166 GB, free: 8.273 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007198/1.307, allocations: 4.998 MB / 0.5215 GB, free: 1.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006587/1.314, allocations: 2.694 MB / 0.5241 GB, free: 14.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.245e-05/1.314, allocations: 40 kB / 0.5242 GB, free: 14.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01753/1.331, allocations: 6.154 MB / 0.5302 GB, free: 8.586 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/1.332, allocations: 62.81 kB / 0.5302 GB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002123/1.332, allocations: 124 kB / 0.5304 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/1.332, allocations: 184 kB / 0.5305 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/1.342, allocations: 1.505 MB / 0.532 GB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000308/1.343, allocations: 251 kB / 0.5322 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005446/1.348, allocations: 0.7465 MB / 0.533 GB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001164/1.349, allocations: 344 kB / 0.5333 GB, free: 5.379 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 577 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (671): * Single equations (assignments): 668 * 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.003883/1.353, allocations: 1.567 MB / 0.5348 GB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006829/1.354, allocations: 240.8 kB / 0.5351 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/1.356, allocations: 0.7157 MB / 0.5358 GB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-05/1.356, allocations: 12 kB / 0.5358 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/1.356, allocations: 0 / 0.5358 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/1.356, allocations: 7.984 kB / 0.5358 GB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00639/1.363, allocations: 2.269 MB / 0.538 GB, free: 500 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/1.363, allocations: 0 / 0.538 GB, free: 500 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005164/1.368, allocations: 463.4 kB / 0.5384 GB, free: 36 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.208e-05/1.368, allocations: 11.98 kB / 0.5384 GB, free: 24 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/1.368, allocations: 31.97 kB / 0.5385 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/1.368, allocations: 4 kB / 0.5385 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.368, allocations: 7.938 kB / 0.5385 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005109/1.373, allocations: 2.593 MB / 0.541 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007989/1.374, allocations: 301.7 kB / 0.5413 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004329/1.375, allocations: 31.94 kB / 0.5413 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.376, allocations: 47.94 kB / 0.5414 GB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/1.376, allocations: 51.92 kB / 0.5414 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.377, allocations: 35.97 kB / 0.5415 GB, free: 12.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004643/1.381, allocations: 1.812 MB / 0.5432 GB, free: 11.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.381, allocations: 3.938 kB / 0.5432 GB, free: 11.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005651/1.387, allocations: 0.8182 MB / 0.544 GB, free: 10.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3]) * 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 (81): * Single equations (assignments): 78 * 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.006024/1.393, allocations: 3.533 MB / 0.5475 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008431/1.401, allocations: 3.354 MB / 0.5508 GB, free: 3.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.402, allocations: 0 / 0.5508 GB, free: 3.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/1.403, allocations: 0.6021 MB / 0.5514 GB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/1.405, allocations: 237.9 kB / 0.5516 GB, free: 2.445 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3274/1.732, allocations: 110.2 MB / 0.6592 GB, free: 22.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005833/1.738, allocations: 2.416 MB / 0.6615 GB, free: 21.05 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.007732/1.746, allocations: 1.636 MB / 0.6631 GB, free: 20.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003083/1.749, allocations: 1.187 MB / 0.6643 GB, free: 19.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.813e-06/1.749, allocations: 0 / 0.6643 GB, free: 19.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4455/2.195, allocations: 49.96 MB / 0.7131 GB, free: 124.7 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003747/2.195, allocations: 220.5 kB / 0.7133 GB, free: 124.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.404/6.599, allocations: 8.094 kB / 0.7133 GB, free: 124.4 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat does not exist to compare? outputFormat=mat