Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001448, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 92.69 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.279e-05, allocations: 4 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3804, allocations: 47.56 MB / 362.3 MB, free: 45.87 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.5226, allocations: 86.49 MB / 448.8 MB, free: 15.81 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/0.5229, allocations: 87.94 kB / 448.9 MB, free: 15.73 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.284/0.807, allocations: 59.44 MB / 0.4964 GB, free: 3.938 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.8071, allocations: 0 / 0.4964 GB, free: 3.938 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0001715/0.8073, allocations: 48 kB / 0.4965 GB, free: 3.891 MB / 395.1 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.02845/0.8357, allocations: 3.453 MB / 0.4999 GB, free: 388 kB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.8358, allocations: 8.031 kB / 0.4999 GB, free: 380 kB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3131/1.149, allocations: 2.347 MB / 0.5022 GB, free: 99.8 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02053/1.17, allocations: 4.861 MB / 0.5069 GB, free: 99.54 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/1.17, allocations: 73 kB / 0.507 GB, free: 99.54 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/1.171, allocations: 142.9 kB / 0.5071 GB, free: 99.53 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01299/1.184, allocations: 5.535 MB / 0.5125 GB, free: 99.51 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/1.201, allocations: 7.82 MB / 0.5202 GB, free: 97.3 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001797/1.201, allocations: 56.69 kB / 0.5202 GB, free: 97.3 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001073/1.202, allocations: 24.47 kB / 0.5202 GB, free: 97.3 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001747/1.204, allocations: 0.7268 MB / 0.5209 GB, free: 97.3 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05089/1.255, allocations: 36.67 MB / 0.5568 GB, free: 69.8 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00607/1.261, allocations: 3.155 MB / 0.5598 GB, free: 68.16 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004373/1.266, allocations: 2.167 MB / 0.5619 GB, free: 67.3 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/1.266, allocations: 10.06 kB / 0.562 GB, free: 67.3 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/1.266, allocations: 57.42 kB / 0.562 GB, free: 67.25 MB / 395.1 MB Notification: Performance of pre-optimization done (n=122): time 5.46e-06/1.266, allocations: 0 / 0.562 GB, free: 67.25 MB / 395.1 MB Notification: Performance of matching and sorting (n=136): time 0.05373/1.32, allocations: 13.56 MB / 0.5753 GB, free: 59.91 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/1.32, allocations: 167.7 kB / 0.5754 GB, free: 59.71 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004628/1.324, allocations: 2.318 MB / 0.5777 GB, free: 57.66 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005894/1.325, allocations: 25.7 kB / 0.5777 GB, free: 57.63 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001704/1.327, allocations: 2.127 MB / 0.5798 GB, free: 55.66 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/1.328, allocations: 0.5531 MB / 0.5803 GB, free: 55.17 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007079/1.329, allocations: 4 kB / 0.5803 GB, free: 55.17 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0003702/1.329, allocations: 0.5219 MB / 0.5808 GB, free: 54.7 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005128/1.334, allocations: 2.244 MB / 0.583 GB, free: 52.73 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007307/1.342, allocations: 5.229 MB / 0.5881 GB, free: 46.35 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007524/1.349, allocations: 3.342 MB / 0.5914 GB, free: 43.54 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/1.349, allocations: 33.12 kB / 0.5914 GB, free: 43.5 MB / 395.1 MB Notification: Performance of matching and sorting (n=651) (initialization): time 0.03248/1.382, allocations: 8.66 MB / 0.5999 GB, free: 35.07 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.299e-05/1.382, allocations: 52 kB / 0.5999 GB, free: 35.02 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02003/1.402, allocations: 4.601 MB / 0.6044 GB, free: 30.39 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01613/1.418, allocations: 2.324 MB / 0.6067 GB, free: 28.04 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008038/1.426, allocations: 1.205 MB / 0.6079 GB, free: 26.84 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/1.438, allocations: 7.832 MB / 0.6155 GB, free: 18.56 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008289/1.446, allocations: 487 kB / 0.616 GB, free: 18.09 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/1.448, allocations: 319.9 kB / 0.6163 GB, free: 17.77 MB / 395.1 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.001621/1.449, allocations: 368 kB / 0.6166 GB, free: 17.41 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007993/1.45, allocations: 240.8 kB / 0.6169 GB, free: 17.17 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/1.452, allocations: 391.8 kB / 0.6172 GB, free: 16.78 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01946/1.471, allocations: 4.516 MB / 0.6217 GB, free: 12.23 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.743e-05/1.471, allocations: 8 kB / 0.6217 GB, free: 12.22 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.222e-05/1.471, allocations: 3.984 kB / 0.6217 GB, free: 12.22 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/1.485, allocations: 5.004 MB / 0.6266 GB, free: 7.184 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/1.486, allocations: 4 kB / 0.6266 GB, free: 7.18 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003112/1.489, allocations: 279.5 kB / 0.6268 GB, free: 6.906 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01555/1.504, allocations: 2.335 MB / 0.6291 GB, free: 4.543 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006947/1.505, allocations: 31.95 kB / 0.6291 GB, free: 4.512 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/1.52, allocations: 8.609 MB / 0.6375 GB, free: 11.46 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003042/1.523, allocations: 2.778 MB / 0.6403 GB, free: 8.441 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0295/1.553, allocations: 7.99 MB / 0.6481 GB, free: 376 kB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/1.554, allocations: 321.7 kB / 0.6484 GB, free: 32 kB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/1.555, allocations: 15.98 kB / 0.6484 GB, free: 16 kB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004455/1.559, allocations: 247.5 kB / 0.6486 GB, free: 15.77 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008634/1.56, allocations: 107.8 kB / 0.6487 GB, free: 15.67 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003334/1.561, allocations: 40.91 kB / 0.6488 GB, free: 15.63 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.004319/1.565, allocations: 1.538 MB / 0.6503 GB, free: 14.08 MB / 427.1 MB Notification: Performance of sort global known variables: time 1.113e-06/1.565, allocations: 0 / 0.6503 GB, free: 14.08 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.007146/1.572, allocations: 0.8683 MB / 0.6511 GB, free: 13.22 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET7074595209.x[3],$STATESET7074595209.x[2],$STATESET7074595209.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],$STATESET7074595208.x[3],$STATESET7074595208.x[2],$STATESET7074595208.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.001004/1.573, allocations: 165.3 kB / 0.6513 GB, free: 13.06 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.01929/1.592, allocations: 6.492 MB / 0.6576 GB, free: 6.461 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.593, allocations: 0 / 0.6576 GB, free: 6.461 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01161/1.604, allocations: 3.343 MB / 0.6609 GB, free: 2.984 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/1.607, allocations: 245.6 kB / 0.6611 GB, free: 2.75 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3034/1.91, allocations: 7.638 MB / 0.6686 GB, free: 115.2 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005521/1.916, allocations: 2.357 MB / 0.6709 GB, free: 114.5 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/1.918, allocations: 225.1 kB / 0.6711 GB, free: 114.5 MB / 427.1 MB Notification: Performance of SimCode: time 1.463e-06/1.918, allocations: 0.875 kB / 0.6711 GB, free: 114.5 MB / 427.1 MB Notification: Performance of Templates: time 0.2129/2.131, allocations: 131.3 MB / 0.7993 GB, free: 19.36 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches