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.000931/0.0009311, allocations: 181.3 kB / 17.41 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.4 MB / 223.6 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008504/0.0008504, allocations: 91.33 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002974, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2283, allocations: 47.57 MB / 375.7 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.3348, allocations: 87.35 MB / 463.1 MB, free: 9.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.3351, allocations: 87.95 kB / 463.2 MB, free: 9.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.323/0.6582, allocations: 59.01 MB / 0.5099 GB, free: 93.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6582, allocations: 4 kB / 0.5099 GB, free: 93.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.969e-05/0.6583, allocations: 40.53 kB / 0.51 GB, free: 93.78 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.01435/0.6727, allocations: 3.588 MB / 0.5135 GB, free: 92.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.6727, allocations: 10.66 kB / 0.5135 GB, free: 92.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/0.6833, allocations: 2.284 MB / 0.5157 GB, free: 92.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007548/0.6909, allocations: 3.689 MB / 0.5193 GB, free: 91.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.6911, allocations: 173.9 kB / 0.5195 GB, free: 91.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001423/0.6926, allocations: 238 kB / 0.5197 GB, free: 91.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01551/0.7081, allocations: 8.241 MB / 0.5278 GB, free: 86.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/0.7082, allocations: 55.41 kB / 0.5278 GB, free: 86.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005076/0.7088, allocations: 122.4 kB / 0.5279 GB, free: 86.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008796/0.7097, allocations: 0.7337 MB / 0.5287 GB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/0.7254, allocations: 9.299 MB / 0.5377 GB, free: 76.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03117/0.7566, allocations: 37.79 MB / 0.5746 GB, free: 37.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.7672, allocations: 4.036 MB / 0.5786 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002816/0.77, allocations: 2.214 MB / 0.5808 GB, free: 31.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.653e-05/0.7702, allocations: 14.95 kB / 0.5808 GB, free: 31.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.7702, allocations: 46.5 kB / 0.5808 GB, free: 31.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 3.997e-06/0.7702, allocations: 4 kB / 0.5808 GB, free: 31.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=136): time 0.04195/0.8122, allocations: 17.52 MB / 0.5979 GB, free: 13.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001584/0.8138, allocations: 3.058 MB / 0.6009 GB, free: 9.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/0.818, allocations: 3.035 MB / 0.6039 GB, free: 6.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005163/0.8185, allocations: 41.7 kB / 0.6039 GB, free: 6.805 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.8195, allocations: 2.089 MB / 0.606 GB, free: 4.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008256/0.8204, allocations: 0.5624 MB / 0.6065 GB, free: 4.164 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/0.8207, allocations: 95.59 kB / 0.6066 GB, free: 4.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.8209, allocations: 0.5085 MB / 0.6071 GB, free: 3.559 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003288/0.8242, allocations: 2.395 MB / 0.6094 GB, free: 1.156 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005805/0.83, allocations: 5.302 MB / 0.6146 GB, free: 10.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/0.8407, allocations: 8.089 MB / 0.6225 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.765e-05/0.8408, allocations: 35.94 kB / 0.6225 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.02337/0.8642, allocations: 9.468 MB / 0.6318 GB, free: 7.328 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.8644, allocations: 53.88 kB / 0.6318 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01261/0.877, allocations: 4.673 MB / 0.6364 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008951/0.886, allocations: 2.339 MB / 0.6387 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004627/0.8907, allocations: 1.17 MB / 0.6398 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008906/0.8996, allocations: 8.128 MB / 0.6478 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005593/0.9052, allocations: 0.5688 MB / 0.6483 GB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001406/0.9067, allocations: 304 kB / 0.6486 GB, free: 5.531 MB / 426.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.004211/0.9109, allocations: 1.411 MB / 0.65 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/0.9119, allocations: 252.7 kB / 0.6502 GB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.9135, allocations: 419.4 kB / 0.6506 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1956/1.109, allocations: 4.581 MB / 0.6551 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-05/1.109, allocations: 11.81 kB / 0.6551 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-05/1.109, allocations: 3.797 kB / 0.6551 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00867/1.118, allocations: 5.333 MB / 0.6603 GB, free: 125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/1.118, allocations: 2 kB / 0.6603 GB, free: 125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/1.119, allocations: 281.6 kB / 0.6606 GB, free: 125 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008138/1.128, allocations: 2.373 MB / 0.6629 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003538/1.128, allocations: 43.08 kB / 0.663 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008068/1.136, allocations: 8.844 MB / 0.6716 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001345/1.137, allocations: 2.9 MB / 0.6744 GB, free: 117.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/1.152, allocations: 8.049 MB / 0.6823 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008927/1.152, allocations: 336.1 kB / 0.6826 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007303/1.153, allocations: 34.91 kB / 0.6826 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/1.155, allocations: 267.4 kB / 0.6829 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004618/1.156, allocations: 111.8 kB / 0.683 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/1.156, allocations: 36.47 kB / 0.683 GB, free: 115.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003095/1.159, allocations: 1.923 MB / 0.6849 GB, free: 115 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.159, allocations: 0 / 0.6849 GB, free: 115 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003988/1.163, allocations: 0.9461 MB / 0.6858 GB, free: 114.9 MB / 426.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.000479/1.164, allocations: 175.3 kB / 0.686 GB, free: 114.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009998/1.174, allocations: 6.816 MB / 0.6927 GB, free: 112.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.174, allocations: 0 / 0.6927 GB, free: 112.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005385/1.179, allocations: 3.435 MB / 0.696 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/1.182, allocations: 293.3 kB / 0.6963 GB, free: 110.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/1.197, allocations: 9.872 MB / 0.7059 GB, free: 105 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/1.198, allocations: 2.304 MB / 0.7082 GB, free: 103.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.2, allocations: 228.5 kB / 0.7084 GB, free: 102.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/1.2, allocations: 5.969 kB / 0.7084 GB, free: 102.9 MB / 426.7 MB Notification: Performance of Templates: time 0.2787/1.478, allocations: 139.9 MB / 0.845 GB, free: 112.6 MB / 426.7 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