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.001217/0.001217, allocations: 96.33 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00159/0.00159, allocations: 207.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002142/0.0002143, allocations: 8 kB / 306.6 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.1002, allocations: 51.49 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01137/0.1116, allocations: 11.87 MB / 369.9 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1746/0.2863, allocations: 4.089 MB / 374 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.288, allocations: 53.88 kB / 374.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.2891, allocations: 0.5345 MB / 374.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005094/0.2942, allocations: 1.988 MB / 376.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009311/0.2952, allocations: 431.8 kB / 377 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002805/0.298, allocations: 1.803 MB / 378.8 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005977/0.2986, allocations: 0.527 MB / 379.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008115/0.2994, allocations: 0.649 MB / 380 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.3006, allocations: 0.9671 MB / 381 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.3008, allocations: 80.75 kB / 381 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.3021, allocations: 0.7923 MB / 381.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008823/0.303, allocations: 0.9723 MB / 382.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.3034, allocations: 0.4947 MB / 383.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.3058, allocations: 2.992 MB / 386.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.3058, allocations: 2.688 kB / 386.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3059, allocations: 0 / 386.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.496e-05/0.3059, allocations: 0 / 386.3 MB, free: 6.801 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.004889/0.3108, allocations: 2.773 MB / 389.1 MB, free: 5.066 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3108, allocations: 10.19 kB / 389.1 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009053/0.3199, allocations: 2.365 MB / 391.4 MB, free: 4.047 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004207/0.3241, allocations: 1.801 MB / 393.3 MB, free: 3.328 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.3243, allocations: 116.5 kB / 393.4 MB, free: 3.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009633/0.3252, allocations: 299.8 kB / 393.7 MB, free: 3.273 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/0.3399, allocations: 8.618 MB / 402.3 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.756e-05/0.34, allocations: 31.66 kB / 402.3 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003094/0.3403, allocations: 80.91 kB / 402.4 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002265/0.3426, allocations: 1.395 MB / 403.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/0.3616, allocations: 9.91 MB / 413.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03832/0.4, allocations: 30.67 MB / 444.4 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/0.4123, allocations: 4.51 MB / 448.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.4125, allocations: 15.95 kB / 448.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.4126, allocations: 46.56 kB / 448.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 4.349e-06/0.4126, allocations: 0 / 448.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.04883/0.4614, allocations: 18.85 MB / 467.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00211/0.4635, allocations: 3.077 MB / 470.9 MB, free: 7.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004367/0.4679, allocations: 3.206 MB / 474.1 MB, free: 4.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006127/0.4686, allocations: 41.7 kB / 474.1 MB, free: 4.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.4699, allocations: 2.079 MB / 476.2 MB, free: 2.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007526/0.4706, allocations: 0.5688 MB / 476.8 MB, free: 1.902 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.4709, allocations: 96 kB / 476.8 MB, free: 1.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002718/0.4712, allocations: 0.5086 MB / 477.4 MB, free: 1.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003851/0.475, allocations: 2.645 MB / 480 MB, free: 14.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005498/0.4806, allocations: 5.575 MB / 485.6 MB, free: 7.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004995/0.4856, allocations: 3.7 MB / 489.3 MB, free: 3.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.065e-05/0.4856, allocations: 32.19 kB / 489.3 MB, free: 3.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.03227/0.5179, allocations: 11.93 MB / 0.4895 GB, free: 7.891 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.89e-05/0.518, allocations: 52 kB / 0.4895 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02341/0.5414, allocations: 7.196 MB / 0.4966 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02301/0.5645, allocations: 4.733 MB / 0.5012 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004749/0.5692, allocations: 1.232 MB / 0.5024 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/0.5861, allocations: 12.14 MB / 0.5142 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005635/0.5917, allocations: 0.577 MB / 0.5148 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009363/0.5927, allocations: 311.9 kB / 0.5151 GB, free: 13.06 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 (584): * Single equations (assignments): 569 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002453/0.5952, allocations: 1.418 MB / 0.5165 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000518/0.5957, allocations: 252.7 kB / 0.5167 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007706/0.5965, allocations: 419.3 kB / 0.5171 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01185/0.6083, allocations: 5.01 MB / 0.522 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-05/0.6084, allocations: 8 kB / 0.522 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/0.6084, allocations: 7.969 kB / 0.522 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00949/0.6179, allocations: 5.368 MB / 0.5273 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.6179, allocations: 4 kB / 0.5273 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/0.6197, allocations: 363.4 kB / 0.5276 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2116/0.8313, allocations: 2.386 MB / 0.53 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007663/0.8322, allocations: 43.39 kB / 0.53 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008991/0.8412, allocations: 9.007 MB / 0.5388 GB, free: 137.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001551/0.8427, allocations: 2.92 MB / 0.5416 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/0.8607, allocations: 8.845 MB / 0.5503 GB, free: 132.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.8618, allocations: 341.3 kB / 0.5506 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000501/0.8623, allocations: 36 kB / 0.5506 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/0.8646, allocations: 316.4 kB / 0.5509 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003871/0.865, allocations: 108.9 kB / 0.551 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/0.8651, allocations: 51.11 kB / 0.5511 GB, free: 132.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002996/0.8681, allocations: 2.04 MB / 0.5531 GB, free: 132.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8682, allocations: 0 / 0.5531 GB, free: 132.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004752/0.8729, allocations: 1.014 MB / 0.5541 GB, free: 132 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 (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005661/0.8735, allocations: 185.5 kB / 0.5543 GB, free: 131.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01115/0.8846, allocations: 7.334 MB / 0.5614 GB, free: 129.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.8847, allocations: 0 / 0.5614 GB, free: 129.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005604/0.8903, allocations: 3.629 MB / 0.565 GB, free: 126.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.8922, allocations: 287.1 kB / 0.5652 GB, free: 126 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.9034, allocations: 9.283 MB / 0.5743 GB, free: 117.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/0.9052, allocations: 2.345 MB / 0.5766 GB, free: 114.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003728/0.909, allocations: 1.669 MB / 0.5782 GB, free: 113.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007595/0.9097, allocations: 199.3 kB / 0.5784 GB, free: 113.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.9097, allocations: 0 / 0.5784 GB, free: 113.1 MB / 446.1 MB Notification: Performance of Templates: time 0.05205/0.9618, allocations: 43.68 MB / 0.6211 GB, free: 69.49 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","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches