Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008948/0.0008947, allocations: 172.4 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 241.4 MB, free: 9.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000799/0.000799, allocations: 101.9 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003342, allocations: 11.94 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2422, allocations: 50.41 MB / 402.8 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.3504, allocations: 88.63 MB / 491.4 MB, free: 7.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.3508, allocations: 87.95 kB / 491.5 MB, free: 7.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3693/0.72, allocations: 59.64 MB / 0.5382 GB, free: 75.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.7201, allocations: 0 / 0.5382 GB, free: 75.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001178/0.7202, allocations: 40 kB / 0.5382 GB, free: 75.91 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.01368/0.7339, allocations: 3.561 MB / 0.5417 GB, free: 72.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.7339, allocations: 12.03 kB / 0.5417 GB, free: 72.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009936/0.7439, allocations: 2.283 MB / 0.5439 GB, free: 69.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006853/0.7508, allocations: 3.409 MB / 0.5473 GB, free: 66.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.751, allocations: 172.8 kB / 0.5474 GB, free: 66.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/0.7521, allocations: 236.2 kB / 0.5477 GB, free: 66.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01292/0.7651, allocations: 8.235 MB / 0.5557 GB, free: 57.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.744e-05/0.7652, allocations: 59.39 kB / 0.5558 GB, free: 56.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003232/0.7655, allocations: 127.8 kB / 0.5559 GB, free: 56.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007758/0.7663, allocations: 0.7182 MB / 0.5566 GB, free: 56.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/0.7814, allocations: 9.303 MB / 0.5657 GB, free: 46.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03402/0.8154, allocations: 37.75 MB / 0.6025 GB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009718/0.8252, allocations: 4.024 MB / 0.6065 GB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00227/0.8275, allocations: 2.218 MB / 0.6086 GB, free: 1.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.706e-05/0.8275, allocations: 21.05 kB / 0.6086 GB, free: 1.383 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.8276, allocations: 46.5 kB / 0.6087 GB, free: 1.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 3.287e-06/0.8276, allocations: 0 / 0.6087 GB, free: 1.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=136): time 0.04067/0.8682, allocations: 17.41 MB / 0.6257 GB, free: 15.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002254/0.8705, allocations: 3.058 MB / 0.6287 GB, free: 12.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004269/0.8748, allocations: 3.019 MB / 0.6316 GB, free: 9.211 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002128/0.875, allocations: 45.69 kB / 0.6317 GB, free: 9.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.8764, allocations: 2.08 MB / 0.6337 GB, free: 7.051 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005732/0.877, allocations: 0.5593 MB / 0.6342 GB, free: 6.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.8772, allocations: 92 kB / 0.6343 GB, free: 6.395 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002908/0.8775, allocations: 0.5085 MB / 0.6348 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003559/0.8811, allocations: 2.395 MB / 0.6372 GB, free: 3.477 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005819/0.8869, allocations: 5.308 MB / 0.6424 GB, free: 12.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009299/0.8962, allocations: 8.087 MB / 0.6502 GB, free: 3.184 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.906e-05/0.8963, allocations: 31.94 kB / 0.6503 GB, free: 3.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.01801/0.9143, allocations: 9.453 MB / 0.6595 GB, free: 9.664 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/0.9144, allocations: 55.94 kB / 0.6596 GB, free: 9.609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01039/0.9248, allocations: 4.677 MB / 0.6641 GB, free: 4.902 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008082/0.9329, allocations: 2.343 MB / 0.6664 GB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004373/0.9373, allocations: 1.162 MB / 0.6676 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.195/1.132, allocations: 8.123 MB / 0.6755 GB, free: 121.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004658/1.137, allocations: 0.5651 MB / 0.676 GB, free: 121.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004116/1.137, allocations: 304.5 kB / 0.6763 GB, free: 121.5 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.002202/1.14, allocations: 1.409 MB / 0.6777 GB, free: 121.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005301/1.14, allocations: 259.6 kB / 0.678 GB, free: 121.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007513/1.141, allocations: 411.7 kB / 0.6783 GB, free: 121.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009715/1.151, allocations: 4.59 MB / 0.6828 GB, free: 121.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/1.151, allocations: 7.906 kB / 0.6828 GB, free: 121.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/1.151, allocations: 4.922 kB / 0.6828 GB, free: 121.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007038/1.158, allocations: 5.332 MB / 0.688 GB, free: 120.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.158, allocations: 3.25 kB / 0.6881 GB, free: 120.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/1.159, allocations: 281.1 kB / 0.6883 GB, free: 120.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007227/1.166, allocations: 2.372 MB / 0.6906 GB, free: 120.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/1.167, allocations: 47.55 kB / 0.6907 GB, free: 120.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006883/1.173, allocations: 8.849 MB / 0.6993 GB, free: 114.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0013/1.175, allocations: 2.902 MB / 0.7022 GB, free: 111.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/1.187, allocations: 8.043 MB / 0.71 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005966/1.188, allocations: 334.7 kB / 0.7103 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003375/1.188, allocations: 39.11 kB / 0.7104 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/1.19, allocations: 263.2 kB / 0.7106 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003453/1.19, allocations: 111.4 kB / 0.7107 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/1.191, allocations: 42.95 kB / 0.7108 GB, free: 108.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002693/1.193, allocations: 1.901 MB / 0.7126 GB, free: 108.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.193, allocations: 3.281 kB / 0.7126 GB, free: 108.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00354/1.197, allocations: 0.9521 MB / 0.7136 GB, free: 108.2 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.0004003/1.197, allocations: 172.3 kB / 0.7137 GB, free: 108.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009124/1.206, allocations: 6.81 MB / 0.7204 GB, free: 104.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.206, allocations: 1.422 kB / 0.7204 GB, free: 104.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004598/1.211, allocations: 3.406 MB / 0.7237 GB, free: 101.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/1.213, allocations: 296 kB / 0.724 GB, free: 101 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/1.225, allocations: 9.553 MB / 0.7333 GB, free: 92.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/1.227, allocations: 2.287 MB / 0.7355 GB, free: 91.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003508/1.231, allocations: 1.633 MB / 0.7371 GB, free: 89.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005903/1.231, allocations: 187.4 kB / 0.7373 GB, free: 89.66 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/1.231, allocations: 3.938 kB / 0.7373 GB, free: 89.66 MB / 442.7 MB Notification: Performance of Templates: time 0.05018/1.281, allocations: 36.13 MB / 0.7726 GB, free: 53.81 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches