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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 116 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.95 kB / 306.4 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09226/0.09343, allocations: 50.54 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01399/0.1075, allocations: 13.88 MB / 370.9 MB, free: 472 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1836/0.2912, allocations: 4.193 MB / 375.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002016/0.2932, allocations: 54.06 kB / 375.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.2948, allocations: 0.6204 MB / 375.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.2982, allocations: 1.283 MB / 377 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.2995, allocations: 478.8 kB / 377.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005217/0.3047, allocations: 3.209 MB / 380.7 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009569/0.3057, allocations: 484.4 kB / 381.2 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.3071, allocations: 0.7864 MB / 381.9 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.309, allocations: 1.359 MB / 383.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002949/0.3093, allocations: 130.4 kB / 383.4 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.3112, allocations: 0.9509 MB / 384.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.3122, allocations: 1.092 MB / 385.5 MB, free: 6.621 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.3133, allocations: 1.227 MB / 386.7 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004245/0.3176, allocations: 3.865 MB / 390.6 MB, free: 3.406 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3176, allocations: 4 kB / 390.6 MB, free: 3.402 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3176, allocations: 0 / 390.6 MB, free: 3.402 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.973e-05/0.3177, allocations: 0 / 390.6 MB, free: 3.402 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.00712/0.3249, allocations: 3.176 MB / 393.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3249, allocations: 9.219 kB / 393.8 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008404/0.3333, allocations: 2.007 MB / 395.8 MB, free: 280 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004103/0.3375, allocations: 1.574 MB / 397.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.3376, allocations: 113.2 kB / 397.4 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.3387, allocations: 302.9 kB / 397.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01596/0.3546, allocations: 8.222 MB / 406 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-05/0.3547, allocations: 39.64 kB / 406 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002903/0.355, allocations: 76.2 kB / 406.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00225/0.3573, allocations: 1.401 MB / 407.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01866/0.376, allocations: 9.542 MB / 417 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03384/0.4098, allocations: 30.59 MB / 447.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01156/0.4214, allocations: 4.388 MB / 452 MB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002594/0.4241, allocations: 2.112 MB / 454.1 MB, free: 6.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.246e-05/0.4241, allocations: 12 kB / 454.1 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.4242, allocations: 50.5 kB / 454.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.536e-06/0.4242, allocations: 0 / 454.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.04592/0.4701, allocations: 18.3 MB / 472.5 MB, free: 3.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002355/0.4725, allocations: 3.232 MB / 475.7 MB, free: 15.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004143/0.4767, allocations: 2.97 MB / 478.7 MB, free: 12.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005584/0.4772, allocations: 45.73 kB / 478.7 MB, free: 12.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.4786, allocations: 2.069 MB / 480.8 MB, free: 10.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007722/0.4794, allocations: 0.5713 MB / 481.4 MB, free: 10.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001488/0.4809, allocations: 1.013 MB / 482.4 MB, free: 9.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.605e-05/0.481, allocations: 301.1 kB / 482.7 MB, free: 8.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003619/0.4846, allocations: 2.629 MB / 485.3 MB, free: 6.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00578/0.4904, allocations: 5.596 MB / 490.9 MB, free: 15.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.5015, allocations: 8.62 MB / 499.5 MB, free: 5.145 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.544e-05/0.5016, allocations: 28 kB / 499.5 MB, free: 5.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03299/0.5346, allocations: 11.92 MB / 0.4995 GB, free: 9.164 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.5347, allocations: 48.22 kB / 0.4995 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02374/0.5585, allocations: 7.166 MB / 0.5065 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0228/0.5813, allocations: 4.721 MB / 0.5111 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004943/0.5863, allocations: 1.248 MB / 0.5124 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1845/0.7708, allocations: 12.6 MB / 0.5247 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005308/0.7762, allocations: 0.5704 MB / 0.5252 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007563/0.7769, allocations: 318.8 kB / 0.5255 GB, free: 139.1 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.002474/0.7794, allocations: 1.418 MB / 0.5269 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005281/0.78, allocations: 255.5 kB / 0.5272 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008028/0.7808, allocations: 413.2 kB / 0.5275 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01157/0.7924, allocations: 5.018 MB / 0.5324 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.237e-05/0.7924, allocations: 4.5 kB / 0.5324 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/0.7924, allocations: 10.78 kB / 0.5325 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009324/0.8018, allocations: 5.347 MB / 0.5377 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/0.8018, allocations: 6.953 kB / 0.5377 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/0.8037, allocations: 371.3 kB / 0.538 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008388/0.8121, allocations: 2.388 MB / 0.5404 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003207/0.8124, allocations: 54.3 kB / 0.5404 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007635/0.8201, allocations: 9.438 MB / 0.5496 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001453/0.8216, allocations: 3.076 MB / 0.5526 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/0.8369, allocations: 8.773 MB / 0.5612 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008819/0.8378, allocations: 316.8 kB / 0.5615 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000995/0.8388, allocations: 39.58 kB / 0.5616 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002561/0.8414, allocations: 311.4 kB / 0.5619 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006352/0.8421, allocations: 110.2 kB / 0.562 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000407/0.8425, allocations: 52.69 kB / 0.562 GB, free: 123.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003752/0.8463, allocations: 1.861 MB / 0.5638 GB, free: 122.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8463, allocations: 0 / 0.5638 GB, free: 122.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00613/0.8524, allocations: 0.9943 MB / 0.5648 GB, free: 122.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.0008197/0.8533, allocations: 183.3 kB / 0.565 GB, free: 122.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01193/0.8652, allocations: 7.737 MB / 0.5725 GB, free: 114.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.8653, allocations: 0 / 0.5725 GB, free: 114.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005361/0.8706, allocations: 3.645 MB / 0.5761 GB, free: 110.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.8731, allocations: 311.8 kB / 0.5764 GB, free: 110.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.8839, allocations: 9.282 MB / 0.5854 GB, free: 101.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002171/0.8861, allocations: 2.295 MB / 0.5877 GB, free: 98.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003886/0.89, allocations: 1.659 MB / 0.5893 GB, free: 97.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009085/0.8909, allocations: 195.3 kB / 0.5895 GB, free: 96.93 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.8909, allocations: 4 kB / 0.5895 GB, free: 96.92 MB / 446.1 MB Notification: Performance of Templates: time 0.05974/0.9507, allocations: 46.16 MB / 0.6346 GB, free: 50.86 MB / 446.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches