Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009923/0.0009924, allocations: 174.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.6 MB / 223.7 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007452/0.0007454, allocations: 94.34 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000244/0.000244, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2683, allocations: 47.58 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.0146/0.283, allocations: 16.39 MB / 393 MB, free: 32.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.2936, allocations: 7.664 MB / 400.7 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00256/0.2962, allocations: 75.81 kB / 400.7 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006365/0.2969, allocations: 278.7 kB / 401 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.2993, allocations: 1.258 MB / 402.3 MB, free: 22.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009729/0.3002, allocations: 0.5029 MB / 402.8 MB, free: 21.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002989/0.3032, allocations: 3.577 MB / 406.4 MB, free: 18.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002121/0.3054, allocations: 1.959 MB / 408.3 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.3065, allocations: 0.7742 MB / 409.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.3076, allocations: 1.168 MB / 410.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002538/0.3079, allocations: 84 kB / 410.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.3094, allocations: 0.8696 MB / 411.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007256/0.3101, allocations: 0.997 MB / 412.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008157/0.3109, allocations: 1.212 MB / 413.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.3141, allocations: 3.847 MB / 417.3 MB, free: 6.996 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3141, allocations: 4 kB / 417.3 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3141, allocations: 3.938 kB / 417.3 MB, free: 6.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.186e-05/0.3142, allocations: 0 / 417.3 MB, free: 6.988 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.004057/0.3183, allocations: 2.497 MB / 419.8 MB, free: 4.434 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3184, allocations: 16.02 kB / 419.8 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004891/0.3232, allocations: 1.608 MB / 421.4 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/0.3262, allocations: 1.446 MB / 422.8 MB, free: 1.312 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/0.3263, allocations: 127 kB / 423 MB, free: 1.188 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002868/0.3266, allocations: 163.8 kB / 423.1 MB, free: 1.027 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008983/0.3356, allocations: 6.526 MB / 429.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-05/0.3357, allocations: 27.72 kB / 429.7 MB, free: 9.988 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/0.3359, allocations: 87.83 kB / 429.8 MB, free: 9.902 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002193/0.3381, allocations: 1.464 MB / 431.2 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009867/0.348, allocations: 5.818 MB / 437 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0289/0.3769, allocations: 25.79 MB / 462.8 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005367/0.3823, allocations: 2.572 MB / 465.4 MB, free: 5.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.384, allocations: 1.214 MB / 466.6 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007949/0.3919, allocations: 4.811 MB / 471.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.392, allocations: 42.5 kB / 471.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=97): time 3.657e-06/0.392, allocations: 0 / 471.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=105): time 0.02243/0.4144, allocations: 9.756 MB / 481.2 MB, free: 5.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.4146, allocations: 137 kB / 481.4 MB, free: 5.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003494/0.4181, allocations: 2.71 MB / 484.1 MB, free: 2.359 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.4182, allocations: 37.7 kB / 484.1 MB, free: 2.316 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.4195, allocations: 2.044 MB / 486.1 MB, free: 248 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000379/0.4199, allocations: 434.8 kB / 486.6 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.42, allocations: 80 kB / 486.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002486/0.4203, allocations: 487 kB / 487.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/0.4221, allocations: 1.429 MB / 488.6 MB, free: 13.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003638/0.4258, allocations: 4.061 MB / 492.6 MB, free: 8.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006814/0.4326, allocations: 5.938 MB / 498.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.764e-05/0.4327, allocations: 27.94 kB / 498.6 MB, free: 1.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01104/0.4438, allocations: 5.995 MB / 0.4927 GB, free: 11.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7e-05/0.4439, allocations: 47.94 kB / 0.4928 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/0.444, allocations: 92 kB / 0.4929 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/0.4464, allocations: 0.8162 MB / 0.4937 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/0.4493, allocations: 0.9514 MB / 0.4946 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005609/0.455, allocations: 4.348 MB / 0.4989 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/0.458, allocations: 239.6 kB / 0.4991 GB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003494/0.4584, allocations: 260 kB / 0.4993 GB, free: 4.258 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (502): * Single equations (assignments): 498 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002009/0.4604, allocations: 1.372 MB / 0.5007 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003083/0.4607, allocations: 225.1 kB / 0.5009 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004168/0.4649, allocations: 2.126 MB / 0.503 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.584e-05/0.465, allocations: 15.98 kB / 0.503 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.465, allocations: 7.938 kB / 0.503 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.465, allocations: 3.984 kB / 0.503 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2102/0.6752, allocations: 5.068 MB / 0.5079 GB, free: 121.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/0.6753, allocations: 1.938 kB / 0.5079 GB, free: 121.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.6763, allocations: 162 kB / 0.5081 GB, free: 121.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002188/0.6785, allocations: 0.6764 MB / 0.5088 GB, free: 121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.6786, allocations: 19.28 kB / 0.5088 GB, free: 121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005177/0.6838, allocations: 3.889 MB / 0.5126 GB, free: 119 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.6839, allocations: 8.812 kB / 0.5126 GB, free: 119 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006682/0.6905, allocations: 4.048 MB / 0.5165 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.6918, allocations: 456.5 kB / 0.517 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/0.6921, allocations: 18 kB / 0.517 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009303/0.693, allocations: 70.8 kB / 0.5171 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/0.6933, allocations: 61.52 kB / 0.5171 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.398e-05/0.6933, allocations: 27.38 kB / 0.5171 GB, free: 117.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002561/0.6959, allocations: 1.685 MB / 0.5188 GB, free: 116.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6959, allocations: 0 / 0.5188 GB, free: 116.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003178/0.6991, allocations: 0.6741 MB / 0.5194 GB, free: 116.5 MB / 394.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004823/0.6996, allocations: 202.9 kB / 0.5196 GB, free: 116.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004741/0.7044, allocations: 3.461 MB / 0.523 GB, free: 114.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.7044, allocations: 3.156 kB / 0.523 GB, free: 114.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.7055, allocations: 1.031 MB / 0.524 GB, free: 113.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.7074, allocations: 245.2 kB / 0.5243 GB, free: 113.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009599/0.7171, allocations: 6.95 MB / 0.531 GB, free: 106.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001711/0.7188, allocations: 2.244 MB / 0.5332 GB, free: 104 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00299/0.7218, allocations: 1.318 MB / 0.5345 GB, free: 102.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/0.7223, allocations: 163.4 kB / 0.5347 GB, free: 102.5 MB / 394.7 MB Notification: Performance of SimCode: time 7.32e-07/0.7223, allocations: 0 / 0.5347 GB, free: 102.5 MB / 394.7 MB Notification: Performance of Templates: time 0.03959/0.7619, allocations: 22.73 MB / 0.5569 GB, free: 79.9 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches