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.000949/0.0009489, allocations: 191.6 kB / 17.38 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 226.6 MB / 244.7 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007318/0.0007317, allocations: 113.7 kB / 296.8 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.0002482, allocations: 8 kB / 356.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2099, allocations: 51.3 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008361/0.2183, allocations: 12.51 MB / 420.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006482/0.2248, allocations: 3.999 MB / 424.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.2266, allocations: 51.88 kB / 424.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.228, allocations: 0.5949 MB / 425.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00469/0.2327, allocations: 2.234 MB / 427.4 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009892/0.2337, allocations: 459.3 kB / 427.9 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003365/0.2371, allocations: 3.382 MB / 431.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006825/0.2378, allocations: 0.5309 MB / 431.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008772/0.2387, allocations: 0.7745 MB / 432.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.2398, allocations: 1.301 MB / 433.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.24, allocations: 83.94 kB / 434 MB, free: 1.703 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.2414, allocations: 0.932 MB / 434.9 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007448/0.2421, allocations: 1.048 MB / 435.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.2431, allocations: 1.147 MB / 437.1 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002797/0.246, allocations: 2.99 MB / 440.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.246, allocations: 0 / 440.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.246, allocations: 0 / 440.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.738e-05/0.246, allocations: 4 kB / 440.1 MB, free: 11.56 MB / 314.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.005301/0.2514, allocations: 2.702 MB / 442.8 MB, free: 8.797 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2514, allocations: 12.03 kB / 442.8 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008007/0.2594, allocations: 2.041 MB / 444.8 MB, free: 6.738 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/0.2626, allocations: 1.574 MB / 446.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.2628, allocations: 118.6 kB / 446.5 MB, free: 5.004 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008684/0.2637, allocations: 299.5 kB / 446.8 MB, free: 4.711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01353/0.2772, allocations: 8.23 MB / 455 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.202e-05/0.2773, allocations: 35.69 kB / 455.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002756/0.2776, allocations: 75.89 kB / 455.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002154/0.2798, allocations: 1.405 MB / 456.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01747/0.2973, allocations: 9.511 MB / 466.1 MB, free: 0.875 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03236/0.3297, allocations: 30.59 MB / 496.7 MB, free: 1.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/0.341, allocations: 4.426 MB / 0.4893 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002908/0.3439, allocations: 2.109 MB / 0.4914 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.664e-05/0.344, allocations: 11.98 kB / 0.4914 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.3441, allocations: 54.5 kB / 0.4915 GB, free: 10.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 3.677e-06/0.3441, allocations: 0 / 0.4915 GB, free: 10.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=136): time 0.2189/0.563, allocations: 18.4 MB / 0.5094 GB, free: 91.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001543/0.5646, allocations: 3.054 MB / 0.5124 GB, free: 88.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003407/0.568, allocations: 2.968 MB / 0.5153 GB, free: 87.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004337/0.5685, allocations: 45.41 kB / 0.5154 GB, free: 87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008837/0.5694, allocations: 2.084 MB / 0.5174 GB, free: 85.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005435/0.5699, allocations: 0.563 MB / 0.5179 GB, free: 84.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.5702, allocations: 95.5 kB / 0.518 GB, free: 84.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.5704, allocations: 0.5099 MB / 0.5185 GB, free: 84.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003048/0.5734, allocations: 2.617 MB / 0.5211 GB, free: 83.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003877/0.5773, allocations: 5.57 MB / 0.5265 GB, free: 77.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007572/0.5849, allocations: 8.604 MB / 0.5349 GB, free: 67.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.288e-05/0.585, allocations: 32 kB / 0.535 GB, free: 67.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02779/0.6128, allocations: 11.88 MB / 0.5466 GB, free: 55.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.307e-05/0.6129, allocations: 54.5 kB / 0.5466 GB, free: 55.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02037/0.6333, allocations: 7.145 MB / 0.5536 GB, free: 48.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02013/0.6535, allocations: 4.737 MB / 0.5582 GB, free: 43.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003873/0.6574, allocations: 1.24 MB / 0.5594 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.6703, allocations: 11.51 MB / 0.5707 GB, free: 30.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005011/0.6754, allocations: 0.5732 MB / 0.5712 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008202/0.6762, allocations: 315.9 kB / 0.5715 GB, free: 29.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * 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 (592): * Single equations (assignments): 577 * 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 {(4,100.0%),(3,100.0%),(4,100.0%),(3,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.002029/0.6783, allocations: 1.41 MB / 0.5729 GB, free: 28.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004891/0.6788, allocations: 256.7 kB / 0.5731 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007364/0.6795, allocations: 419 kB / 0.5735 GB, free: 27.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009841/0.6894, allocations: 5.012 MB / 0.5784 GB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.899e-05/0.6894, allocations: 7.938 kB / 0.5784 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.732e-05/0.6895, allocations: 11.97 kB / 0.5785 GB, free: 22.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007571/0.6971, allocations: 5.357 MB / 0.5837 GB, free: 17.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.6971, allocations: 0 / 0.5837 GB, free: 17.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.6988, allocations: 367.4 kB / 0.584 GB, free: 16.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007599/0.7064, allocations: 2.389 MB / 0.5864 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004561/0.7069, allocations: 50.12 kB / 0.5864 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007225/0.7141, allocations: 8.837 MB / 0.595 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001301/0.7155, allocations: 2.898 MB / 0.5979 GB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/0.7317, allocations: 8.751 MB / 0.6064 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008255/0.7325, allocations: 337.5 kB / 0.6067 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005638/0.7331, allocations: 35.98 kB / 0.6068 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002114/0.7352, allocations: 315.4 kB / 0.6071 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004173/0.7357, allocations: 111.7 kB / 0.6072 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/0.7358, allocations: 56.89 kB / 0.6072 GB, free: 8.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002725/0.7386, allocations: 1.847 MB / 0.609 GB, free: 6.254 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7386, allocations: 0 / 0.609 GB, free: 6.254 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004355/0.743, allocations: 1.005 MB / 0.61 GB, free: 5.254 MB / 394.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.0004652/0.7434, allocations: 166.1 kB / 0.6102 GB, free: 5.086 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01225/0.7557, allocations: 7.391 MB / 0.6174 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.7557, allocations: 0 / 0.6174 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006368/0.7621, allocations: 3.629 MB / 0.6209 GB, free: 9.805 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.7648, allocations: 303.8 kB / 0.6212 GB, free: 9.516 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.7773, allocations: 9.595 MB / 0.6306 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002115/0.7794, allocations: 2.289 MB / 0.6328 GB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/0.7808, allocations: 239.3 kB / 0.6331 GB, free: 13.3 MB / 426.7 MB Notification: Performance of SimCode: time 7.82e-07/0.7808, allocations: 0 / 0.6331 GB, free: 13.3 MB / 426.7 MB Notification: Performance of Templates: time 0.2923/1.073, allocations: 144.8 MB / 0.7745 GB, free: 36.25 MB / 442.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/jenkins/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