Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.7/1.7, allocations: 171.2 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004974, allocations: 8 kB / 233.4 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08773/0.08827, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3627/0.451, allocations: 81.05 MB / 353.2 MB, free: 8.07 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.4514, allocations: 88.27 kB / 353.3 MB, free: 8.023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2555/0.7069, allocations: 57.7 MB / 411 MB, free: 4.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.707, allocations: 0 / 411 MB, free: 4.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001463/0.7071, allocations: 44 kB / 411 MB, free: 4.035 MB / 330.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.01108/0.7182, allocations: 2.763 MB / 413.8 MB, free: 1.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.7183, allocations: 11.97 kB / 413.8 MB, free: 1.203 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002229/0.7205, allocations: 490.2 kB / 414.3 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/0.7356, allocations: 1.923 MB / 416.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01415/0.7498, allocations: 3.408 MB / 419.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000262/0.7501, allocations: 196.7 kB / 419.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001621/0.7517, allocations: 247.8 kB / 420 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01985/0.7716, allocations: 6.838 MB / 426.9 MB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001522/0.7719, allocations: 35.69 kB / 426.9 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008338/0.7727, allocations: 123.9 kB / 427 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/0.7744, allocations: 0.7267 MB / 427.8 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2461/1.021, allocations: 5.978 MB / 433.7 MB, free: 80.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04471/1.065, allocations: 31.13 MB / 464.9 MB, free: 61.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009918/1.075, allocations: 2.622 MB / 467.5 MB, free: 60.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01749/1.093, allocations: 5.133 MB / 472.6 MB, free: 59.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/1.093, allocations: 47.66 kB / 472.7 MB, free: 59.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=97): time 5.801e-06/1.093, allocations: 3.438 kB / 472.7 MB, free: 59.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=105): time 0.05296/1.146, allocations: 9.803 MB / 482.5 MB, free: 55.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/1.146, allocations: 143.5 kB / 482.6 MB, free: 55.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00797/1.154, allocations: 2.422 MB / 485 MB, free: 54.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003155/1.154, allocations: 40.83 kB / 485.1 MB, free: 54.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001808/1.156, allocations: 2.045 MB / 487.1 MB, free: 52.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007346/1.157, allocations: 430 kB / 487.5 MB, free: 52.35 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004692/1.158, allocations: 78.97 kB / 487.6 MB, free: 52.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002653/1.158, allocations: 485.3 kB / 488.1 MB, free: 51.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003891/1.162, allocations: 1.444 MB / 489.5 MB, free: 51.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005565/1.167, allocations: 4.024 MB / 493.6 MB, free: 47.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005681/1.173, allocations: 2.345 MB / 495.9 MB, free: 46.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.127e-05/1.173, allocations: 27.94 kB / 495.9 MB, free: 46.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.01736/1.191, allocations: 5.984 MB / 0.4902 GB, free: 44.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/1.191, allocations: 41.44 kB / 0.4902 GB, free: 44.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/1.191, allocations: 92.31 kB / 0.4903 GB, free: 44.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003998/1.195, allocations: 0.8303 MB / 0.4911 GB, free: 44.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005539/1.2, allocations: 0.9439 MB / 0.492 GB, free: 44.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00854/1.209, allocations: 4.388 MB / 0.4963 GB, free: 41.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004962/1.214, allocations: 278.5 kB / 0.4966 GB, free: 41.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009453/1.215, allocations: 262.2 kB / 0.4968 GB, free: 40.88 MB / 346.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.003371/1.218, allocations: 1.359 MB / 0.4981 GB, free: 39.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006008/1.219, allocations: 225.1 kB / 0.4984 GB, free: 39.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007021/1.226, allocations: 2.132 MB / 0.5004 GB, free: 37.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.181e-05/1.226, allocations: 12 kB / 0.5005 GB, free: 37.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/1.226, allocations: 4 kB / 0.5005 GB, free: 37.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/1.226, allocations: 7.375 kB / 0.5005 GB, free: 37.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/1.242, allocations: 5.086 MB / 0.5054 GB, free: 33.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/1.242, allocations: 5.75 kB / 0.5054 GB, free: 33.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/1.243, allocations: 147.9 kB / 0.5056 GB, free: 33.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003684/1.247, allocations: 0.6704 MB / 0.5062 GB, free: 33.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002733/1.247, allocations: 19.28 kB / 0.5062 GB, free: 33.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007622/1.255, allocations: 3.939 MB / 0.5101 GB, free: 29.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/1.255, allocations: 3.625 kB / 0.5101 GB, free: 29.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/1.265, allocations: 4.157 MB / 0.5142 GB, free: 26.19 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.266, allocations: 459.2 kB / 0.5146 GB, free: 25.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004766/1.267, allocations: 15.8 kB / 0.5146 GB, free: 25.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/1.269, allocations: 82 kB / 0.5147 GB, free: 25.69 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/1.269, allocations: 60.59 kB / 0.5147 GB, free: 25.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.269, allocations: 33.41 kB / 0.5148 GB, free: 25.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004182/1.274, allocations: 1.696 MB / 0.5164 GB, free: 24.22 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.71e-07/1.274, allocations: 0 / 0.5164 GB, free: 24.22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004662/1.278, allocations: 0.6729 MB / 0.5171 GB, free: 23.56 MB / 346.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.0106/1.289, allocations: 5.104 MB / 0.5221 GB, free: 18.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008172/1.297, allocations: 3.465 MB / 0.5255 GB, free: 14.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.297, allocations: 0 / 0.5255 GB, free: 14.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002109/1.299, allocations: 1.044 MB / 0.5265 GB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/1.301, allocations: 242.7 kB / 0.5267 GB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2998/1.601, allocations: 84.24 MB / 0.609 GB, free: 43.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003258/1.605, allocations: 2.282 MB / 0.6112 GB, free: 42.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005385/1.61, allocations: 1.315 MB / 0.6125 GB, free: 42.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002329/1.612, allocations: 1.092 MB / 0.6136 GB, free: 42.91 MB / 362.7 MB Notification: Performance of SimCode: time 2.544e-06/1.612, allocations: 0 / 0.6136 GB, free: 42.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1364/1.749, allocations: 48.89 MB / 0.6613 GB, free: 21.47 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003798/1.749, allocations: 230 kB / 0.6615 GB, free: 21.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.14/5.889, allocations: 0 / 0.6615 GB, free: 21.23 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat does not exist to compare? outputFormat=mat