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.00103/0.00103, allocations: 112.3 kB / 17.68 MB, free: 5.473 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.001014/0.001014, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.333/1.333, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001037, allocations: 50.73 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09755/0.0986, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008081/0.1067, allocations: 6.985 MB / 358.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006389/0.1132, allocations: 3.097 MB / 361.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.1143, allocations: 31.94 kB / 361.6 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.116, allocations: 0.6653 MB / 362.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.1192, allocations: 1.39 MB / 363.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.1203, allocations: 0.4913 MB / 364.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004308/0.1246, allocations: 3.124 MB / 367.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.1258, allocations: 443.2 kB / 367.7 MB, free: 3.414 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.1273, allocations: 0.8017 MB / 368.5 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.1293, allocations: 1.203 MB / 369.7 MB, free: 1.402 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004985/0.1298, allocations: 128 kB / 369.8 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.1318, allocations: 0.9672 MB / 370.8 MB, free: 316 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2037/0.3355, allocations: 1.076 MB / 371.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.3372, allocations: 1.227 MB / 373.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006589/0.3438, allocations: 4.036 MB / 377.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3438, allocations: 4.688 kB / 377.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3438, allocations: 1.375 kB / 377.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001507/0.344, allocations: 0 / 377.2 MB, free: 11.26 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.01089/0.3549, allocations: 3.212 MB / 380.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.3549, allocations: 9.688 kB / 380.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008088/0.363, allocations: 1.884 MB / 382.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003872/0.3669, allocations: 1.641 MB / 383.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.3671, allocations: 117.7 kB / 384 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009322/0.368, allocations: 306.2 kB / 384.3 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01774/0.3858, allocations: 8.229 MB / 392.5 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-05/0.3859, allocations: 36.09 kB / 392.6 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003017/0.3862, allocations: 74.45 kB / 392.7 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002214/0.3884, allocations: 1.405 MB / 394.1 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01707/0.4055, allocations: 9.532 MB / 403.6 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04258/0.4481, allocations: 30.53 MB / 434.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/0.4599, allocations: 4.384 MB / 438.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002892/0.4628, allocations: 2.116 MB / 440.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.02e-05/0.4629, allocations: 11.05 kB / 440.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.4629, allocations: 50.22 kB / 440.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 6.332e-06/0.463, allocations: 3.984 kB / 440.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.04606/0.509, allocations: 18.29 MB / 459 MB, free: 6.336 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002788/0.5119, allocations: 3.232 MB / 462.2 MB, free: 2.785 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005094/0.517, allocations: 2.984 MB / 465.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001016/0.518, allocations: 42.88 kB / 465.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/0.5197, allocations: 2.081 MB / 467.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.5208, allocations: 0.5722 MB / 467.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001718/0.5225, allocations: 1.01 MB / 468.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5226, allocations: 305.1 kB / 469.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003887/0.5265, allocations: 2.629 MB / 471.8 MB, free: 9.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005875/0.5324, allocations: 5.591 MB / 477.4 MB, free: 2.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/0.5442, allocations: 8.618 MB / 486 MB, free: 8.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/0.5443, allocations: 32 kB / 486.1 MB, free: 8.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03528/0.5796, allocations: 11.79 MB / 497.9 MB, free: 12.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.5798, allocations: 48.28 kB / 497.9 MB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02202/0.6018, allocations: 7.011 MB / 0.4931 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02112/0.623, allocations: 4.542 MB / 0.4975 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004746/0.6278, allocations: 1.245 MB / 0.4987 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/0.646, allocations: 12.54 MB / 0.511 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005874/0.6519, allocations: 0.5799 MB / 0.5115 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/0.6535, allocations: 311.9 kB / 0.5118 GB, free: 1.562 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.00421/0.6577, allocations: 1.413 MB / 0.5132 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/0.6588, allocations: 256.9 kB / 0.5135 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.6601, allocations: 415 kB / 0.5139 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01188/0.672, allocations: 5.018 MB / 0.5188 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.608e-05/0.6721, allocations: 4 kB / 0.5188 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.381e-05/0.6721, allocations: 7.984 kB / 0.5188 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.6837, allocations: 5.351 MB / 0.524 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.6838, allocations: 0 / 0.524 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/0.6857, allocations: 367.4 kB / 0.5244 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008515/0.6942, allocations: 2.39 MB / 0.5267 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004858/0.6947, allocations: 59.06 kB / 0.5267 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2027/0.8974, allocations: 9.423 MB / 0.5359 GB, free: 146.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002476/0.8999, allocations: 3.069 MB / 0.5389 GB, free: 143.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03006/0.93, allocations: 8.769 MB / 0.5475 GB, free: 141.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.9313, allocations: 324 kB / 0.5478 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001268/0.9326, allocations: 40.17 kB / 0.5479 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004646/0.9373, allocations: 319 kB / 0.5482 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008988/0.9382, allocations: 106.5 kB / 0.5483 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004539/0.9387, allocations: 48.67 kB / 0.5483 GB, free: 141.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005658/0.9444, allocations: 1.866 MB / 0.5501 GB, free: 140.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.91e-07/0.9444, allocations: 0 / 0.5501 GB, free: 140.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009172/0.9536, allocations: 1.018 MB / 0.5511 GB, free: 140.6 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.001114/0.9548, allocations: 170 kB / 0.5513 GB, free: 140.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02126/0.976, allocations: 7.459 MB / 0.5586 GB, free: 137.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.9761, allocations: 3.938 kB / 0.5586 GB, free: 137.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01106/0.9872, allocations: 3.637 MB / 0.5621 GB, free: 135.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004906/0.9921, allocations: 308 kB / 0.5624 GB, free: 135.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02015/1.012, allocations: 8.117 MB / 0.5703 GB, free: 127.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00395/1.016, allocations: 2.29 MB / 0.5726 GB, free: 125.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006137/1.023, allocations: 1.663 MB / 0.5742 GB, free: 123.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/1.024, allocations: 199.3 kB / 0.5744 GB, free: 123.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.395e-06/1.024, allocations: 0 / 0.5744 GB, free: 123.4 MB / 446.1 MB Notification: Performance of Templates: time 0.06351/1.088, allocations: 41.74 MB / 0.6151 GB, free: 81.81 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 cvode -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