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.00199/0.00199, allocations: 114.5 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002545/0.002545, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.802/2.802, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6982, allocations: 50.54 MB / 409.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01463/0.713, allocations: 6.956 MB / 416.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.7242, allocations: 3.104 MB / 420 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.7262, allocations: 35.88 kB / 420 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002857/0.7292, allocations: 0.6613 MB / 420.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007026/0.7362, allocations: 1.362 MB / 422.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.7385, allocations: 0.4913 MB / 422.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008554/0.7471, allocations: 3.214 MB / 425.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/0.7491, allocations: 451.1 kB / 426.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.7517, allocations: 0.7822 MB / 427 MB, free: 444 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004014/0.7558, allocations: 1.215 MB / 428.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.757, allocations: 128 kB / 428.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004534/0.7616, allocations: 0.936 MB / 429.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008298/0.7699, allocations: 1.071 MB / 430.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004059/0.7741, allocations: 1.207 MB / 431.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.7882, allocations: 3.995 MB / 435.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.7883, allocations: 0 / 435.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7883, allocations: 0 / 435.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002306/0.7886, allocations: 0 / 435.5 MB, free: 7.859 MB / 350.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.01922/0.8078, allocations: 3.174 MB / 438.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.463e-05/0.8079, allocations: 8.031 kB / 438.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02337/0.8313, allocations: 2.01 MB / 440.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00733/0.8387, allocations: 1.594 MB / 442.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003527/0.8392, allocations: 118.6 kB / 442.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002749/0.8419, allocations: 303.4 kB / 442.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03651/0.8785, allocations: 8.219 MB / 450.9 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002399/0.8788, allocations: 35.66 kB / 451 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00126/0.8801, allocations: 79.89 kB / 451.1 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005096/0.8852, allocations: 1.397 MB / 452.5 MB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03862/0.9239, allocations: 9.538 MB / 462 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07609/1, allocations: 30.52 MB / 492.5 MB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02837/1.029, allocations: 4.395 MB / 496.9 MB, free: 8.766 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007818/1.036, allocations: 2.109 MB / 499 MB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/1.037, allocations: 19.94 kB / 499 MB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.394e-05/1.037, allocations: 46.56 kB / 499.1 MB, free: 6.566 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 9.668e-06/1.037, allocations: 0 / 499.1 MB, free: 6.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.1124/1.149, allocations: 18.29 MB / 0.5052 GB, free: 3.984 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004717/1.154, allocations: 3.224 MB / 0.5084 GB, free: 436 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/1.165, allocations: 2.974 MB / 0.5113 GB, free: 13.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001054/1.166, allocations: 41.7 kB / 0.5113 GB, free: 13.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003341/1.17, allocations: 2.075 MB / 0.5134 GB, free: 11.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002021/1.172, allocations: 0.5671 MB / 0.5139 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006075/1.178, allocations: 1.019 MB / 0.5149 GB, free: 9.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/1.178, allocations: 305.1 kB / 0.5152 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008835/1.187, allocations: 2.633 MB / 0.5178 GB, free: 6.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01434/1.202, allocations: 5.588 MB / 0.5232 GB, free: 15.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02243/1.224, allocations: 8.625 MB / 0.5317 GB, free: 5.578 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002683/1.225, allocations: 28 kB / 0.5317 GB, free: 5.551 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.5736/1.798, allocations: 11.92 MB / 0.5433 GB, free: 120.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002906/1.798, allocations: 50.78 kB / 0.5434 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04607/1.845, allocations: 7.16 MB / 0.5504 GB, free: 118.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04356/1.888, allocations: 4.723 MB / 0.555 GB, free: 116.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008779/1.897, allocations: 1.244 MB / 0.5562 GB, free: 115.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02989/1.927, allocations: 12.58 MB / 0.5685 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01069/1.938, allocations: 0.58 MB / 0.5691 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002021/1.94, allocations: 319.9 kB / 0.5694 GB, free: 101.5 MB / 462.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.00564/1.946, allocations: 1.411 MB / 0.5707 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/1.947, allocations: 262.7 kB / 0.571 GB, free: 100 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/1.949, allocations: 410.9 kB / 0.5714 GB, free: 99.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02135/1.971, allocations: 5.015 MB / 0.5763 GB, free: 94.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.923e-05/1.971, allocations: 8 kB / 0.5763 GB, free: 94.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.354e-05/1.971, allocations: 3.984 kB / 0.5763 GB, free: 94.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/1.989, allocations: 5.348 MB / 0.5815 GB, free: 89.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.305e-05/1.989, allocations: 0 / 0.5815 GB, free: 89.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003774/1.993, allocations: 367.4 kB / 0.5819 GB, free: 88.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01604/2.009, allocations: 2.387 MB / 0.5842 GB, free: 86.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009973/2.01, allocations: 44.7 kB / 0.5842 GB, free: 86.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01471/2.024, allocations: 9.451 MB / 0.5935 GB, free: 76.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002493/2.027, allocations: 3.073 MB / 0.5965 GB, free: 73.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0313/2.058, allocations: 8.772 MB / 0.605 GB, free: 64.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/2.06, allocations: 323.6 kB / 0.6053 GB, free: 64.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001603/2.062, allocations: 35.98 kB / 0.6054 GB, free: 64.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005025/2.067, allocations: 323.1 kB / 0.6057 GB, free: 63.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001186/2.068, allocations: 111.5 kB / 0.6058 GB, free: 63.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007134/2.069, allocations: 51.95 kB / 0.6058 GB, free: 63.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005701/2.075, allocations: 1.859 MB / 0.6076 GB, free: 61.78 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.72e-07/2.075, allocations: 0 / 0.6076 GB, free: 61.78 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01032/2.085, allocations: 1.002 MB / 0.6086 GB, free: 60.78 MB / 462.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.001405/2.086, allocations: 164.6 kB / 0.6088 GB, free: 60.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02195/2.108, allocations: 7.464 MB / 0.6161 GB, free: 53.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/2.108, allocations: 0 / 0.6161 GB, free: 53.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01197/2.12, allocations: 3.647 MB / 0.6196 GB, free: 49.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005796/2.126, allocations: 306.4 kB / 0.6199 GB, free: 48.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02592/2.152, allocations: 8.393 MB / 0.6281 GB, free: 40.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005022/2.157, allocations: 2.285 MB / 0.6304 GB, free: 38.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002704/2.16, allocations: 243.3 kB / 0.6306 GB, free: 37.98 MB / 462.1 MB Notification: Performance of SimCode: time 1.623e-06/2.16, allocations: 4 kB / 0.6306 GB, free: 37.97 MB / 462.1 MB Notification: Performance of Templates: time 0.8505/3.011, allocations: 145.7 MB / 0.7729 GB, free: 146.9 MB / 0.5137 GB 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/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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches