Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009682/0.0009683, allocations: 179.2 kB / 8.474 MB, free: 1.867 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.2 MB / 214.1 MB, free: 1.902 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008823/0.0008823, allocations: 95.33 kB / 262.1 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.504e-06, allocations: 4 kB / 315 MB, free: 23.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08678/0.0868, allocations: 47.58 MB / 362.6 MB, free: 7.387 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2763/0.3632, allocations: 86.68 MB / 449.2 MB, free: 9.219 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.3634, allocations: 83.95 kB / 449.3 MB, free: 9.176 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1794/0.5429, allocations: 58.29 MB / 0.4957 GB, free: 4.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.07e-05/0.543, allocations: 48 kB / 0.4958 GB, free: 4.484 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.01593/0.5589, allocations: 3.202 MB / 0.4989 GB, free: 1.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.559, allocations: 15.97 kB / 0.4989 GB, free: 1.207 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009983/0.569, allocations: 1.825 MB / 0.5007 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.5826, allocations: 4.817 MB / 0.5054 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.5828, allocations: 79.91 kB / 0.5055 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/0.584, allocations: 135.9 kB / 0.5056 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007225/0.5913, allocations: 4.189 MB / 0.5097 GB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00991/0.6012, allocations: 6.446 MB / 0.516 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.6014, allocations: 55.47 kB / 0.516 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003428/0.6017, allocations: 24 kB / 0.5161 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001041/0.6028, allocations: 0.7803 MB / 0.5168 GB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1524/0.7552, allocations: 33.48 MB / 0.5495 GB, free: 131.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/0.7575, allocations: 2.261 MB / 0.5517 GB, free: 130.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.7587, allocations: 1.349 MB / 0.553 GB, free: 130.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008902/0.7596, allocations: 0.6345 MB / 0.5537 GB, free: 130.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.7597, allocations: 47.16 kB / 0.5537 GB, free: 130.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.426e-06/0.7597, allocations: 3.625 kB / 0.5537 GB, free: 130.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.05049/0.8102, allocations: 22.86 MB / 0.576 GB, free: 127.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.8103, allocations: 172.5 kB / 0.5762 GB, free: 126.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/0.8133, allocations: 2.353 MB / 0.5785 GB, free: 126.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002786/0.8136, allocations: 25.7 kB / 0.5785 GB, free: 126 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008405/0.8144, allocations: 1.997 MB / 0.5805 GB, free: 124.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005081/0.8149, allocations: 0.556 MB / 0.581 GB, free: 124.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.8151, allocations: 0 / 0.581 GB, free: 124.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.8153, allocations: 0.5106 MB / 0.5815 GB, free: 123.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002748/0.8181, allocations: 2.085 MB / 0.5835 GB, free: 123.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004023/0.8221, allocations: 5.082 MB / 0.5885 GB, free: 118.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/0.8373, allocations: 7.003 MB / 0.5953 GB, free: 113.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.969e-05/0.8374, allocations: 32 kB / 0.5954 GB, free: 113.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=651) (initialization): time 0.02971/0.8671, allocations: 11.9 MB / 0.607 GB, free: 104.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.8671, allocations: 8 kB / 0.607 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02069/0.8878, allocations: 7.739 MB / 0.6146 GB, free: 98.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008903/0.8968, allocations: 2.052 MB / 0.6166 GB, free: 96.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004036/0.9008, allocations: 1.146 MB / 0.6177 GB, free: 95.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006188/0.9071, allocations: 7.646 MB / 0.6252 GB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005451/0.9125, allocations: 351.4 kB / 0.6255 GB, free: 86.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/0.9137, allocations: 323.9 kB / 0.6258 GB, free: 86.64 MB / 410.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.0008088/0.9145, allocations: 367.9 kB / 0.6261 GB, free: 86.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005314/0.915, allocations: 236.9 kB / 0.6264 GB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006341/0.9156, allocations: 353.4 kB / 0.6267 GB, free: 85.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01959/0.9352, allocations: 7.597 MB / 0.6341 GB, free: 78.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-05/0.9353, allocations: 7.906 kB / 0.6341 GB, free: 78.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-05/0.9354, allocations: 11.97 kB / 0.6341 GB, free: 78.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007863/0.9432, allocations: 4.64 MB / 0.6387 GB, free: 73.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.9433, allocations: 0 / 0.6387 GB, free: 73.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.9446, allocations: 215.7 kB / 0.6389 GB, free: 73.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007947/0.9525, allocations: 2.066 MB / 0.6409 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004502/0.953, allocations: 35.95 kB / 0.6409 GB, free: 71.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007548/0.9606, allocations: 8.415 MB / 0.6492 GB, free: 62.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001213/0.9618, allocations: 2.707 MB / 0.6518 GB, free: 59.26 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02305/0.9849, allocations: 10.87 MB / 0.6624 GB, free: 48.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.9861, allocations: 309.8 kB / 0.6627 GB, free: 48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006288/0.9868, allocations: 19.98 kB / 0.6627 GB, free: 47.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/0.9886, allocations: 139.1 kB / 0.6629 GB, free: 47.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.9888, allocations: 71.78 kB / 0.6629 GB, free: 47.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/0.989, allocations: 47.97 kB / 0.663 GB, free: 47.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.002262/0.9913, allocations: 1.577 MB / 0.6645 GB, free: 46.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004595/0.9959, allocations: 0.8373 MB / 0.6653 GB, free: 45.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET140008053897624.x[3],$STATESET140008053897624.x[2],$STATESET140008053897624.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],$STATESET140008053897623.x[3],$STATESET140008053897623.x[2],$STATESET140008053897623.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.0005114/0.9964, allocations: 170.3 kB / 0.6655 GB, free: 45.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009257/1.006, allocations: 6.098 MB / 0.6714 GB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/1.006, allocations: 4 kB / 0.6715 GB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004922/1.011, allocations: 2.971 MB / 0.6744 GB, free: 35.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/1.012, allocations: 227.3 kB / 0.6746 GB, free: 35.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/1.024, allocations: 6.831 MB / 0.6812 GB, free: 28.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002819/1.027, allocations: 2.566 MB / 0.6837 GB, free: 26.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.203e-06/1.027, allocations: 0 / 0.6837 GB, free: 26.23 MB / 410.7 MB Notification: Performance of Templates: time 0.2083/1.236, allocations: 35.75 MB / 0.7187 GB, free: 132.6 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches