Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001369/0.001369, allocations: 106 kB / 18.36 MB, free: 4.605 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.001232/0.001232, allocations: 188.2 kB / 19.3 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 51.94 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08494/0.08617, allocations: 46.62 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.1996/0.2858, allocations: 6.991 MB / 382.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006143/0.292, allocations: 3.094 MB / 385.9 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009717/0.2931, allocations: 36.06 kB / 385.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.2947, allocations: 0.6675 MB / 386.6 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.2981, allocations: 1.388 MB / 388 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.2993, allocations: 0.4942 MB / 388.4 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004877/0.3042, allocations: 3.136 MB / 391.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000981/0.3052, allocations: 456.2 kB / 392 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.3067, allocations: 0.7995 MB / 392.8 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.3084, allocations: 1.214 MB / 394 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004063/0.3089, allocations: 130.7 kB / 394.2 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.3111, allocations: 0.9449 MB / 395.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001268/0.3124, allocations: 1.097 MB / 396.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.3137, allocations: 1.223 MB / 397.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005671/0.3194, allocations: 4.048 MB / 401.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3194, allocations: 0 / 401.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3194, allocations: 0 / 401.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001572/0.3196, allocations: 3.938 kB / 401.5 MB, free: 1.582 MB / 318.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.01006/0.3297, allocations: 3.218 MB / 404.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/0.3298, allocations: 9 kB / 404.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008989/0.3388, allocations: 1.883 MB / 406.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004528/0.3433, allocations: 1.75 MB / 408.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.3435, allocations: 119 kB / 408.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/0.3447, allocations: 301.8 kB / 408.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/0.3617, allocations: 8.226 MB / 417 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.779e-05/0.3618, allocations: 35.66 kB / 417 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002961/0.3621, allocations: 79.89 kB / 417.1 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002413/0.3646, allocations: 1.397 MB / 418.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01878/0.3834, allocations: 9.537 MB / 428 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03882/0.4222, allocations: 30.54 MB / 458.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/0.4349, allocations: 4.38 MB / 462.9 MB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00337/0.4383, allocations: 2.12 MB / 465.1 MB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-05/0.4385, allocations: 12 kB / 465.1 MB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.4385, allocations: 42.56 kB / 465.1 MB, free: 4.488 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.457e-06/0.4385, allocations: 0 / 465.1 MB, free: 4.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.05022/0.4887, allocations: 18.34 MB / 483.5 MB, free: 1.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002715/0.4915, allocations: 3.233 MB / 486.7 MB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006574/0.4981, allocations: 2.999 MB / 489.7 MB, free: 11.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001051/0.4992, allocations: 45.7 kB / 489.7 MB, free: 11.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002188/0.5014, allocations: 2.079 MB / 491.8 MB, free: 9.113 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001369/0.5028, allocations: 0.5671 MB / 492.4 MB, free: 8.539 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00251/0.5053, allocations: 1.015 MB / 493.4 MB, free: 7.512 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5054, allocations: 305.1 kB / 493.7 MB, free: 7.211 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004375/0.5098, allocations: 2.641 MB / 496.3 MB, free: 4.562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006723/0.5166, allocations: 5.581 MB / 0.4902 GB, free: 13.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/0.5298, allocations: 8.619 MB / 0.4986 GB, free: 3.422 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/0.53, allocations: 32 kB / 0.4986 GB, free: 3.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03537/0.5654, allocations: 11.79 MB / 0.5101 GB, free: 7.559 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.5656, allocations: 51.94 kB / 0.5102 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02395/0.5895, allocations: 7.005 MB / 0.517 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02286/0.6124, allocations: 4.546 MB / 0.5214 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00471/0.6172, allocations: 1.24 MB / 0.5227 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/0.6355, allocations: 12.55 MB / 0.5349 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006406/0.6419, allocations: 0.5771 MB / 0.5355 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001843/0.6438, allocations: 315.9 kB / 0.5358 GB, free: 12.66 MB / 478.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.004972/0.6488, allocations: 1.418 MB / 0.5372 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/0.6501, allocations: 252.7 kB / 0.5374 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.6517, allocations: 411.2 kB / 0.5378 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01315/0.6649, allocations: 5.018 MB / 0.5427 GB, free: 5.516 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.929e-05/0.665, allocations: 4 kB / 0.5427 GB, free: 5.512 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-05/0.665, allocations: 15.91 kB / 0.5427 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.6768, allocations: 5.339 MB / 0.5479 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/0.6769, allocations: 7.938 kB / 0.5479 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2136/0.8905, allocations: 364.8 kB / 0.5483 GB, free: 151.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00963/0.9002, allocations: 2.385 MB / 0.5506 GB, free: 151.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007298/0.901, allocations: 47.81 kB / 0.5507 GB, free: 151.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009785/0.9108, allocations: 9.444 MB / 0.5599 GB, free: 146 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001631/0.9125, allocations: 3.069 MB / 0.5629 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01861/0.9311, allocations: 8.778 MB / 0.5714 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009702/0.9321, allocations: 332.3 kB / 0.5718 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/0.9333, allocations: 31.8 kB / 0.5718 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002876/0.9362, allocations: 319.8 kB / 0.5721 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007373/0.9369, allocations: 105.8 kB / 0.5722 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003951/0.9373, allocations: 58.3 kB / 0.5723 GB, free: 140.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003579/0.9409, allocations: 1.88 MB / 0.5741 GB, free: 139.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.941, allocations: 3.875 kB / 0.5741 GB, free: 139.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005974/0.9469, allocations: 1.006 MB / 0.5751 GB, free: 139.8 MB / 478.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.0008776/0.9478, allocations: 169.7 kB / 0.5752 GB, free: 139.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01244/0.9603, allocations: 7.464 MB / 0.5825 GB, free: 136.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.9603, allocations: 0 / 0.5825 GB, free: 136.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006394/0.9667, allocations: 3.659 MB / 0.5861 GB, free: 135.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003776/0.9706, allocations: 313.7 kB / 0.5864 GB, free: 135.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.9841, allocations: 8.391 MB / 0.5946 GB, free: 127.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002743/0.9869, allocations: 2.293 MB / 0.5968 GB, free: 125.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/0.9886, allocations: 243.3 kB / 0.5971 GB, free: 125.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.473e-06/0.9887, allocations: 0 / 0.5971 GB, free: 125.2 MB / 478.1 MB Notification: Performance of Templates: time 0.3192/1.308, allocations: 145.3 MB / 0.739 GB, free: 162.5 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches