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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001108, allocations: 117 kB / 17.7 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 191 kB / 18.63 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009375/0.0009375, allocations: 47.48 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08363/0.08458, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007403/0.09202, allocations: 6.985 MB / 358.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005291/0.09734, allocations: 3.09 MB / 361.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004119/0.09777, allocations: 31.94 kB / 361.6 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.09911, allocations: 0.6691 MB / 362.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.1015, allocations: 1.393 MB / 363.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007801/0.1023, allocations: 0.4952 MB / 364.2 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003075/0.1054, allocations: 3.112 MB / 367.3 MB, free: 3.848 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005595/0.1059, allocations: 447.2 kB / 367.7 MB, free: 3.398 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000759/0.1067, allocations: 0.7977 MB / 368.5 MB, free: 2.598 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.108, allocations: 1.207 MB / 369.7 MB, free: 1.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.1082, allocations: 132 kB / 369.9 MB, free: 1.258 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.1095, allocations: 0.9593 MB / 370.8 MB, free: 304 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1672/0.2767, allocations: 1.074 MB / 371.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.2781, allocations: 1.226 MB / 373.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004885/0.283, allocations: 4.043 MB / 377.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.283, allocations: 2.5 kB / 377.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.283, allocations: 1.578 kB / 377.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.975e-05/0.2831, allocations: 1.594 kB / 377.2 MB, free: 11.23 MB / 302.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.006851/0.2899, allocations: 3.207 MB / 380.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.29, allocations: 9.625 kB / 380.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007702/0.2977, allocations: 1.889 MB / 382.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003539/0.3013, allocations: 1.648 MB / 383.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-05/0.3014, allocations: 112.2 kB / 384 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008697/0.3022, allocations: 305 kB / 384.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/0.3154, allocations: 8.223 MB / 392.6 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.727e-05/0.3154, allocations: 41.39 kB / 392.6 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/0.3157, allocations: 75.83 kB / 392.7 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001912/0.3176, allocations: 1.397 MB / 394.1 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/0.333, allocations: 9.537 MB / 403.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03617/0.3692, allocations: 30.53 MB / 434.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/0.3809, allocations: 4.393 MB / 438.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002963/0.3839, allocations: 2.109 MB / 440.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.568e-05/0.384, allocations: 12 kB / 440.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.3841, allocations: 54.33 kB / 440.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.737e-06/0.3841, allocations: 4 kB / 440.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.0481/0.4322, allocations: 18.27 MB / 459 MB, free: 6.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002873/0.4351, allocations: 3.244 MB / 462.2 MB, free: 2.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004808/0.44, allocations: 2.983 MB / 465.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006962/0.4407, allocations: 44.05 kB / 465.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001595/0.4423, allocations: 2.082 MB / 467.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001316/0.4436, allocations: 0.5653 MB / 467.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001828/0.4454, allocations: 1.016 MB / 468.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4456, allocations: 305.2 kB / 469.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00406/0.4496, allocations: 2.629 MB / 471.8 MB, free: 9.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005761/0.4554, allocations: 5.589 MB / 477.4 MB, free: 2.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.466, allocations: 8.63 MB / 486.1 MB, free: 8.254 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.304e-05/0.4661, allocations: 32 kB / 486.1 MB, free: 8.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03353/0.4997, allocations: 11.78 MB / 497.9 MB, free: 12.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.663e-05/0.4998, allocations: 52 kB / 497.9 MB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0233/0.5231, allocations: 7.007 MB / 0.4931 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02199/0.5451, allocations: 4.542 MB / 0.4975 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004941/0.5501, allocations: 1.248 MB / 0.4987 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/0.5675, allocations: 12.54 MB / 0.511 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005765/0.5733, allocations: 0.5809 MB / 0.5115 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00124/0.5745, allocations: 316.8 kB / 0.5119 GB, free: 1.523 MB / 430.1 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 (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00317/0.5777, allocations: 1.422 MB / 0.5132 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006626/0.5784, allocations: 252.8 kB / 0.5135 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009082/0.5793, allocations: 415 kB / 0.5139 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01131/0.5906, allocations: 5.013 MB / 0.5188 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-05/0.5907, allocations: 7.984 kB / 0.5188 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/0.5907, allocations: 15.92 kB / 0.5188 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009238/0.5999, allocations: 5.338 MB / 0.524 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.6, allocations: 0 / 0.524 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/0.6017, allocations: 371.4 kB / 0.5244 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008364/0.6101, allocations: 2.39 MB / 0.5267 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/0.6103, allocations: 47.95 kB / 0.5267 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1792/0.7896, allocations: 9.435 MB / 0.536 GB, free: 146 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001566/0.7912, allocations: 3.072 MB / 0.539 GB, free: 143.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01527/0.8065, allocations: 8.762 MB / 0.5475 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008684/0.8073, allocations: 330.2 kB / 0.5478 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005501/0.8079, allocations: 32.58 kB / 0.5479 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002087/0.81, allocations: 326.8 kB / 0.5482 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004568/0.8105, allocations: 99.53 kB / 0.5483 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/0.8107, allocations: 55.58 kB / 0.5483 GB, free: 141.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002604/0.8133, allocations: 1.867 MB / 0.5501 GB, free: 140.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8133, allocations: 0 / 0.5501 GB, free: 140.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003992/0.8173, allocations: 1.009 MB / 0.5511 GB, free: 140.4 MB / 446.1 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 (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004241/0.8177, allocations: 168.3 kB / 0.5513 GB, free: 140.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009787/0.8275, allocations: 7.461 MB / 0.5586 GB, free: 137.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.8275, allocations: 2 kB / 0.5586 GB, free: 137.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005315/0.8329, allocations: 3.65 MB / 0.5621 GB, free: 135.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.835, allocations: 304.8 kB / 0.5624 GB, free: 135.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009617/0.8446, allocations: 8.104 MB / 0.5703 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.8463, allocations: 2.29 MB / 0.5726 GB, free: 125 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003144/0.8494, allocations: 1.667 MB / 0.5742 GB, free: 123.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007427/0.8502, allocations: 199.3 kB / 0.5744 GB, free: 123.2 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.8502, allocations: 0 / 0.5744 GB, free: 123.2 MB / 446.1 MB Notification: Performance of Templates: time 0.05409/0.9043, allocations: 41.73 MB / 0.6152 GB, free: 81.61 MB / 446.1 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches