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.001261/0.001261, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 9.082 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 64.03 kB / 306.9 MB, free: 0.8516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.09968, allocations: 50.53 MB / 357.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01404/0.1138, allocations: 13.9 MB / 371.3 MB, free: 360 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1755/0.2894, allocations: 4.277 MB / 375.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002486/0.2919, allocations: 52.97 kB / 375.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.2938, allocations: 0.642 MB / 376.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003574/0.2974, allocations: 1.271 MB / 377.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.2986, allocations: 469.5 kB / 378 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005822/0.3044, allocations: 4.202 MB / 382.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009716/0.3054, allocations: 434.1 kB / 382.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.3066, allocations: 0.6746 MB / 383.3 MB, free: 7.297 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.3082, allocations: 1.306 MB / 384.6 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002895/0.3085, allocations: 83 kB / 384.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.3103, allocations: 0.9398 MB / 385.7 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009174/0.3112, allocations: 1.044 MB / 386.7 MB, free: 6.309 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.3123, allocations: 1.176 MB / 387.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.3154, allocations: 3.025 MB / 390.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3154, allocations: 1.031 kB / 390.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3154, allocations: 4 kB / 390.9 MB, free: 3.586 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.762e-05/0.3155, allocations: 0 / 390.9 MB, free: 3.586 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.007132/0.3227, allocations: 3.175 MB / 394.1 MB, free: 1.457 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.3227, allocations: 8.562 kB / 394.1 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008337/0.3311, allocations: 2.009 MB / 396.1 MB, free: 468 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003376/0.3345, allocations: 1.572 MB / 397.7 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.3346, allocations: 115.6 kB / 397.8 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.3356, allocations: 304.1 kB / 398.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/0.3509, allocations: 8.226 MB / 406.3 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.598e-05/0.351, allocations: 35.64 kB / 406.3 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002875/0.3513, allocations: 75.66 kB / 406.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002125/0.3535, allocations: 1.398 MB / 407.8 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/0.3711, allocations: 9.542 MB / 417.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03518/0.4063, allocations: 30.6 MB / 448 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/0.4186, allocations: 4.39 MB / 452.3 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003286/0.422, allocations: 2.109 MB / 454.5 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.4221, allocations: 13.97 kB / 454.5 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.4222, allocations: 42.56 kB / 454.5 MB, free: 6.234 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.958e-06/0.4222, allocations: 4 kB / 454.5 MB, free: 6.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.04721/0.4694, allocations: 18.29 MB / 472.8 MB, free: 3.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002245/0.4717, allocations: 3.056 MB / 475.9 MB, free: 296 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004683/0.4764, allocations: 2.982 MB / 478.8 MB, free: 13.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005957/0.477, allocations: 45.7 kB / 478.9 MB, free: 13.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001534/0.4785, allocations: 2.074 MB / 481 MB, free: 11.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001089/0.4797, allocations: 0.5642 MB / 481.5 MB, free: 10.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002174/0.4818, allocations: 1.014 MB / 482.5 MB, free: 9.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.482, allocations: 301.1 kB / 482.8 MB, free: 9.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004059/0.486, allocations: 2.637 MB / 485.5 MB, free: 6.645 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005925/0.492, allocations: 5.581 MB / 491.1 MB, free: 15.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/0.5021, allocations: 8.624 MB / 499.7 MB, free: 5.504 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-05/0.5022, allocations: 28 kB / 499.7 MB, free: 5.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.0324/0.5346, allocations: 11.92 MB / 0.4996 GB, free: 9.523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.496e-05/0.5348, allocations: 52.06 kB / 0.4997 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02362/0.5584, allocations: 7.16 MB / 0.5067 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0227/0.5811, allocations: 4.725 MB / 0.5113 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004476/0.5857, allocations: 1.244 MB / 0.5125 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/0.6033, allocations: 11.53 MB / 0.5238 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1878/0.7912, allocations: 0.5682 MB / 0.5243 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001529/0.7928, allocations: 318.3 kB / 0.5246 GB, free: 129.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.004205/0.797, allocations: 1.421 MB / 0.526 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007363/0.7977, allocations: 254.7 kB / 0.5262 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009475/0.7987, allocations: 412.4 kB / 0.5266 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01174/0.8104, allocations: 5.015 MB / 0.5315 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-05/0.8105, allocations: 7.688 kB / 0.5315 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.655e-05/0.8106, allocations: 8.203 kB / 0.5316 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.8212, allocations: 5.349 MB / 0.5368 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.8213, allocations: 4.469 kB / 0.5368 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/0.8232, allocations: 371 kB / 0.5371 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008255/0.8315, allocations: 2.387 MB / 0.5395 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005473/0.8321, allocations: 46.59 kB / 0.5395 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007569/0.8397, allocations: 8.813 MB / 0.5481 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001521/0.8412, allocations: 2.901 MB / 0.551 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/0.8561, allocations: 8.774 MB / 0.5595 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008075/0.857, allocations: 321.5 kB / 0.5598 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005918/0.8576, allocations: 42.22 kB / 0.5599 GB, free: 115.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/0.8595, allocations: 315.3 kB / 0.5602 GB, free: 115.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000441/0.86, allocations: 102 kB / 0.5603 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/0.8602, allocations: 52.14 kB / 0.5603 GB, free: 115.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002686/0.8629, allocations: 1.865 MB / 0.5621 GB, free: 114.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8629, allocations: 0 / 0.5621 GB, free: 114.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00481/0.8677, allocations: 0.9965 MB / 0.5631 GB, free: 113.5 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.0005568/0.8683, allocations: 165.5 kB / 0.5633 GB, free: 113.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0105/0.8788, allocations: 7.441 MB / 0.5705 GB, free: 106.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.8788, allocations: 0 / 0.5705 GB, free: 106.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005427/0.8843, allocations: 3.636 MB / 0.5741 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/0.8867, allocations: 297 kB / 0.5744 GB, free: 102.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.8972, allocations: 9.555 MB / 0.5837 GB, free: 92.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/0.8988, allocations: 2.284 MB / 0.5859 GB, free: 90.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/0.9007, allocations: 239.3 kB / 0.5862 GB, free: 90.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.415e-06/0.9007, allocations: 0.875 kB / 0.5862 GB, free: 90.04 MB / 446.1 MB Notification: Performance of Templates: time 0.2846/1.185, allocations: 144.8 MB / 0.7276 GB, free: 157.6 MB / 478.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/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