Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 181.8 kB / 8.134 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.179/1.179, allocations: 221.4 MB / 229.9 MB, free: 3.066 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009124/0.0009123, allocations: 98.19 kB / 280.8 MB, free: 1.336 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.172e-06/6.292e-06, allocations: 0 / 336.5 MB, free: 9.566 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.265, allocations: 50.4 MB / 386.9 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.374, allocations: 87.73 MB / 474.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.3743, allocations: 90.48 kB / 474.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3519/0.7262, allocations: 58.88 MB / 0.5211 GB, free: 87.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001336/0.7264, allocations: 47.94 kB / 0.5212 GB, free: 87.26 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: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.0153/0.7417, allocations: 3.202 MB / 0.5243 GB, free: 84.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.7418, allocations: 8.031 kB / 0.5243 GB, free: 84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009358/0.7511, allocations: 1.825 MB / 0.5261 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/0.7624, allocations: 4.521 MB / 0.5305 GB, free: 77.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.7627, allocations: 72 kB / 0.5306 GB, free: 77.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001355/0.764, allocations: 139.9 kB / 0.5307 GB, free: 77.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006831/0.7709, allocations: 4.193 MB / 0.5348 GB, free: 73.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.7823, allocations: 6.447 MB / 0.5411 GB, free: 65.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/0.7825, allocations: 47.62 kB / 0.5411 GB, free: 65.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003621/0.7829, allocations: 28 kB / 0.5411 GB, free: 65.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001006/0.7839, allocations: 0.7842 MB / 0.5419 GB, free: 65.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02739/0.8113, allocations: 33.43 MB / 0.5746 GB, free: 30.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.8138, allocations: 2.268 MB / 0.5768 GB, free: 28.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.8151, allocations: 1.348 MB / 0.5781 GB, free: 26.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009645/0.8161, allocations: 0.6428 MB / 0.5787 GB, free: 26.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.8161, allocations: 42.56 kB / 0.5788 GB, free: 26.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 6.633e-06/0.8162, allocations: 7.875 kB / 0.5788 GB, free: 26.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=136): time 0.05093/0.8671, allocations: 22.74 MB / 0.601 GB, free: 3.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.8672, allocations: 170.8 kB / 0.6011 GB, free: 3.012 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003211/0.8704, allocations: 2.327 MB / 0.6034 GB, free: 0.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004553/0.8709, allocations: 25.7 kB / 0.6034 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.8721, allocations: 1.989 MB / 0.6054 GB, free: 14.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008744/0.873, allocations: 0.5593 MB / 0.6059 GB, free: 14.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.8732, allocations: 0 / 0.6059 GB, free: 14.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003395/0.8736, allocations: 0.5089 MB / 0.6064 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003112/0.8767, allocations: 2.091 MB / 0.6085 GB, free: 11.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005352/0.8821, allocations: 5.077 MB / 0.6134 GB, free: 4.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01673/0.8988, allocations: 6.997 MB / 0.6203 GB, free: 13.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-05/0.8989, allocations: 28 kB / 0.6203 GB, free: 13.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=651) (initialization): time 0.03246/0.9314, allocations: 11.9 MB / 0.6319 GB, free: 1.883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.9315, allocations: 16.14 kB / 0.6319 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02251/0.954, allocations: 7.73 MB / 0.6395 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009052/0.9631, allocations: 2.051 MB / 0.6415 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004438/0.9676, allocations: 1.138 MB / 0.6426 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1836/1.151, allocations: 7.65 MB / 0.6501 GB, free: 149.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005592/1.157, allocations: 352.3 kB / 0.6504 GB, free: 149.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009812/1.158, allocations: 315.9 kB / 0.6507 GB, free: 149.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 490 * Number of states: 0 () * Number of discrete variables: 18 (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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 584 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008012/1.159, allocations: 373.4 kB / 0.6511 GB, free: 149.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005164/1.159, allocations: 238.2 kB / 0.6513 GB, free: 149.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006771/1.16, allocations: 346.6 kB / 0.6516 GB, free: 149.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01986/1.18, allocations: 7.589 MB / 0.659 GB, free: 149.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.031e-05/1.18, allocations: 10.38 kB / 0.659 GB, free: 149.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.663e-05/1.18, allocations: 6.844 kB / 0.659 GB, free: 149.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007973/1.188, allocations: 4.649 MB / 0.6636 GB, free: 149.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.188, allocations: 0 / 0.6636 GB, free: 149.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/1.189, allocations: 222.3 kB / 0.6638 GB, free: 149.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007859/1.197, allocations: 2.052 MB / 0.6658 GB, free: 149.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004566/1.197, allocations: 41.81 kB / 0.6658 GB, free: 149.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007537/1.205, allocations: 8.42 MB / 0.6741 GB, free: 144.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001353/1.206, allocations: 2.711 MB / 0.6767 GB, free: 141.8 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02386/1.23, allocations: 10.86 MB / 0.6873 GB, free: 141.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009634/1.231, allocations: 311 kB / 0.6876 GB, free: 141 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004596/1.232, allocations: 23.98 kB / 0.6876 GB, free: 141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.234, allocations: 131 kB / 0.6878 GB, free: 141 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/1.234, allocations: 67.22 kB / 0.6878 GB, free: 141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/1.234, allocations: 53.33 kB / 0.6879 GB, free: 141 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003208/1.237, allocations: 1.55 MB / 0.6894 GB, free: 140.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005969/1.243, allocations: 0.8422 MB / 0.6902 GB, free: 140.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET140035375962520.x[3],$STATESET140035375962520.x[2],$STATESET140035375962520.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET140035375962519.x[3],$STATESET140035375962519.x[2],$STATESET140035375962519.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005681/1.244, allocations: 167.8 kB / 0.6904 GB, free: 140.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01062/1.254, allocations: 6.113 MB / 0.6963 GB, free: 138.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.254, allocations: 0 / 0.6963 GB, free: 138.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005218/1.26, allocations: 2.967 MB / 0.6992 GB, free: 137.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/1.261, allocations: 237 kB / 0.6995 GB, free: 137.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/1.273, allocations: 6.806 MB / 0.7061 GB, free: 132.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002704/1.276, allocations: 2.557 MB / 0.7086 GB, free: 130.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/1.276, allocations: 0 / 0.7086 GB, free: 130.1 MB / 426.7 MB Notification: Performance of Templates: time 0.05629/1.332, allocations: 35.76 MB / 0.7435 GB, free: 98.36 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches