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.0012/0.0012, allocations: 110.2 kB / 17.17 MB, free: 6.344 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.001334/0.001334, allocations: 194.9 kB / 18.08 MB, free: 5.441 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.396/1.396, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.00118, allocations: 51.52 kB / 300.6 MB, free: 6.328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1039, allocations: 49.45 MB / 350.1 MB, free: 4.871 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01491/0.1189, allocations: 13.96 MB / 364 MB, free: 6.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009456/0.1284, allocations: 4.296 MB / 368.3 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003683/0.1321, allocations: 51.88 kB / 368.4 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002049/0.1342, allocations: 0.6385 MB / 369 MB, free: 1.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003645/0.1379, allocations: 1.301 MB / 370.3 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.1391, allocations: 467.2 kB / 370.8 MB, free: 80 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1863/0.3254, allocations: 4.108 MB / 374.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.3265, allocations: 428.1 kB / 375.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.3281, allocations: 0.6837 MB / 376 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.3303, allocations: 1.31 MB / 377.3 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004304/0.3308, allocations: 82.69 kB / 377.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.3331, allocations: 0.9656 MB / 378.3 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.3347, allocations: 1.059 MB / 379.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001796/0.3365, allocations: 1.198 MB / 380.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004931/0.3414, allocations: 3.051 MB / 383.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3415, allocations: 2.625 kB / 383.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3415, allocations: 0 / 383.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001308/0.3416, allocations: 0 / 383.6 MB, free: 8.305 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.008578/0.3502, allocations: 3.207 MB / 386.9 MB, free: 6.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.3503, allocations: 9.625 kB / 386.9 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007849/0.3581, allocations: 1.888 MB / 388.8 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00352/0.3617, allocations: 1.631 MB / 390.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.3618, allocations: 112.7 kB / 390.5 MB, free: 4.656 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009849/0.3628, allocations: 308.6 kB / 390.8 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01429/0.3771, allocations: 8.22 MB / 399 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.054e-05/0.3772, allocations: 37.05 kB / 399.1 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003082/0.3776, allocations: 75.34 kB / 399.1 MB, free: 14.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002232/0.3798, allocations: 1.394 MB / 400.5 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01851/0.3983, allocations: 9.543 MB / 410.1 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03776/0.4361, allocations: 30.6 MB / 440.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.4484, allocations: 4.398 MB / 445.1 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003319/0.4518, allocations: 2.111 MB / 447.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.572e-05/0.4519, allocations: 10.66 kB / 447.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.452, allocations: 54.47 kB / 447.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 4.839e-06/0.452, allocations: 8 kB / 447.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.05279/0.5048, allocations: 18.28 MB / 465.5 MB, free: 11.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00265/0.5075, allocations: 3.063 MB / 468.6 MB, free: 8.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006592/0.5141, allocations: 2.99 MB / 471.6 MB, free: 5.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001041/0.5152, allocations: 44.36 kB / 471.6 MB, free: 5.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002177/0.5174, allocations: 2.077 MB / 473.7 MB, free: 3.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001526/0.519, allocations: 0.5642 MB / 474.3 MB, free: 2.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00332/0.5223, allocations: 1.014 MB / 475.3 MB, free: 1.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5224, allocations: 305.1 kB / 475.6 MB, free: 1.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004861/0.5273, allocations: 2.629 MB / 478.2 MB, free: 14.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007356/0.5347, allocations: 5.585 MB / 483.8 MB, free: 7.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01355/0.5483, allocations: 8.63 MB / 492.4 MB, free: 13.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/0.5485, allocations: 32 kB / 492.4 MB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03636/0.5848, allocations: 11.78 MB / 0.4924 GB, free: 1.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.322e-05/0.585, allocations: 48 kB / 0.4925 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02405/0.609, allocations: 7.013 MB / 0.4993 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02242/0.6315, allocations: 4.534 MB / 0.5037 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004728/0.6363, allocations: 1.252 MB / 0.505 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/0.6535, allocations: 11.48 MB / 0.5162 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00581/0.6593, allocations: 0.5773 MB / 0.5167 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/0.6609, allocations: 318.7 kB / 0.517 GB, free: 7.891 MB / 446.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.004279/0.6652, allocations: 1.422 MB / 0.5184 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009636/0.6661, allocations: 252.7 kB / 0.5187 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.6675, allocations: 415 kB / 0.5191 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01254/0.68, allocations: 5.014 MB / 0.524 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.663e-05/0.6801, allocations: 4 kB / 0.524 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-05/0.6802, allocations: 3.984 kB / 0.524 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2118/0.8919, allocations: 5.353 MB / 0.5292 GB, free: 149.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.892, allocations: 1.25 kB / 0.5292 GB, free: 149.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/0.8939, allocations: 369.8 kB / 0.5295 GB, free: 149.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008419/0.9024, allocations: 2.385 MB / 0.5319 GB, free: 149.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006116/0.903, allocations: 52.47 kB / 0.5319 GB, free: 149.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009007/0.912, allocations: 8.813 MB / 0.5405 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001504/0.9136, allocations: 2.895 MB / 0.5434 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/0.9291, allocations: 8.772 MB / 0.5519 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009911/0.9301, allocations: 327.3 kB / 0.5522 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005022/0.9306, allocations: 35.42 kB / 0.5523 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/0.9326, allocations: 318.2 kB / 0.5526 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004584/0.933, allocations: 96.55 kB / 0.5527 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/0.9332, allocations: 60.81 kB / 0.5527 GB, free: 137.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002744/0.936, allocations: 1.862 MB / 0.5545 GB, free: 137.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.936, allocations: 0 / 0.5545 GB, free: 137.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004606/0.9406, allocations: 1.007 MB / 0.5555 GB, free: 137.1 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.0005329/0.9412, allocations: 182.6 kB / 0.5557 GB, free: 137 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01036/0.9515, allocations: 7.427 MB / 0.5629 GB, free: 131.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.9516, allocations: 0 / 0.5629 GB, free: 131.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005349/0.9569, allocations: 3.63 MB / 0.5665 GB, free: 128.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/0.9594, allocations: 308.6 kB / 0.5668 GB, free: 127.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.9711, allocations: 9.575 MB / 0.5761 GB, free: 118.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/0.9729, allocations: 2.29 MB / 0.5784 GB, free: 116.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/0.9744, allocations: 239.3 kB / 0.5786 GB, free: 115.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.342e-06/0.9744, allocations: 4 kB / 0.5786 GB, free: 115.8 MB / 446.1 MB Notification: Performance of Templates: time 0.3067/1.281, allocations: 145.1 MB / 0.7203 GB, free: 127.8 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 -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