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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 181.9 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009101/0.0009101, allocations: 103.9 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002267/0.0002267, allocations: 8 kB / 351.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2429, allocations: 50.41 MB / 401.5 MB, free: 32.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.348, allocations: 88.54 MB / 490 MB, free: 7.973 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.3483, allocations: 87.95 kB / 490.1 MB, free: 7.887 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3578/0.7061, allocations: 60.79 MB / 0.538 GB, free: 75.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.7061, allocations: 0 / 0.538 GB, free: 75.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.4e-05/0.7062, allocations: 44 kB / 0.538 GB, free: 75.17 MB / 378.7 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.01416/0.7204, allocations: 3.6 MB / 0.5416 GB, free: 71.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.7204, allocations: 11.97 kB / 0.5416 GB, free: 71.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.7311, allocations: 2.344 MB / 0.5439 GB, free: 69.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.7421, allocations: 4.594 MB / 0.5483 GB, free: 64.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.7423, allocations: 172.4 kB / 0.5485 GB, free: 64.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/0.7434, allocations: 231.8 kB / 0.5487 GB, free: 64.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.7594, allocations: 8.594 MB / 0.5571 GB, free: 54.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/0.7596, allocations: 51.53 kB / 0.5572 GB, free: 54.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003983/0.76, allocations: 119.9 kB / 0.5573 GB, free: 54.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008754/0.7609, allocations: 0.726 MB / 0.558 GB, free: 53.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01685/0.7777, allocations: 9.674 MB / 0.5674 GB, free: 44.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03287/0.8107, allocations: 37.79 MB / 0.6043 GB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.821, allocations: 4.029 MB / 0.6083 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.8212, allocations: 15.94 kB / 0.6083 GB, free: 0.832 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.8212, allocations: 55.52 kB / 0.6083 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 4.478e-06/0.8213, allocations: 0 / 0.6083 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of matching and sorting (n=136): time 0.04801/0.8693, allocations: 17.66 MB / 0.6256 GB, free: 14.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002519/0.8718, allocations: 3.074 MB / 0.6286 GB, free: 11.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00522/0.8771, allocations: 2.708 MB / 0.6312 GB, free: 8.645 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006729/0.8778, allocations: 41.7 kB / 0.6313 GB, free: 8.598 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.8795, allocations: 2.072 MB / 0.6333 GB, free: 6.496 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/0.8805, allocations: 0.567 MB / 0.6339 GB, free: 5.922 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.8808, allocations: 95.98 kB / 0.6339 GB, free: 5.828 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003317/0.8811, allocations: 0.5125 MB / 0.6344 GB, free: 5.309 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003964/0.8851, allocations: 2.398 MB / 0.6368 GB, free: 2.902 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005913/0.891, allocations: 5.288 MB / 0.642 GB, free: 12.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00549/0.8965, allocations: 3.441 MB / 0.6453 GB, free: 8.719 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-05/0.8966, allocations: 28 kB / 0.6453 GB, free: 8.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.02207/0.9187, allocations: 9.45 MB / 0.6546 GB, free: 15.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.469e-05/0.9188, allocations: 51.95 kB / 0.6546 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01191/0.9308, allocations: 4.67 MB / 0.6592 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009078/0.9399, allocations: 2.359 MB / 0.6615 GB, free: 8.062 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004637/0.9446, allocations: 1.162 MB / 0.6626 GB, free: 6.898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2555/1.2, allocations: 8.274 MB / 0.6707 GB, free: 123.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005369/1.206, allocations: 0.569 MB / 0.6713 GB, free: 123.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008567/1.206, allocations: 302.9 kB / 0.6715 GB, free: 123.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * 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 (578): * Single equations (assignments): 563 * 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.002183/1.209, allocations: 1.412 MB / 0.6729 GB, free: 123.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005279/1.209, allocations: 257.6 kB / 0.6732 GB, free: 123.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008318/1.21, allocations: 416 kB / 0.6736 GB, free: 123.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009849/1.22, allocations: 4.588 MB / 0.678 GB, free: 123.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.228e-05/1.22, allocations: 3.938 kB / 0.678 GB, free: 123.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/1.22, allocations: 7.359 kB / 0.6781 GB, free: 123.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008245/1.228, allocations: 5.342 MB / 0.6833 GB, free: 122.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.228, allocations: 3.938 kB / 0.6833 GB, free: 122.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/1.23, allocations: 283.5 kB / 0.6835 GB, free: 122.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007978/1.238, allocations: 2.361 MB / 0.6859 GB, free: 122.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004984/1.238, allocations: 47.75 kB / 0.6859 GB, free: 122.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007655/1.246, allocations: 9.014 MB / 0.6947 GB, free: 117.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001435/1.247, allocations: 2.906 MB / 0.6975 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01417/1.262, allocations: 8.133 MB / 0.7055 GB, free: 111.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009108/1.263, allocations: 336.8 kB / 0.7058 GB, free: 111.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005094/1.263, allocations: 34.81 kB / 0.7058 GB, free: 111.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/1.265, allocations: 272 kB / 0.7061 GB, free: 111.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003782/1.265, allocations: 104.3 kB / 0.7062 GB, free: 111.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/1.266, allocations: 44.02 kB / 0.7062 GB, free: 111.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002961/1.269, allocations: 1.904 MB / 0.7081 GB, free: 110.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.269, allocations: 0 / 0.7081 GB, free: 110.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004468/1.273, allocations: 0.9479 MB / 0.709 GB, free: 110.7 MB / 442.7 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.0004602/1.273, allocations: 175.5 kB / 0.7092 GB, free: 110.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009839/1.283, allocations: 6.812 MB / 0.7158 GB, free: 108.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.283, allocations: 0 / 0.7158 GB, free: 108.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004964/1.288, allocations: 3.406 MB / 0.7192 GB, free: 105.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/1.29, allocations: 281.5 kB / 0.7194 GB, free: 105.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/1.304, allocations: 9.519 MB / 0.7287 GB, free: 97.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/1.306, allocations: 2.353 MB / 0.731 GB, free: 95.51 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003942/1.31, allocations: 1.629 MB / 0.7326 GB, free: 94.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007208/1.31, allocations: 189.6 kB / 0.7328 GB, free: 94.29 MB / 442.7 MB Notification: Performance of SimCode: time 2.275e-06/1.31, allocations: 0 / 0.7328 GB, free: 94.29 MB / 442.7 MB Notification: Performance of Templates: time 0.04753/1.358, allocations: 36.08 MB / 0.768 GB, free: 59.33 MB / 442.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches