Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 197.5 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 97.66 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.714e-05/2.715e-05, allocations: 4 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 51.47 MB / 395.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4026/0.5192, allocations: 88.46 MB / 483.6 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.5195, allocations: 80.39 kB / 483.7 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.161/0.6805, allocations: 62.31 MB / 0.5332 GB, free: 11.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.6806, allocations: 0 / 0.5332 GB, free: 11.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001215/0.6807, allocations: 40 kB / 0.5333 GB, free: 11.27 MB / 410.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.01773/0.6984, allocations: 3.647 MB / 0.5368 GB, free: 7.562 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.6985, allocations: 8.031 kB / 0.5368 GB, free: 7.555 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01292/0.7114, allocations: 2.457 MB / 0.5392 GB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0113/0.7228, allocations: 3.945 MB / 0.5431 GB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.723, allocations: 72 kB / 0.5431 GB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/0.7246, allocations: 135.9 kB / 0.5433 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01121/0.7358, allocations: 5.544 MB / 0.5487 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01602/0.7519, allocations: 7.82 MB / 0.5563 GB, free: 2.672 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001722/0.7521, allocations: 47.62 kB / 0.5564 GB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001008/0.7531, allocations: 27.94 kB / 0.5564 GB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001299/0.7544, allocations: 0.7301 MB / 0.5571 GB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3397/1.094, allocations: 36.62 MB / 0.5929 GB, free: 73.53 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003993/1.098, allocations: 3.147 MB / 0.5959 GB, free: 72.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002743/1.101, allocations: 2.163 MB / 0.5981 GB, free: 72.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.711e-05/1.101, allocations: 20.64 kB / 0.5981 GB, free: 72.81 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/1.101, allocations: 43.69 kB / 0.5981 GB, free: 72.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 2.916e-06/1.101, allocations: 0 / 0.5981 GB, free: 72.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=136): time 0.03091/1.132, allocations: 13.46 MB / 0.6113 GB, free: 70.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/1.132, allocations: 174.2 kB / 0.6114 GB, free: 70.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003612/1.136, allocations: 2.285 MB / 0.6137 GB, free: 70 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005913/1.136, allocations: 28.7 kB / 0.6137 GB, free: 69.97 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/1.137, allocations: 2.117 MB / 0.6158 GB, free: 68.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006829/1.138, allocations: 0.549 MB / 0.6163 GB, free: 68.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/1.138, allocations: 6.625 kB / 0.6163 GB, free: 68.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002374/1.139, allocations: 0.515 MB / 0.6168 GB, free: 68.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002664/1.141, allocations: 2.24 MB / 0.619 GB, free: 68.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004195/1.146, allocations: 5.234 MB / 0.6241 GB, free: 63.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005531/1.151, allocations: 3.329 MB / 0.6274 GB, free: 62.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.316e-05/1.151, allocations: 34.7 kB / 0.6274 GB, free: 62.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=651) (initialization): time 0.02141/1.173, allocations: 8.724 MB / 0.6359 GB, free: 60.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/1.173, allocations: 52.97 kB / 0.636 GB, free: 60.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01264/1.185, allocations: 4.604 MB / 0.6405 GB, free: 59.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009405/1.195, allocations: 2.331 MB / 0.6427 GB, free: 58.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004724/1.2, allocations: 1.2 MB / 0.6439 GB, free: 58.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006962/1.207, allocations: 7.832 MB / 0.6516 GB, free: 53.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008118/1.215, allocations: 495.7 kB / 0.652 GB, free: 53.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001931/1.217, allocations: 311 kB / 0.6523 GB, free: 52.97 MB / 442.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.001536/1.218, allocations: 375.9 kB / 0.6527 GB, free: 52.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009083/1.219, allocations: 240.8 kB / 0.6529 GB, free: 52.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/1.22, allocations: 384.2 kB / 0.6533 GB, free: 52.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01453/1.235, allocations: 4.513 MB / 0.6577 GB, free: 51.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.049e-05/1.235, allocations: 2.938 kB / 0.6577 GB, free: 51.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.306e-05/1.235, allocations: 9.375 kB / 0.6577 GB, free: 51.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/1.25, allocations: 5 MB / 0.6626 GB, free: 49.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.68e-05/1.25, allocations: 3.25 kB / 0.6626 GB, free: 49.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/1.253, allocations: 283.7 kB / 0.6629 GB, free: 49.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009347/1.262, allocations: 2.337 MB / 0.6651 GB, free: 48.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005984/1.263, allocations: 37.2 kB / 0.6652 GB, free: 48.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007599/1.27, allocations: 8.609 MB / 0.6736 GB, free: 43.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001353/1.272, allocations: 2.781 MB / 0.6763 GB, free: 40.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/1.287, allocations: 7.979 MB / 0.6841 GB, free: 37.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007945/1.288, allocations: 309.4 kB / 0.6844 GB, free: 37.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008038/1.289, allocations: 19.17 kB / 0.6844 GB, free: 37.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00274/1.291, allocations: 255 kB / 0.6846 GB, free: 37.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005675/1.292, allocations: 99.66 kB / 0.6847 GB, free: 37.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002958/1.292, allocations: 40.83 kB / 0.6848 GB, free: 37.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003757/1.296, allocations: 1.52 MB / 0.6863 GB, free: 36.58 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.296, allocations: 6.812 kB / 0.6863 GB, free: 36.58 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005847/1.302, allocations: 0.8827 MB / 0.6871 GB, free: 35.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.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.0007144/1.303, allocations: 156.8 kB / 0.6873 GB, free: 35.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01053/1.313, allocations: 6.477 MB / 0.6936 GB, free: 29.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.313, allocations: 0 / 0.6936 GB, free: 29.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005497/1.319, allocations: 3.339 MB / 0.6969 GB, free: 26.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/1.321, allocations: 229.9 kB / 0.6971 GB, free: 26.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.335, allocations: 7.327 MB / 0.7042 GB, free: 20.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002718/1.338, allocations: 2.352 MB / 0.7065 GB, free: 18.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004492/1.342, allocations: 1.674 MB / 0.7082 GB, free: 17.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.343, allocations: 182.9 kB / 0.7083 GB, free: 17.44 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/1.343, allocations: 0 / 0.7083 GB, free: 17.44 MB / 442.7 MB Notification: Performance of Templates: time 0.05772/1.401, allocations: 33.13 MB / 0.7407 GB, free: 1.316 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches