Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00154/0.00154, allocations: 202.7 kB / 18.07 MB, free: 3.641 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 226.5 MB / 245.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008752/0.0008752, allocations: 92.84 kB / 297.4 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002683, allocations: 8 kB / 357.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3216, allocations: 51.28 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.4491, allocations: 89.18 MB / 497.8 MB, free: 2.367 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.4495, allocations: 95.89 kB / 497.9 MB, free: 2.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.348/0.7975, allocations: 60.8 MB / 0.5456 GB, free: 65.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.7975, allocations: 0 / 0.5456 GB, free: 65.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001088/0.7977, allocations: 44 kB / 0.5457 GB, free: 65.75 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.01567/0.8133, allocations: 3.771 MB / 0.5494 GB, free: 61.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.8134, allocations: 8.031 kB / 0.5494 GB, free: 61.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.8243, allocations: 2.4 MB / 0.5517 GB, free: 59.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006895/0.8312, allocations: 3.222 MB / 0.5549 GB, free: 56.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.8315, allocations: 168.8 kB / 0.555 GB, free: 56.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/0.8328, allocations: 232.2 kB / 0.5552 GB, free: 55.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/0.8501, allocations: 8.246 MB / 0.5633 GB, free: 46.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001677/0.8503, allocations: 51.47 kB / 0.5633 GB, free: 46.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009848/0.8513, allocations: 119.9 kB / 0.5635 GB, free: 46.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001089/0.8524, allocations: 0.7299 MB / 0.5642 GB, free: 45.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01667/0.8691, allocations: 9.299 MB / 0.5733 GB, free: 36.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03601/0.9051, allocations: 37.75 MB / 0.6101 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.9166, allocations: 4.028 MB / 0.6141 GB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003219/0.9199, allocations: 2.228 MB / 0.6162 GB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.92, allocations: 11.98 kB / 0.6162 GB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.92, allocations: 50.55 kB / 0.6163 GB, free: 7.023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 3.316e-06/0.9201, allocations: 0 / 0.6163 GB, free: 7.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=136): time 0.04884/0.9689, allocations: 17.4 MB / 0.6333 GB, free: 5.336 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002225/0.9712, allocations: 3.059 MB / 0.6363 GB, free: 1.957 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006612/0.9778, allocations: 3.019 MB / 0.6392 GB, free: 14.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006094/0.9784, allocations: 41.7 kB / 0.6393 GB, free: 14.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001935/0.9804, allocations: 2.072 MB / 0.6413 GB, free: 12.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001252/0.9817, allocations: 0.571 MB / 0.6418 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009483/0.9826, allocations: 88 kB / 0.6419 GB, free: 12.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005652/0.9832, allocations: 0.5124 MB / 0.6424 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004807/0.988, allocations: 2.395 MB / 0.6448 GB, free: 9.184 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007349/0.9954, allocations: 5.308 MB / 0.6499 GB, free: 2.418 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/1.007, allocations: 8.079 MB / 0.6578 GB, free: 8.887 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.907e-05/1.007, allocations: 32 kB / 0.6579 GB, free: 8.855 MB / 442.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.3241/1.331, allocations: 9.446 MB / 0.6671 GB, free: 119.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/1.331, allocations: 53.06 kB / 0.6671 GB, free: 119.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01218/1.343, allocations: 4.677 MB / 0.6717 GB, free: 119 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009006/1.352, allocations: 2.348 MB / 0.674 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0048/1.357, allocations: 1.159 MB / 0.6751 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00807/1.365, allocations: 8.147 MB / 0.6831 GB, free: 113.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006218/1.371, allocations: 0.5586 MB / 0.6836 GB, free: 113.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001679/1.373, allocations: 306.8 kB / 0.6839 GB, free: 113.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (578): * Single equations (assignments): 563 * 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.005603/1.379, allocations: 1.407 MB / 0.6853 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001354/1.38, allocations: 256.4 kB / 0.6855 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/1.382, allocations: 417 kB / 0.6859 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0118/1.394, allocations: 4.583 MB / 0.6904 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-05/1.394, allocations: 2.5 kB / 0.6904 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.826e-05/1.394, allocations: 9.812 kB / 0.6904 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/1.407, allocations: 5.335 MB / 0.6956 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.652e-05/1.407, allocations: 2.781 kB / 0.6956 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/1.408, allocations: 280.1 kB / 0.6959 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008155/1.417, allocations: 2.376 MB / 0.6982 GB, free: 112 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007269/1.417, allocations: 41.66 kB / 0.6983 GB, free: 112 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008761/1.426, allocations: 8.842 MB / 0.7069 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001633/1.428, allocations: 2.893 MB / 0.7097 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/1.445, allocations: 8.064 MB / 0.7176 GB, free: 100.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.446, allocations: 336.8 kB / 0.7179 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001265/1.448, allocations: 34.66 kB / 0.718 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/1.45, allocations: 271.6 kB / 0.7182 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000767/1.451, allocations: 102.7 kB / 0.7183 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004169/1.452, allocations: 44.83 kB / 0.7184 GB, free: 100.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004502/1.456, allocations: 1.9 MB / 0.7202 GB, free: 99.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.31e-07/1.456, allocations: 4 kB / 0.7202 GB, free: 99.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006452/1.463, allocations: 0.9417 MB / 0.7211 GB, free: 98.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.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],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 () * Number of clocked 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.0009981/1.464, allocations: 190.8 kB / 0.7213 GB, free: 98.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01188/1.476, allocations: 6.814 MB / 0.728 GB, free: 92.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.476, allocations: 7.828 kB / 0.728 GB, free: 92.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005608/1.481, allocations: 3.415 MB / 0.7313 GB, free: 89.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/1.484, allocations: 300.3 kB / 0.7316 GB, free: 89.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/1.504, allocations: 9.847 MB / 0.7412 GB, free: 80.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/1.506, allocations: 2.292 MB / 0.7435 GB, free: 77.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.507, allocations: 227.3 kB / 0.7437 GB, free: 77.52 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/1.507, allocations: 0 / 0.7437 GB, free: 77.52 MB / 442.7 MB Notification: Performance of Templates: time 0.3779/1.885, allocations: 139.5 MB / 0.8799 GB, free: 113.7 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches