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.001137/0.001137, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 227.2 MB / 245 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008171/0.0008171, allocations: 96.23 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002142/0.0002141, allocations: 8 kB / 357.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1968, allocations: 51.49 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1028/0.2996, allocations: 89.19 MB / 498.6 MB, free: 1.422 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.2999, allocations: 88.48 kB / 498.7 MB, free: 1.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3125/0.6124, allocations: 63.01 MB / 0.5485 GB, free: 61.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6124, allocations: 0 / 0.5485 GB, free: 61.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.983e-05/0.6125, allocations: 51.94 kB / 0.5486 GB, free: 61.9 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.01559/0.6281, allocations: 3.791 MB / 0.5523 GB, free: 58.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.6281, allocations: 8.031 kB / 0.5523 GB, free: 58.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.6386, allocations: 2.465 MB / 0.5547 GB, free: 55.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009658/0.6483, allocations: 3.958 MB / 0.5586 GB, free: 51.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.6485, allocations: 172.3 kB / 0.5587 GB, free: 51.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/0.6496, allocations: 235.8 kB / 0.559 GB, free: 51.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01549/0.6651, allocations: 8.589 MB / 0.5673 GB, free: 41.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.166e-05/0.6653, allocations: 51.53 kB / 0.5674 GB, free: 41.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000373/0.6656, allocations: 115.9 kB / 0.5675 GB, free: 41.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007911/0.6664, allocations: 0.7338 MB / 0.5682 GB, free: 40.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.6819, allocations: 9.666 MB / 0.5777 GB, free: 31.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0317/0.7136, allocations: 37.79 MB / 0.6146 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/0.7245, allocations: 4.042 MB / 0.6185 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-05/0.7247, allocations: 12.53 kB / 0.6185 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.7247, allocations: 58.47 kB / 0.6186 GB, free: 3.805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 3.396e-06/0.7247, allocations: 0 / 0.6186 GB, free: 3.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=136): time 0.0436/0.7683, allocations: 17.64 MB / 0.6358 GB, free: 1.824 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002375/0.7707, allocations: 3.074 MB / 0.6388 GB, free: 14.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004707/0.7755, allocations: 2.704 MB / 0.6415 GB, free: 11.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003747/0.7759, allocations: 41.89 kB / 0.6415 GB, free: 11.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.7773, allocations: 2.08 MB / 0.6435 GB, free: 9.555 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009865/0.7783, allocations: 0.5631 MB / 0.6441 GB, free: 8.984 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005817/0.7789, allocations: 95.98 kB / 0.6442 GB, free: 8.891 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004594/0.7794, allocations: 0.5085 MB / 0.6447 GB, free: 8.375 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004024/0.7834, allocations: 2.395 MB / 0.647 GB, free: 5.973 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005748/0.7892, allocations: 5.296 MB / 0.6522 GB, free: 15.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005159/0.7944, allocations: 3.438 MB / 0.6555 GB, free: 11.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-05/0.7944, allocations: 28 kB / 0.6556 GB, free: 11.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.01839/0.8128, allocations: 9.461 MB / 0.6648 GB, free: 2.258 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.883e-05/0.8129, allocations: 48 kB / 0.6648 GB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1854/0.9983, allocations: 4.671 MB / 0.6694 GB, free: 118 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008124/1.006, allocations: 2.353 MB / 0.6717 GB, free: 117.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/1.01, allocations: 1.163 MB / 0.6728 GB, free: 117.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006238/1.016, allocations: 8.283 MB / 0.6809 GB, free: 112.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004556/1.021, allocations: 0.5595 MB / 0.6815 GB, free: 112.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004711/1.021, allocations: 301.3 kB / 0.6818 GB, free: 112.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.001953/1.023, allocations: 1.414 MB / 0.6831 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/1.024, allocations: 254 kB / 0.6834 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007316/1.025, allocations: 415.1 kB / 0.6838 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00929/1.034, allocations: 4.591 MB / 0.6883 GB, free: 112.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/1.034, allocations: 7.938 kB / 0.6883 GB, free: 112.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/1.034, allocations: 6 kB / 0.6883 GB, free: 112.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007382/1.041, allocations: 5.333 MB / 0.6935 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.041, allocations: 3.781 kB / 0.6935 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/1.043, allocations: 282.7 kB / 0.6938 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00746/1.05, allocations: 2.377 MB / 0.6961 GB, free: 111.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002794/1.05, allocations: 46.52 kB / 0.6961 GB, free: 111.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006759/1.057, allocations: 9.011 MB / 0.7049 GB, free: 105.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001251/1.059, allocations: 2.903 MB / 0.7078 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/1.071, allocations: 8.134 MB / 0.7157 GB, free: 100 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006872/1.072, allocations: 333.1 kB / 0.716 GB, free: 99.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/1.072, allocations: 33.05 kB / 0.7161 GB, free: 99.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/1.074, allocations: 266.1 kB / 0.7163 GB, free: 99.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/1.074, allocations: 109.9 kB / 0.7164 GB, free: 99.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/1.074, allocations: 46.41 kB / 0.7165 GB, free: 99.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002519/1.077, allocations: 1.903 MB / 0.7183 GB, free: 99.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.077, allocations: 0 / 0.7183 GB, free: 99.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003101/1.08, allocations: 0.9475 MB / 0.7192 GB, free: 99.01 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.0003967/1.08, allocations: 183.6 kB / 0.7194 GB, free: 98.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008849/1.089, allocations: 6.809 MB / 0.7261 GB, free: 93.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.089, allocations: 4 kB / 0.7261 GB, free: 93.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004954/1.094, allocations: 3.413 MB / 0.7294 GB, free: 90.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/1.096, allocations: 272.5 kB / 0.7297 GB, free: 90.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/1.109, allocations: 9.517 MB / 0.739 GB, free: 81.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/1.111, allocations: 2.343 MB / 0.7412 GB, free: 79.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003418/1.114, allocations: 1.632 MB / 0.7428 GB, free: 77.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005912/1.115, allocations: 191.4 kB / 0.743 GB, free: 77.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/1.115, allocations: 0 / 0.743 GB, free: 77.46 MB / 442.7 MB Notification: Performance of Templates: time 0.04264/1.157, allocations: 36.09 MB / 0.7783 GB, free: 41.66 MB / 442.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